contrib/python3-bcrypt/Pkgfile

16 lines
582 B
Plaintext
Raw Permalink Normal View History

# Description: Modern password hashing for your software and your servers
# URL: https://pypi.org/project/bcrypt/
# Maintainer: Matt Housh, jaeger at crux dot ninja
# Depends on: python3-six python3-cffi python3-setuptools-rust
name=python3-bcrypt
version=4.2.0
release=1
2020-12-31 13:31:06 +01:00
source=(https://pypi.python.org/packages/source/b/bcrypt/bcrypt-$version.tar.gz)
build() {
cd bcrypt-$version
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
PIP_CONFIG_FILE=/dev/null /usr/bin/pip3 install --isolated --root=$PKG --ignore-installed --no-deps dist/*.whl
}