diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-qrcode/APKBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/testing/py-qrcode/APKBUILD b/testing/py-qrcode/APKBUILD index 8ce97cfaf4..d49c320939 100644 --- a/testing/py-qrcode/APKBUILD +++ b/testing/py-qrcode/APKBUILD @@ -3,28 +3,26 @@ pkgname=py-qrcode _pkgname=qrcode pkgver=5.3 -pkgrel=0 +pkgrel=1 pkgdesc="A QR code image generator" url="https://github.com/lincolnloop/python-qrcode" arch="noarch" license="BSD" -depends="python2 py-pillow" -depends_dev="" +depends="python2 py-pillow py2-six" makedepends="python2-dev py-setuptools" -install="" +options="!check" 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" - python2 setup.py build || return 1 + python2 setup.py build } package() { cd "$builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python2 setup.py install --prefix=/usr --root="$pkgdir" } md5sums="81e3670f61bdf186ded61d6bafa847ec py-qrcode-5.3.tar.gz" |