python-qrcode: add python3 module

This commit is contained in:
lemmi 2018-01-07 13:04:25 +01:00
parent e5503a825e
commit b00fb00cdc
2 changed files with 15 additions and 3 deletions

View File

@ -1,12 +1,12 @@
# Template file for 'python-qrcode' # Template file for 'python-qrcode'
pkgname=python-qrcode pkgname=python-qrcode
version=5.3 version=5.3
revision=2 revision=3
noarch=yes noarch=yes
wrksrc="qrcode-${version}" wrksrc="qrcode-${version}"
build_style=python2-module build_style=python-module
pycompile_module="qrcode" pycompile_module="qrcode"
hostmakedepends="python-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python-six" depends="python-six"
short_desc="QR Code image generator (Python2)" short_desc="QR Code image generator (Python2)"
maintainer="Charles E. Lehner <cel@celehner.com>" maintainer="Charles E. Lehner <cel@celehner.com>"
@ -18,3 +18,14 @@ checksum=4115ccee832620df16b659d4653568331015c718a754855caf5930805d76924e
post_install() { post_install() {
vlicense LICENSE vlicense LICENSE
} }
python3-qrcode_package() {
noarch=yes
depends="python3-six"
pycompile_module="pyaes"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

1
srcpkgs/python3-qrcode Symbolic link
View File

@ -0,0 +1 @@
python-qrcode/