python-qrcode: add python3 module
This commit is contained in:
parent
e5503a825e
commit
b00fb00cdc
|
@ -1,12 +1,12 @@
|
|||
# Template file for 'python-qrcode'
|
||||
pkgname=python-qrcode
|
||||
version=5.3
|
||||
revision=2
|
||||
revision=3
|
||||
noarch=yes
|
||||
wrksrc="qrcode-${version}"
|
||||
build_style=python2-module
|
||||
build_style=python-module
|
||||
pycompile_module="qrcode"
|
||||
hostmakedepends="python-setuptools"
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-six"
|
||||
short_desc="QR Code image generator (Python2)"
|
||||
maintainer="Charles E. Lehner <cel@celehner.com>"
|
||||
|
@ -18,3 +18,14 @@ checksum=4115ccee832620df16b659d4653568331015c718a754855caf5930805d76924e
|
|||
post_install() {
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
python-qrcode/
|
Loading…
Reference in New Issue