diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py3-argon2-cffi/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py3-argon2-cffi/APKBUILD b/testing/py3-argon2-cffi/APKBUILD new file mode 100644 index 0000000000..6999ad3040 --- /dev/null +++ b/testing/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" |