From d3e1471e88cb212255fd8357fb44246c1e647097 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Sat, 24 Mar 2018 05:52:18 -0300 Subject: [PATCH] python-qrcode: update to 6.0. Closes: #12874 [via git-merge-pr] --- srcpkgs/python-qrcode/template | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python-qrcode/template b/srcpkgs/python-qrcode/template index 8a336fef0d5..2b4c36ad254 100644 --- a/srcpkgs/python-qrcode/template +++ b/srcpkgs/python-qrcode/template @@ -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 " 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*