python-qrcode: update to 6.0.

Closes: #12874 [via git-merge-pr]
This commit is contained in:
maxice8 2018-03-24 05:52:18 -03:00 committed by Michael Aldridge
parent ce887c755f
commit d3e1471e88
1 changed files with 10 additions and 5 deletions

View File

@ -1,19 +1,24 @@
# Template file for 'python-qrcode'
pkgname=python-qrcode
version=5.3
revision=3
version=6.0
revision=1
noarch=yes
wrksrc="qrcode-${version}"
build_style=python-module
pycompile_module="qrcode"
hostmakedepends="python-setuptools python3-setuptools"
depends="python-six"
checkdepends="python3-six"
short_desc="QR Code image generator (Python2)"
maintainer="Charles E. Lehner <cel@celehner.com>"
homepage="https://github.com/lincolnloop/python-qrcode"
license="MIT"
license="BSD-3-Clause"
distfiles="${PYPI_SITE}/q/qrcode/qrcode-${version}.tar.gz"
checksum=4115ccee832620df16b659d4653568331015c718a754855caf5930805d76924e
checksum=037b0db4c93f44586e37f84c3da3f763874fcac85b2974a69a98e399ac78e1bf
do_check() {
python3 setup.py test
}
post_install() {
vlicense LICENSE
@ -22,7 +27,7 @@ post_install() {
python3-qrcode_package() {
noarch=yes
depends="python3-six"
pycompile_module="pyaes"
pycompile_module="qrcode"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*