From 76bb81a09219b166e955b5e510029e2a76d331f9 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Wed, 14 Jun 2017 03:24:24 +0200 Subject: [PATCH] New package: python-bcrypt-3.1.3 --- srcpkgs/python-bcrypt/template | 25 +++++++++++++++++++++++++ srcpkgs/python3-bcrypt | 1 + 2 files changed, 26 insertions(+) create mode 100644 srcpkgs/python-bcrypt/template create mode 120000 srcpkgs/python3-bcrypt diff --git a/srcpkgs/python-bcrypt/template b/srcpkgs/python-bcrypt/template new file mode 100644 index 00000000000..13018240530 --- /dev/null +++ b/srcpkgs/python-bcrypt/template @@ -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 " +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* + } +} diff --git a/srcpkgs/python3-bcrypt b/srcpkgs/python3-bcrypt new file mode 120000 index 00000000000..37f57fe961e --- /dev/null +++ b/srcpkgs/python3-bcrypt @@ -0,0 +1 @@ +python-bcrypt \ No newline at end of file