aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-argon2-cffi/APKBUILD
diff options
context:
space:
mode:
authorRasmus Thomsen <oss@cogitri.dev>2019-09-23 01:09:28 +0200
committerRasmus Thomsen <oss@cogitri.dev>2019-09-23 01:29:46 +0200
commit52eb830085eaa077e42ce347781520652bc76f9b (patch)
tree7b6dfd075ecc73abe7557cec8c4779514e3ba46e /community/py3-argon2-cffi/APKBUILD
parent049599e43d5f10b219ae4055ac12023cee4369d7 (diff)
downloadaports-52eb830085eaa077e42ce347781520652bc76f9b.tar.bz2
aports-52eb830085eaa077e42ce347781520652bc76f9b.tar.xz
community/py3-argon2-cffi: move from testing
Diffstat (limited to 'community/py3-argon2-cffi/APKBUILD')
-rw-r--r--community/py3-argon2-cffi/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/py3-argon2-cffi/APKBUILD b/community/py3-argon2-cffi/APKBUILD
new file mode 100644
index 0000000000..6999ad3040
--- /dev/null
+++ b/community/py3-argon2-cffi/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Rasmus Thomsen <oss@cogitri.dev>
+# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
+pkgname=py3-argon2-cffi
+pkgver=19.1.0
+pkgrel=0
+pkgdesc="The secure Argon2 password hashing algorithm"
+url="The secure Argon2 password hashing algorithm"
+arch="all"
+license="MIT"
+depends="python3"
+makedepends="argon2-dev python3-dev py3-setuptools libffi-dev"
+checkdepends="py3-pytest py3-hypothesis"
+source="https://pypi.io/packages/source/a/argon2_cffi/argon2_cffi-$pkgver.tar.gz"
+builddir="$srcdir/argon2_cffi-$pkgver"
+
+build() {
+ python3 setup.py build
+}
+
+check() {
+ python3 setup.py test
+}
+
+package() {
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
+}
+
+sha512sums="9bc10f0dfbb199e0ae0c9bd6a7c9183a5b0b108966d89bacf8ee744a926d400bccc14869b889a2482be4a5c48bd7ed0464cf316ecad74b758a5493beed7d466c argon2_cffi-19.1.0.tar.gz"