void-packages/srcpkgs/python3-qrcode/template

24 lines
609 B
Bash

# Template file for 'python3-qrcode'
pkgname=python3-qrcode
version=6.1
revision=5
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
}