# Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=py3-passlib _pkgname=${pkgname#py3-} _p="${_pkgname#?}" _p="${_pkgname%"$_p"}" pkgver=1.7.2 pkgrel=0 pkgdesc="Python password hashing framework" url="https://pypi.org/project/passlib/" arch="noarch" options="!check" # needs nose license="BSD-3-Clause" depends="python3" checkdepends="py3-nose" makedepends="python3-dev" subpackages="" source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" build() { python3 setup.py build } check() { python3 setup.py test } package() { mkdir -p "$pkgdir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="1ea0654b177b5ab2e1a7e5c3949642c34805ace6e4e4a0f82fafdb3f374edd99c667906ce598c335b668da049860648d5cbebb3e62d775898d5b0cb8cfc7bf53 passlib-1.7.2.tar.gz"