void-packages/srcpkgs/python-passlib/template
Alin Dobre 011ad9c929
New package: python-passlib-1.7.1
Signed-off-by: Alin Dobre <alin.dobre@outlook.com>
Closes: #12425 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-07 02:09:23 +02:00

30 lines
762 B
Bash

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 <alin.dobre@outlook.com>"
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
}
}