summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-17 14:49:38 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-07-17 14:49:38 +0000
commitff27405c5d83ab69a1913b3f35d030627ad5aab9 (patch)
tree0f6f500bca7bf78da5cbcc53140435e5a667f0db
parent369a2f6efbd02498aed3681a3c07fd4a2f515a45 (diff)
downloadpackages-ff27405c5d83ab69a1913b3f35d030627ad5aab9.tar.gz
packages-ff27405c5d83ab69a1913b3f35d030627ad5aab9.tar.bz2
packages-ff27405c5d83ab69a1913b3f35d030627ad5aab9.tar.xz
packages-ff27405c5d83ab69a1913b3f35d030627ad5aab9.zip
user/py3-transitions: new package
-rw-r--r--user/py3-transitions/APKBUILD31
1 files changed, 31 insertions, 0 deletions
diff --git a/user/py3-transitions/APKBUILD b/user/py3-transitions/APKBUILD
new file mode 100644
index 000000000..8d9005f3e
--- /dev/null
+++ b/user/py3-transitions/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=py3-transitions
+_pkgname=${pkgname#py3-}
+pkgver=0.6.9
+pkgrel=0
+pkgdesc="Python state machine library"
+url="https://pypi.org/project/passlib/"
+arch="noarch"
+options="!check" # requires nose, pygraphviz
+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="0cef11d547ae631afcb3dad557ab81b425f825028639787337f700f19073d7cb4c69ba9b6284155b3be85fb3eac4c4abd5b0cf3104dff8d2098c219729de4352 transitions-0.6.9.tar.gz"