initial import
This commit is contained in:
26
python-passlib/PKGBUILD
Normal file
26
python-passlib/PKGBUILD
Normal file
@@ -0,0 +1,26 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=python-passlib
|
||||
pkgver=1.7.4
|
||||
pkgrel=2
|
||||
pkgdesc="A password hashing library for Python"
|
||||
arch=('any')
|
||||
url='https://passlib.readthedocs.io/en/stable'
|
||||
license=('Modified-BSD')
|
||||
depends=('python')
|
||||
optdepends=('python-bcrypt: accelerate Bcrypt hashes'
|
||||
'python-scrypt: accelerate SCrypt hashes')
|
||||
makedepends=('python-setuptools')
|
||||
source=("https://pypi.io/packages/source/p/passlib/passlib-$pkgver.tar.gz")
|
||||
sha512sums=('350bd6da5ac57e6c266ffe8bf9684c8c2cce3fc6b513eb6c7bc1b302d2d8a1b701e9c01c953782520a2ac37b7ec1f6d7bd5855f99f6ee0e2dbbf33f2d49a9530')
|
||||
|
||||
build() {
|
||||
cd passlib-$pkgver
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd passlib-$pkgver
|
||||
python setup.py install -O1 --root="$pkgdir"
|
||||
install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
|
||||
}
|
||||
Reference in New Issue
Block a user