diff options
Diffstat (limited to 'user/py3-docopt')
-rw-r--r-- | user/py3-docopt/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/user/py3-docopt/APKBUILD b/user/py3-docopt/APKBUILD new file mode 100644 index 000000000..b0bdf48a7 --- /dev/null +++ b/user/py3-docopt/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=py3-docopt +_pkgname=${pkgname#py3-} +pkgver=0.6.2 +pkgrel=0 +pkgdesc="Expressive Python argument parsing library" +url="https://pypi.org/project/docopt/" +arch="noarch" +license="MIT" +depends="python3" +makedepends="python3-dev" +subpackages="" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + mkdir -p "$pkgdir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="af138feccf8c37b374ee44fcda4938a88107d434df13c173214021b1a3348b152a595095a86982b66ac03a11db8e0f1e9e6a3a65c98deea92330311daeb831a3 docopt-0.6.2.tar.gz" |