aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-pbr
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-pbr')
-rw-r--r--main/py-pbr/APKBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/main/py-pbr/APKBUILD b/main/py-pbr/APKBUILD
index 12453eab6d..cdbb088d7a 100644
--- a/main/py-pbr/APKBUILD
+++ b/main/py-pbr/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=py-pbr
_pkgname=pbr
-pkgver=2.0.0
+pkgver=2.1.0
pkgrel=0
pkgdesc="Python Build Reasonableness"
url="https://pypi.python.org/pypi/pbr"
@@ -14,10 +14,16 @@ subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
+check() {
+ cd "$builddir"
+ python2 setup.py check
+ python3 setup.py check
+}
+
build() {
cd "$builddir"
- python2 setup.py build || return 1
- python3 setup.py build || return 1
+ python2 setup.py build
+ python3 setup.py build
}
package() {
@@ -43,4 +49,4 @@ _py() {
$python setup.py install --prefix=/usr --root="$subpkgdir"
}
-sha512sums="39540f54de674d4e50d6e9239328c0ac11ae6218a1483b023ab282efb797fc143d22334f60697ba81e2309c525860525ed0ce4858d66b187d2581fab9fae6b7d pbr-2.0.0.tar.gz"
+sha512sums="a4a7b1c96545bd25f63a439608f22bc04309c518f78f0044d18f10ce7c9ceeca3da97be527f0330c65d875900a3729dea99dade95787fb2ea75c3ae387b36938 pbr-2.1.0.tar.gz"