aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-docopt/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/py3-docopt/APKBUILD')
-rw-r--r--community/py3-docopt/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/community/py3-docopt/APKBUILD b/community/py3-docopt/APKBUILD
index 61c5f0beab..58ea8b18cd 100644
--- a/community/py3-docopt/APKBUILD
+++ b/community/py3-docopt/APKBUILD
@@ -3,13 +3,14 @@
pkgname=py3-docopt
_pkgname=docopt
pkgver=0.6.2
-pkgrel=3
+pkgrel=4
pkgdesc="A Python argument parser"
-url="http://docopt.org/"
+url="https://github.com/docopt/docopt"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
+checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
@@ -20,6 +21,10 @@ build() {
python3 setup.py build
}
+check() {
+ py.test-3 -v
+}
+
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}