~dricottone/huttese-apk

ref: 5e4e777d17b61883fce8c7212de74cd737b969c8 huttese-apk/sr.ht/py3-qrcode/APKBUILD -rw-r--r-- 823 bytes
5e4e777d — Drew DeVault prometheus: upgrade to 2.11.0 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=py3-qrcode
_pyname=qrcode
pkgver=6.1
pkgrel=0
pkgdesc="QR Code image generator"
url="https://github.com/lincolnloop/python-qrcode"
arch="noarch"
license="MIT"
depends="py3-pillow py3-six"
makedepends="python3-dev py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
subpackages="$pkgname-doc"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
replaces="py-qrcode py2-qrcode"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py check
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="4831553932442f5535cba15d5958a656b399112f0f379c28ad9b610c33d88ec6d0613dc7047a2315606e49f027bfd13a15a332ce86b80040d56e1114a0f62251  qrcode-6.1.tar.gz"