summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-17 14:22:58 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-17 14:22:58 +0000
commit939dfb0e51b44595fda04b94ead447f24b5cc881 (patch)
treed363017d8509b46328c2cb622ba67beb33b5f06b
parentb4a06f1714a07fdf0c57f33526837c2058bfa196 (diff)
downloadpackages-939dfb0e51b44595fda04b94ead447f24b5cc881.tar.gz
packages-939dfb0e51b44595fda04b94ead447f24b5cc881.tar.bz2
packages-939dfb0e51b44595fda04b94ead447f24b5cc881.tar.xz
packages-939dfb0e51b44595fda04b94ead447f24b5cc881.zip
user/py3-docopt: new package
-rw-r--r--user/py3-docopt/APKBUILD30
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..5d10f584a
--- /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="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"