diff options
| author | J0WI <J0WI@users.noreply.github.com> | 2020-04-04 16:50:57 +0200 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-05-06 14:14:31 +0000 |
| commit | baa708f213b7bf931e2ed7328a168097880d9d22 (patch) | |
| tree | e73211e491ac2fd71593fbe2343a9b0053f2da18 /testing/gingerbase/APKBUILD | |
| parent | 793a8b78ad5b8514cbe3dad99ab0d9f32ea27c29 (diff) | |
| download | aports-baa708f213b7bf931e2ed7328a168097880d9d22.tar.bz2 aports-baa708f213b7bf931e2ed7328a168097880d9d22.tar.xz | |
testing/gingerbase: rebuild with Python 3
Diffstat (limited to 'testing/gingerbase/APKBUILD')
| -rw-r--r-- | testing/gingerbase/APKBUILD | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/testing/gingerbase/APKBUILD b/testing/gingerbase/APKBUILD index 6d9fd7f378..f871ecfdaa 100644 --- a/testing/gingerbase/APKBUILD +++ b/testing/gingerbase/APKBUILD @@ -2,21 +2,19 @@ # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=gingerbase pkgver=2.3.0 -pkgrel=1 +pkgrel=2 pkgdesc="Gingerbase: basic host management for WoK" url="https://kimchi-project.github.io/gingerbase/" arch="noarch !mips !mips64" # blocked by wok license="AGPL-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/gingerbase/archive/$pkgver.tar.gz" build() { - cd "$builddir" sh ./autogen.sh --system ./configure \ --prefix=/usr \ @@ -27,9 +25,12 @@ build() { make } +check() { + make check +} + package() { - cd "$builddir" - make -j1 DESTDIR="$pkgdir" install + make DESTDIR="$pkgdir" install } sha512sums="90167f677a341d687a426fd4938aecdcba2a36cd109d7e0f81b55a74b077f00253decd015d65a5ffbd075a320015153ddf70bfcbdbf85ff79c0895ba189437de gingerbase-2.3.0.tar.gz" |
