# Contributor: Francesco Colista # Maintainer: Francesco Colista pkgname=py3-bcrypt _pkgname=bcrypt pkgver=3.1.7 pkgrel=2 pkgdesc="Modern password hashing for your software and your servers" url="https://github.com/pyca/bcrypt" arch="all" license="Apache-2.0" makedepends="python3-dev py3-setuptools libffi-dev" source="$pkgname-$pkgver.tar.gz::https://github.com/pyca/$_pkgname/archive/$pkgver.tar.gz" builddir="$srcdir/$_pkgname-$pkgver" replaces="py-bcrypt" # Backwards compatibility provides="py-bcrypt=$pkgver-r$pkgrel" # Backwards compatibility check() { cd "$builddir" python3 setup.py check } build() { cd "$builddir" python3 setup.py build } package() { cd "$builddir" python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="bfe487ac43aa5081a16c7f67787c2aec777a9c42f3f0f64d4dd238e6cf135e248e806a675ecdc5240066e2b5a31773f9c5dd939479e96ec25357e27bced01409 py3-bcrypt-3.1.7.tar.gz"