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

29 lines
773 B
Bash

# Template file for 'python-pbkdf2'
pkgname=python-pbkdf2
version=1.3
revision=4
archs=noarch
wrksrc="pbkdf2-${version}"
build_style=python-module
pycompile_module="pbkdf2"
hostmakedepends="python-setuptools python3-setuptools"
short_desc="Password-based key derivation function PBKDF2 (Python2)"
maintainer="Charles E. Lehner <cel@celehner.com>"
homepage="http://www.dlitz.net/software/python-pbkdf2/"
license="MIT"
distfiles="${PYPI_SITE}/p/pbkdf2/pbkdf2-${version}.tar.gz"
checksum=ac6397369f128212c43064a2b4878038dab78dab41875364554aaf2a684e6979
post_install() {
vlicense README.txt
}
python3-pbkdf2_package() {
archs=noarch
pycompile_module="pbkdf2"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense README.txt
}
}