From 011ad9c929740724027f30140b78d2eb8f890fee Mon Sep 17 00:00:00 2001 From: Alin Dobre Date: Mon, 12 Mar 2018 15:41:40 +0000 Subject: [PATCH] New package: python-passlib-1.7.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Alin Dobre Closes: #12425 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller --- srcpkgs/python-passlib/template | 30 ++++++++++++++++++++++++++++++ srcpkgs/python3-passlib | 1 + 2 files changed, 31 insertions(+) create mode 100644 srcpkgs/python-passlib/template create mode 120000 srcpkgs/python3-passlib diff --git a/srcpkgs/python-passlib/template b/srcpkgs/python-passlib/template new file mode 100644 index 00000000000..0eae0449898 --- /dev/null +++ b/srcpkgs/python-passlib/template @@ -0,0 +1,30 @@ +pkgname=python-passlib +version=1.7.1 +revision=1 +noarch=yes +wrksrc="passlib-${version}" +build_style=python-module +pycompile_module="passlib" +hostmakedepends="python-setuptools python3-setuptools" +depends="python" +short_desc="Comprehensive password hashing framework for Python2" +maintainer="Alin Dobre " +license="BSD" +homepage="https://bitbucket.org/ecollins/passlib" +distfiles="${PYPI_SITE}/p/passlib/passlib-${version}.tar.gz" +checksum=3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0 + +post_install() { + vlicense LICENSE +} + +python3-passlib_package() { + noarch=yes + pycompile_module="passlib" + depends="python3" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense LICENSE + } +} diff --git a/srcpkgs/python3-passlib b/srcpkgs/python3-passlib new file mode 120000 index 00000000000..f608bfa2cb5 --- /dev/null +++ b/srcpkgs/python3-passlib @@ -0,0 +1 @@ +python-passlib \ No newline at end of file