# Contributor: # Maintainer: pkgname=py3-passlib _pkgname=passlib pkgver=1.7.1 pkgrel=4 pkgdesc="A python hashing library for over 30 schemes" url="https://pypi.python.org/pypi/passlib" arch="noarch" license="BSD-2-Clause" depends="python3" makedepends="py3-setuptools" checkdepends="py3-nose" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz skip-bsdi_crypt-test.patch 0001-Remove-time-clock.patch 0002-Fix-for-Python-3-8.patch " builddir="$srcdir"/passlib-$pkgver replaces="py-passlib" # Backwards compatibility provides="py-passlib=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } check() { nosetests --tests passlib.tests } sha512sums="3d5f069cd4e44e5e87cdabc46845acbdd6c1eeedb7ce1f611aebee87b0f7af19009b6a47a10ec555fd84260b9f5c933c6429e325d30326de3869f05031674168 passlib-1.7.1.tar.gz cdf085a94be88140dff421128bbeb9f4c05d13ae8c14ad80e7ab6d9edf2be19b0ad010eb18a5eccd3eefa679c4f634c6f98753571df72a1fc387343331fa8bae skip-bsdi_crypt-test.patch 9d3822127f85f09585c84a92c12de4167270645dfde9df5e75722978b2df968e4bc64fc0041a3d660741e9ee261204e123ad0b53aeb622359ae31358944273e6 0001-Remove-time-clock.patch 2ee5a51556081af9b8028cef22ac9019b72a661ea21fb638f8708dbc8463589f990feff1b9e386cf17ed7c36a84b127b94e5b862e5cd6fcc31a909aabe9489f7 0002-Fix-for-Python-3-8.patch"