summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-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"