python-qrcode: drop package

This commit is contained in:
Đoàn Trần Công Danh 2020-09-20 17:22:58 +07:00
parent 16069cf69c
commit 9408e4d59f
4 changed files with 23 additions and 37 deletions

View file

@ -1,36 +0,0 @@
# Template file for 'python-qrcode'
pkgname=python-qrcode
version=6.1
revision=2
archs=noarch
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>"
license="BSD-3-Clause"
homepage="https://github.com/lincolnloop/python-qrcode"
distfiles="${PYPI_SITE}/q/qrcode/qrcode-${version}.tar.gz"
checksum=505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369
do_check() {
python3 setup.py test
}
post_install() {
vlicense LICENSE
}
python3-qrcode_package() {
archs=noarch
depends="python3-six"
pycompile_module="qrcode"
short_desc="${short_desc/Python2/Python3}"
pkg_install() {
vmove usr/lib/python3*
vlicense LICENSE
}
}

View file

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

View file

@ -0,0 +1,23 @@
# Template file for 'python3-qrcode'
pkgname=python3-qrcode
version=6.1
revision=3
wrksrc="qrcode-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-six"
checkdepends="python3-six"
short_desc="QR Code image generator (Python3)"
maintainer="Charles E. Lehner <cel@celehner.com>"
license="BSD-3-Clause"
homepage="https://github.com/lincolnloop/python-qrcode"
distfiles="${PYPI_SITE}/q/qrcode/qrcode-${version}.tar.gz"
checksum=505253854f607f2abf4d16092c61d4e9d511a3b4392e60bff957a68592b04369
do_check() {
python3 setup.py test
}
post_install() {
vlicense LICENSE
}