aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2018-03-13 14:29:19 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-13 15:22:55 +0000
commit3f18acf64db110be8c2731041490f86230a77ca4 (patch)
treee8a8b0757598f2ea205dcc716f9f8a8a7ceedeaa
parent2630c508b39bbe6066ced8671ec437424cd54f0d (diff)
downloadaports-3f18acf64db110be8c2731041490f86230a77ca4.tar.bz2
aports-3f18acf64db110be8c2731041490f86230a77ca4.tar.xz
main/py-purl: upgrade to 1.4
-rw-r--r--main/py-purl/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/main/py-purl/APKBUILD b/main/py-purl/APKBUILD
index eeaa7e95b5..b453d8a3b0 100644
--- a/main/py-purl/APKBUILD
+++ b/main/py-purl/APKBUILD
@@ -2,13 +2,15 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-purl
_pkgname=purl
-pkgver=1.3.1
+pkgver=1.4
pkgrel=0
pkgdesc="An immutable Python URL class for easy URL-building and manipulation"
url="https://github.com/codeinthehole/purl"
arch="noarch"
license="MIT"
depends="py-six"
+# Tests are not included in the tarball
+options="!check"
makedepends="python2-dev python3-dev py-setuptools"
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
@@ -16,8 +18,8 @@ builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
- python2 setup.py build || return 1
- python3 setup.py build || return 1
+ python2 setup.py build
+ python3 setup.py build
}
package() {
@@ -45,4 +47,4 @@ _py() {
$python setup.py install --prefix=/usr --root="$subpkgdir"
}
-sha512sums="74e894c318d2e94dfaef1be761102ffd06b8882bd7b91dd1c30361279b60af470dbcc66b23731cae42735388edce4b07de112a98acb329cf73e276cf5ca5085e purl-1.3.1.tar.gz"
+sha512sums="f9be043cd59b330bafab1229cb229796aa3a2a44572cb6377aef34d49b9f7e12c44590123e486d4230e5f6a85a35c7ece039b2562fd07566948ee0841b91261e purl-1.4.tar.gz"