mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-16 04:35:13 +03:00
39 lines
1.2 KiB
Text
39 lines
1.2 KiB
Text
# Contributor: Michał Polański <michal@polanski.me>
|
|
# Maintainer: Michał Polański <michal@polanski.me>
|
|
pkgname=py3-passlib
|
|
pkgver=1.7.4
|
|
pkgrel=7
|
|
pkgdesc="Password hashing library supporting over 30 schemes"
|
|
url="https://foss.heptapod.net/python-libs/passlib/wikis/home"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3"
|
|
makedepends="py3-setuptools py3-gpep517 py3-wheel"
|
|
checkdepends="py3-nose2 py3-scrypt"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/p/passlib/passlib-$pkgver.tar.gz
|
|
bcrypt.patch
|
|
"
|
|
builddir="$srcdir"/passlib-$pkgver
|
|
|
|
replaces="py-passlib" # Backwards compatibility
|
|
provides="py-passlib=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
check() {
|
|
PASSLIB_TEST_MODE=quick nose2 passlib.tests
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" .dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
350bd6da5ac57e6c266ffe8bf9684c8c2cce3fc6b513eb6c7bc1b302d2d8a1b701e9c01c953782520a2ac37b7ec1f6d7bd5855f99f6ee0e2dbbf33f2d49a9530 passlib-1.7.4.tar.gz
|
|
ce9adb6484ab10adc676a76497692e0d20367b13aa5074675c847432e1ea69955e556e81c49486594011cfc90eff5da8515a3d40d6333edbbac4f5d3d5cbfe8e bcrypt.patch
|
|
"
|