~dricottone/huttese-apk

ref: d98b3b34688f9a6457427c93aac496f60c0a05e1 huttese-apk/sr.ht/py3-passlib/APKBUILD -rw-r--r-- 679 bytes
d98b3b34 — Drew DeVault Move into subdir for abuild reasons 6 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=1
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"