1 # Maintainer: Felix Yan <felixonmars@archlinux.org>
2 # Contributor: Lex Black <autumn-wind at web dot de>
3 # Contributor: Igor Nemilentsev <trezorg@gmail.com>
4 # Contributor: Alexander Diana <alexander@rouk.org>
9 pkgdesc="Modern password hashing for your software and your servers"
11 url="https://github.com/pyca/bcrypt"
14 makedepends=('python-setuptools-rust')
15 checkdepends=('python-pytest')
16 source=("$pkgname-$pkgver.tar.gz::https://github.com/pyca/bcrypt/archive/$pkgver.tar.gz")
17 sha512sums=('eb7b1d67a2d60e82e2d2e4dcb12d7808be910f9b7aefab714a22dedbffc3722182875fdcf3c8c650c0bb7c1122e9e8bead92f18bc660043b017a14957467e2a9')
26 PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-311" pytest
31 python setup.py install --prefix=/usr --root="$pkgdir"