void-packages/srcpkgs/python-bcrypt/template
2021-10-09 08:00:29 -04:00

26 lines
837 B
Bash

# Template file for 'python-bcrypt'
pkgname=python-bcrypt
version=3.2.0
revision=2
wrksrc="bcrypt-${version}"
build_style=python-module
pycompile_module="bcrypt"
hostmakedepends="python-setuptools python3-setuptools python-cffi python3-cffi"
makedepends="python-devel python3-devel python-cffi python3-cffi"
depends="python-cffi python-six"
short_desc="Modern password hashing for software and servers (Python2)"
maintainer="Alessio Sergi <al3hex@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/pyca/bcrypt"
distfiles="${PYPI_SITE}/b/bcrypt/bcrypt-${version}.tar.gz"
checksum=5b93c1726e50a93a033c36e5ca7fdcd29a5c7395af50a6892f5d9e7c6cfbfb29
python3-bcrypt_package() {
pycompile_module="bcrypt"
depends="python3-cffi python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}