mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
community/py3-docopt: add checkdepends, run test suite
Signed-off-by: prspkt <prspkt@protonmail.com>
This commit is contained in:
parent
8165853636
commit
5c033f96df
@ -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"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user