aboutsummaryrefslogtreecommitdiffstats
path: root/community/pytest
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-11-20 09:58:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-11-20 11:29:20 +0000
commitd25f3dea63e76dee533912410418df6306208bb9 (patch)
treec0fd85fb596ac1f38b3a292deffc64ccbd766f14 /community/pytest
parent8e151907372217e1193092308e78558507fc0309 (diff)
downloadaports-d25f3dea63e76dee533912410418df6306208bb9.tar.bz2
aports-d25f3dea63e76dee533912410418df6306208bb9.tar.xz
community/pytest: upgrade to 3.2.5
Diffstat (limited to 'community/pytest')
-rw-r--r--community/pytest/APKBUILD18
1 files changed, 12 insertions, 6 deletions
diff --git a/community/pytest/APKBUILD b/community/pytest/APKBUILD
index af1f727376..c11b40fc4d 100644
--- a/community/pytest/APKBUILD
+++ b/community/pytest/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=pytest
-pkgver=3.2.2
+pkgver=3.2.5
pkgrel=0
pkgdesc="A python test library"
url="http://pytest.org"
@@ -15,15 +15,21 @@ builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
- python2 setup.py build || return 1
- python3 setup.py build || return 1
+ python2 setup.py build
+ python3 setup.py build
+}
+
+check() {
+ cd "$builddir"
+ python2 setup.py check
+ python3 setup.py check
}
package() {
mkdir -p "$pkgdir"/usr/bin
local name; for name in py.test pytest; do
- ln -s $name-3 "$pkgdir"/usr/bin/$name || return 1
+ ln -s $name-3 "$pkgdir"/usr/bin/$name
done
}
@@ -50,8 +56,8 @@ _py() {
# Add version suffix to executable files.
local path; for path in "$subpkgdir"/usr/bin/*; do
- mv "$path" "$path-$pyver" || return 1
+ mv "$path" "$path-$pyver"
done
}
-sha512sums="6df3a50e7d1efeaf7a283920b16d1daf800798f422bc851b0aacd2bbd5cb0a88c95f9057fae49943b9dfe6527ed552cdf8d983b944ab91d0af252ee4f6eb82db pytest-3.2.2.tar.gz"
+sha512sums="37fb9a3b13a517062e0e37f0988cb5cc9b7b9834ccf1c21b1f2ace25ccd977668f27011d5b5b0fdbf5a23135c29054957f36baff643d797250d55ac267a578a3 pytest-3.2.5.tar.gz"