void-packages/srcpkgs/python-passlib/template
2018-05-20 20:37:12 +02:00

31 lines
808 B
Bash

# Template file for 'python-passlib'
pkgname=python-passlib
version=1.7.1
revision=2
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-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() {
noarch=yes
pycompile_module="passlib"
depends="python3"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}