~dricottone/huttese-apk

ref: 180c3dcb51dba0fa60a19c65df94658120d320f3 huttese-apk/sr.ht/py3-passlib/APKBUILD -rw-r--r-- 679 bytes
180c3dcb — Drew DeVault Add some additioanl verbosity to pkgkit 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Drew DeVault <sir@cmpwn.com>
_name=passlib
pkgname=py3-passlib
pkgver=1.7.1
pkgrel=0
pkgdesc="A password hashing library for Python"
url="https://code.google.com/p/passlib/"
arch="noarch"
license="BSD"
depends="python3"
makedepends="py-setuptools"
source="https://pypi.io/packages/source/p/passlib/passlib-$pkgver.tar.gz"
builddir="$srcdir/${_name}-${pkgver}"

check() {
	cd "$builddir"
	python3 setup.py check
}

package() {
	cd "$builddir"
	python3 setup.py install --root="$pkgdir" --optimize=1
}

sha512sums="3d5f069cd4e44e5e87cdabc46845acbdd6c1eeedb7ce1f611aebee87b0f7af19009b6a47a10ec555fd84260b9f5c933c6429e325d30326de3869f05031674168  passlib-1.7.1.tar.gz"