New package: python-bcrypt-3.1.3

This commit is contained in:
Alessio Sergi 2017-06-14 03:24:24 +02:00
parent defb00a2e0
commit 76bb81a092
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# Template file for 'python-bcrypt'
pkgname=python-bcrypt
version=3.1.3
revision=1
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>"
homepage="https://github.com/pyca/bcrypt/"
license="Apache-2.0"
distfiles="${PYPI_SITE}/b/bcrypt/bcrypt-${version}.tar.gz"
checksum=6645c8d0ad845308de3eb9be98b6fd22a46ec5412bfc664a423e411cdd8f5488
python3-bcrypt_package() {
pycompile_module="bcrypt"
depends="python3-cffi python3-six"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
}
}

1
srcpkgs/python3-bcrypt Symbolic link
View File

@ -0,0 +1 @@
python-bcrypt