summaryrefslogblamecommitdiff
path: root/user/py3-docopt/APKBUILD
blob: 5d10f584a96ab05a3a6878b3314fca2d363ab9c9 (plain) (tree)





























                                                                                                                                                                  
# 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="BSD-3-Clause"
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"