diff options
author | TBK <tbk@jjtc.dk> | 2018-04-27 18:01:57 +0200 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2018-04-28 03:46:51 +0300 |
commit | 1d24ae8b65d4e525835e2caf0cfbbc08a54f165a (patch) | |
tree | 41b627d61e169f587d788ef5f88512eb78d39213 /testing | |
parent | 572988df646dbd3f474c9764c4accc1a349bc5ac (diff) | |
download | aports-1d24ae8b65d4e525835e2caf0cfbbc08a54f165a.tar.bz2 aports-1d24ae8b65d4e525835e2caf0cfbbc08a54f165a.tar.xz |
testing/py-jsonpointer: upgrade to 2.0, clarify license
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-jsonpointer/APKBUILD | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/testing/py-jsonpointer/APKBUILD b/testing/py-jsonpointer/APKBUILD index f01e5ed0af..e2f5fa8af8 100644 --- a/testing/py-jsonpointer/APKBUILD +++ b/testing/py-jsonpointer/APKBUILD @@ -2,13 +2,12 @@ # Maintainer: TBK <alpine@jjtc.eu> pkgname=py-jsonpointer _pkgname=${pkgname#py-} -pkgver=1.13 +pkgver=2.0 pkgrel=0 pkgdesc="Identify specific nodes in a JSON document (RFC 6901)" url="https://github.com/stefankoegl/python-json-pointer" arch="noarch" -license="BSD" -depends="" +license="BSD-3-Clause" makedepends="python2-dev python3-dev py-setuptools" subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" @@ -20,6 +19,12 @@ build() { python3 setup.py build } +check() { + cd "$builddir" + python2 setup.py test + python3 setup.py test +} + package() { mkdir -p "$pkgdir" } @@ -43,4 +48,4 @@ _py3() { _py python3 } -sha512sums="662e0659c739fe213b9c6b2353de1806533b43c6be5d596f4b48f391af53a9f29a3428b0068aca106db38cbe09c9d88c7d28fd9b808c9a04aebe503b4c8e0e39 jsonpointer-1.13.tar.gz" +sha512sums="e8e2b03c12c3fc5f65816fc71d1c07135ef74a0c912286f5b8bef2d9e21b8ae6e766d1aa2104b3eeb0e53928034321f25b203386ac3f5641b54b0641f6a08137 jsonpointer-2.0.tar.gz" |