diff --git a/srcpkgs/python-pbkdf2/template b/srcpkgs/python-pbkdf2/template index ad0d2938081..f90f79a1ea7 100644 --- a/srcpkgs/python-pbkdf2/template +++ b/srcpkgs/python-pbkdf2/template @@ -1,12 +1,12 @@ # Template file for 'python-pbkdf2' pkgname=python-pbkdf2 version=1.3 -revision=2 +revision=3 noarch=yes wrksrc="pbkdf2-${version}" -build_style=python2-module +build_style=python-module pycompile_module="pbkdf2" -hostmakedepends="python-setuptools" +hostmakedepends="python-setuptools python3-setuptools" short_desc="Password-based key derivation function PBKDF2 (Python2)" maintainer="Charles E. Lehner " homepage="http://www.dlitz.net/software/python-pbkdf2/" @@ -17,3 +17,13 @@ checksum=ac6397369f128212c43064a2b4878038dab78dab41875364554aaf2a684e6979 post_install() { 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 + } +} diff --git a/srcpkgs/python3-pbkdf2 b/srcpkgs/python3-pbkdf2 new file mode 120000 index 00000000000..1ccd4e1a53f --- /dev/null +++ b/srcpkgs/python3-pbkdf2 @@ -0,0 +1 @@ +python-pbkdf2 \ No newline at end of file