void-packages/srcpkgs/python-passlib/template

31 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
}
}