void-packages/srcpkgs/python-passlib/template
2019-12-23 18:05:20 +01:00

31 lines
812 B
Bash

# Template file for 'python-passlib'
pkgname=python-passlib
version=1.7.1
revision=3
archs=noarch
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-3-Clause"
homepage="https://bitbucket.org/ecollins/passlib"
distfiles="${PYPI_SITE}/p/passlib/passlib-${version}.tar.gz"
checksum=3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0
post_install() {
vlicense LICENSE
}
python3-passlib_package() {
archs=noarch
pycompile_module="passlib"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}