aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-qrcode/APKBUILD
blob: 3c90e2ad8b58aaca381137557740304e2f44a284 (plain) (blame)
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
31
32
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-qrcode
_pkgname=qrcode
pkgver=5.3
pkgrel=0
pkgdesc="A QR code image generator"
url="https://github.com/lincolnloop/python-qrcode"
arch="noarch"
license="BSD"
depends="python py-pillow"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/lincolnloop/python-qrcode/archive/v5.3.tar.gz"

builddir="$srcdir"/python-qrcode-$pkgver

build() {
	cd "$builddir"
	python setup.py build || return 1
}

package() {
	cd "$builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="81e3670f61bdf186ded61d6bafa847ec  py-qrcode-5.3.tar.gz"
sha256sums="933123de02a116303ccdf92d1d32c65f24bf8a69faf7ecde41bd8cf4f975ad87  py-qrcode-5.3.tar.gz"
sha512sums="9c25cadc4a5d82aabc754027373eb9700cbe4e3148fb84de1356df49dad0bfad0b86956d6e32c72448a2838f9815a029a0807c8f23f8dae042a44346c2654487  py-qrcode-5.3.tar.gz"