aboutsummaryrefslogtreecommitdiffstats
path: root/main/py-purl/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/py-purl/APKBUILD')
-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"