python-pbkdf2: add python3 module
This commit is contained in:
parent
b54d3e22e7
commit
e5503a825e
|
@ -1,12 +1,12 @@
|
||||||
# Template file for 'python-pbkdf2'
|
# Template file for 'python-pbkdf2'
|
||||||
pkgname=python-pbkdf2
|
pkgname=python-pbkdf2
|
||||||
version=1.3
|
version=1.3
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="pbkdf2-${version}"
|
wrksrc="pbkdf2-${version}"
|
||||||
build_style=python2-module
|
build_style=python-module
|
||||||
pycompile_module="pbkdf2"
|
pycompile_module="pbkdf2"
|
||||||
hostmakedepends="python-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
short_desc="Password-based key derivation function PBKDF2 (Python2)"
|
short_desc="Password-based key derivation function PBKDF2 (Python2)"
|
||||||
maintainer="Charles E. Lehner <cel@celehner.com>"
|
maintainer="Charles E. Lehner <cel@celehner.com>"
|
||||||
homepage="http://www.dlitz.net/software/python-pbkdf2/"
|
homepage="http://www.dlitz.net/software/python-pbkdf2/"
|
||||||
|
@ -17,3 +17,13 @@ checksum=ac6397369f128212c43064a2b4878038dab78dab41875364554aaf2a684e6979
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense README.txt
|
vlicense README.txt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
python3-pbkdf2_package() {
|
||||||
|
noarch=yes
|
||||||
|
pycompile_module="pbkdf2"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3*
|
||||||
|
vlicense README.txt
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
python-pbkdf2
|
Loading…
Reference in New Issue