mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-23 04:13:06 +02:00
parent
ce887c755f
commit
d3e1471e88
1 changed files with 10 additions and 5 deletions
|
@ -1,19 +1,24 @@
|
||||||
# Template file for 'python-qrcode'
|
# Template file for 'python-qrcode'
|
||||||
pkgname=python-qrcode
|
pkgname=python-qrcode
|
||||||
version=5.3
|
version=6.0
|
||||||
revision=3
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
wrksrc="qrcode-${version}"
|
wrksrc="qrcode-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
pycompile_module="qrcode"
|
pycompile_module="qrcode"
|
||||||
hostmakedepends="python-setuptools python3-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-six"
|
depends="python-six"
|
||||||
|
checkdepends="python3-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>"
|
||||||
homepage="https://github.com/lincolnloop/python-qrcode"
|
homepage="https://github.com/lincolnloop/python-qrcode"
|
||||||
license="MIT"
|
license="BSD-3-Clause"
|
||||||
distfiles="${PYPI_SITE}/q/qrcode/qrcode-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/q/qrcode/qrcode-${version}.tar.gz"
|
||||||
checksum=4115ccee832620df16b659d4653568331015c718a754855caf5930805d76924e
|
checksum=037b0db4c93f44586e37f84c3da3f763874fcac85b2974a69a98e399ac78e1bf
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
python3 setup.py test
|
||||||
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
@ -22,7 +27,7 @@ post_install() {
|
||||||
python3-qrcode_package() {
|
python3-qrcode_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
depends="python3-six"
|
depends="python3-six"
|
||||||
pycompile_module="pyaes"
|
pycompile_module="qrcode"
|
||||||
short_desc="${short_desc/Python2/Python3}"
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3*
|
vmove usr/lib/python3*
|
||||||
|
|
Loading…
Add table
Reference in a new issue