~dricottone/huttese-apk

ref: 084162691d734c1bd82bd516c28276866266e92e huttese-apk/sr.ht/py3-qrcode/APKBUILD -rw-r--r-- 823 bytes
08416269 — Drew DeVault sr.ht/py3-qrcode: bump pkgrel 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=1
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"