aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/py3-tappy/APKBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/main/py3-tappy/APKBUILD b/main/py3-tappy/APKBUILD
index 838eb79ad2..2d8250861a 100644
--- a/main/py3-tappy/APKBUILD
+++ b/main/py3-tappy/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=py3-tappy
_pkgname=tap.py
-pkgver=2.6.2
+pkgver=3.0
pkgrel=0
pkgdesc="Python3 Test Anything Protocol (TAP) tools"
url="https://github.com/python-tap/tappy"
@@ -10,22 +10,21 @@ license="BSD-2-Clause"
depends="python3"
makedepends="py3-setuptools py3-babel"
source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/t/tap.py/tap.py-$pkgver.tar.gz"
-options="!check" # no test suite
builddir="$srcdir/tap.py-$pkgver"
replaces="py-tappy" # Backwards compatibility
provides="py-tappy=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$builddir"
python3 setup.py build
}
+check() {
+ python3 -m tap
+}
+
package() {
- cd "$builddir"
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
-
-
-sha512sums="2cd0b1b69f155970cf2367766cca96bc8391e074edc754531f0511c3dd027a0a8e95bb8481b627b2610ec9b5f685ebff95f07f5f97eb31c321d96590286be803 py3-tappy-2.6.2.tar.gz"
+sha512sums="58b0928dd28ba525d9bb5edfab5606cb67af15e75a5f03d2648280d30377e2aa23b314ed41dba3b09b7dfa1aefead53674df43b6087e552b9aa937472838e7db py3-tappy-3.0.tar.gz"