aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-qrcode
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-08-28 01:03:58 +0000
committerCarlo Landmeter <clandmeter@gmail.com>2016-08-28 01:03:58 +0000
commitae07d7143d1fbf977a1112f9d2d79a0241aa65c3 (patch)
tree8e79ee66b10ec7d8763235d7ba01f812d8ee4e37 /testing/py-qrcode
parent3c18b57106cb0de174bd34861699767dbbded6e4 (diff)
downloadaports-ae07d7143d1fbf977a1112f9d2d79a0241aa65c3.tar.bz2
aports-ae07d7143d1fbf977a1112f9d2d79a0241aa65c3.tar.xz
testing/py-qrcode: upgrade to 5.3
Diffstat (limited to 'testing/py-qrcode')
-rw-r--r--testing/py-qrcode/APKBUILD27
1 files changed, 9 insertions, 18 deletions
diff --git a/testing/py-qrcode/APKBUILD b/testing/py-qrcode/APKBUILD
index 4c7b33e0b2..f483501d46 100644
--- a/testing/py-qrcode/APKBUILD
+++ b/testing/py-qrcode/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-qrcode
_pkgname=qrcode
-pkgver=5.0.1
+pkgver=5.3
pkgrel=0
pkgdesc="A QR code image generator"
url="https://github.com/lincolnloop/python-qrcode"
@@ -12,30 +12,21 @@ depends="python py-pillow"
depends_dev=""
makedepends="python-dev py-setuptools"
install=""
-subpackages=""
-source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+subpackages="$pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/lincolnloop/python-qrcode/archive/v5.3.tar.gz"
-_builddir="$srcdir"/$_pkgname-$pkgver
-prepare() {
- local i
- cd "$_builddir"
- for i in $source; do
- case $i in
- *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
- esac
- done
-}
+builddir="$srcdir"/python-qrcode-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py build || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}
-md5sums="bef9cccd638888724cd2ae31860875b5 qrcode-5.0.1.tar.gz"
-sha256sums="5ce16060c2c4f9fc9455bc82766c227e55ee9b43bfb9f17bfe3f1f5ba5eecf3c qrcode-5.0.1.tar.gz"
-sha512sums="a57ca9d4b382637a8b3cc3a20a03d291f22675e9d851a739f01c610465f1977efd748661330557e9017db2d7b9b501c278668da5eeef93fb8e503e71921bb4c5 qrcode-5.0.1.tar.gz"
+md5sums="81e3670f61bdf186ded61d6bafa847ec py-qrcode-5.3.tar.gz"
+sha256sums="933123de02a116303ccdf92d1d32c65f24bf8a69faf7ecde41bd8cf4f975ad87 py-qrcode-5.3.tar.gz"
+sha512sums="9c25cadc4a5d82aabc754027373eb9700cbe4e3148fb84de1356df49dad0bfad0b86956d6e32c72448a2838f9815a029a0807c8f23f8dae042a44346c2654487 py-qrcode-5.3.tar.gz"