From de5fa6531b3b6b4775bc0edb262defc4ea4596a0 Mon Sep 17 00:00:00 2001 From: Leo Date: Thu, 2 May 2019 03:30:13 -0300 Subject: testing/py3-pbkdf2: new aport --- testing/py3-pbkdf2/APKBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 testing/py3-pbkdf2/APKBUILD diff --git a/testing/py3-pbkdf2/APKBUILD b/testing/py3-pbkdf2/APKBUILD new file mode 100644 index 0000000000..49f4180828 --- /dev/null +++ b/testing/py3-pbkdf2/APKBUILD @@ -0,0 +1,27 @@ +# Contributor: Leo +# Maintainer: Leo +pkgname=py3-pbkdf2 +_pkgname=python-pbkdf2 +pkgver=1.3 +pkgrel=0 +pkgdesc="Password-based key derivation function" +url="http://www.dlitz.net/software/python-pbkdf2" +arch="noarch" +license="MIT" +depends="python3" +makedepends="py3-setuptools" +source="$pkgname-$pkgver.tar.gz::https://github.com/dlitz/${_pkgname}/archive/v${pkgver}.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + python3 setup.py build +} + +check() { + python3 setup.py test +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} +sha512sums="642372615a2ffc9cf352805789f836c42763c49cbf113d64524a55c6ff8a09f0fda36c92713387f27c2f6a2950ce89ae04dc9f92495cba904400685b148f947e py3-pbkdf2-1.3.tar.gz" -- cgit v1.2.3