diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-07-01 22:34:49 +0000 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-07-28 01:03:55 +0200 |
commit | 7886e11530e87107036cd16c1c50a6e34fa84d03 (patch) | |
tree | cb01edc5cea37eec972afa419b006c9875669ba4 | |
parent | 39fa2903c59286662f65c9e0daa48365db90490d (diff) | |
download | aports-7886e11530e87107036cd16c1c50a6e34fa84d03.tar.bz2 aports-7886e11530e87107036cd16c1c50a6e34fa84d03.tar.xz |
main/libcap-ng: use Python 3 to build; add test suite
-rw-r--r-- | main/libcap-ng/APKBUILD | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/main/libcap-ng/APKBUILD b/main/libcap-ng/APKBUILD index d66dca4236..5cc77db5a2 100644 --- a/main/libcap-ng/APKBUILD +++ b/main/libcap-ng/APKBUILD @@ -1,14 +1,15 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=libcap-ng pkgver=0.7.8 -pkgrel=0 +pkgrel=1 pkgdesc="posix capabilities library" url="http://people.redhat.com/sgrubb/libcap-ng/index.html" arch="all" license="GPL" depends= depends_dev="linux-headers" -makedepends="python2 $depends_dev" +makedepends="python3 $depends_dev" +makedepends_host="$depends_dev" install= subpackages="$pkgname-dev $pkgname-doc $pkgname-utils" source="http://people.redhat.com/sgrubb/libcap-ng/libcap-ng-$pkgver.tar.gz @@ -34,9 +35,13 @@ build() { --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || return 1 - make || return 1 + --infodir=/usr/share/info + make +} + +check() { + cd "$_builddir" + make check } package() { |