~dricottone/huttese-apk

ref: aafb5dd24e70fd10818f1f25dfc0cc07ecea9191 huttese-apk/sr.ht/py3-passlib/APKBUILD -rw-r--r-- 679 bytes
aafb5dd2 — Drew DeVault Add py-cairosvg 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"