diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-07-17 14:49:38 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2019-07-17 14:49:38 +0000 |
commit | ff27405c5d83ab69a1913b3f35d030627ad5aab9 (patch) | |
tree | 0f6f500bca7bf78da5cbcc53140435e5a667f0db /user | |
parent | 369a2f6efbd02498aed3681a3c07fd4a2f515a45 (diff) | |
download | packages-ff27405c5d83ab69a1913b3f35d030627ad5aab9.tar.gz packages-ff27405c5d83ab69a1913b3f35d030627ad5aab9.tar.bz2 packages-ff27405c5d83ab69a1913b3f35d030627ad5aab9.tar.xz packages-ff27405c5d83ab69a1913b3f35d030627ad5aab9.zip |
user/py3-transitions: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/py3-transitions/APKBUILD | 31 |
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" |