diff options
| author | J0WI <J0WI@users.noreply.github.com> | 2020-04-04 16:50:35 +0200 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-05-06 14:14:31 +0000 |
| commit | 793a8b78ad5b8514cbe3dad99ab0d9f32ea27c29 (patch) | |
| tree | 1a9555b2497e6c5a5e53c0f848c066bcb6d79776 /testing/ginger | |
| parent | b5b1818d9de2a6922ffc1b5a6c41287f3fda0fe1 (diff) | |
| download | aports-793a8b78ad5b8514cbe3dad99ab0d9f32ea27c29.tar.bz2 aports-793a8b78ad5b8514cbe3dad99ab0d9f32ea27c29.tar.xz | |
testing/ginger: rebuild with Python 3
Diffstat (limited to 'testing/ginger')
| -rw-r--r-- | testing/ginger/APKBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/testing/ginger/APKBUILD b/testing/ginger/APKBUILD index 477ced45e7..12c5830909 100644 --- a/testing/ginger/APKBUILD +++ b/testing/ginger/APKBUILD @@ -2,21 +2,19 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=ginger pkgver=2.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="WoK plugin for host management" url="https://kimchi-project.github.io/ginger" -arch="" +arch="noarch" license="Apache LGPL-2.1" -depends="py2-configobj py2-pyparted wok" +depends="py3-configobj py3-pyparted wok" makedepends="automake autoconf libtool - python2-dev gettext-dev pyflakes libxslt" -options="!check" + python3-dev gettext-dev py3-pyflakes libxslt" +options="!check" # depends on unit2 subpackages="$pkgname-lang" -source="$pkgname-$pkgver.tar.gz::https://github.com/kimchi-project/$pkgname/archive/$pkgver.tar.gz" -builddir="$srcdir/$pkgname-$pkgver" +source="$pkgname-$pkgver.tar.gz::https://github.com/kimchi-project/ginger/archive/$pkgver.tar.gz" build() { - cd "$builddir" sh ./autogen.sh --system ./configure \ --prefix=/usr \ @@ -26,8 +24,11 @@ build() { make } +check() { + make check +} + package() { - cd "$builddir" make DESTDIR="$pkgdir" install } |
