diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-11-19 03:34:42 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-11-19 03:34:56 +0000 |
commit | ec0e6c63dd0df9edeaac1d1936d424bfc0a8500d (patch) | |
tree | ba8a5fd2d616e5887d13a578c280e31c11af58bc /testing | |
parent | 9da48bc7fbc18f4eb4fb69ec1ca738d57c169c86 (diff) | |
download | aports-ec0e6c63dd0df9edeaac1d1936d424bfc0a8500d.tar.bz2 aports-ec0e6c63dd0df9edeaac1d1936d424bfc0a8500d.tar.xz |
testing/py-cjson: upgrade to 1.2.1
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-cjson/APKBUILD | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/testing/py-cjson/APKBUILD b/testing/py-cjson/APKBUILD index 1d448978db..c43c3618a3 100644 --- a/testing/py-cjson/APKBUILD +++ b/testing/py-cjson/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista <francesco.colista@gmail.com> pkgname=py-cjson _pkgname=python-cjson -pkgver=1.1.0 +pkgver=1.2.1 pkgrel=0 pkgdesc="Fast JSON encoder/decoder for Python" url="https://pypi.python.org/pypi/python-cjson" @@ -13,18 +13,21 @@ makedepends="python2-dev py-setuptools" install="" subpackages="" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver -_builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$_builddir" - python2 setup.py build || return 1 + cd "$builddir" + python2 setup.py build +} + +check() { + cd "$builddir" + python2 setup.py check } package() { - cd "$_builddir" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + cd "$builddir" + python2 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="adb28f42c72ef573dfbd4cdf09676ace python-cjson-1.1.0.tar.gz" -sha256sums="a01fabb7593728c3d851e1cd9a3efbd18f72650a31a5aa8a74018640da3de8b3 python-cjson-1.1.0.tar.gz" -sha512sums="039e5f724c3a49d0043f788b0634c4191a6ae5abaa012d8491622e5a9ac22ecc5a342a0243f70b0ac02c8640243aaf8b0cf20a0ab12ee4866d9af966d73c1706 python-cjson-1.1.0.tar.gz" +sha512sums="dd998d1a77c4ac2f48316a66bb10741860a1ed7b8f54431bd72f949a4070284fa5040ed51c3030f7ad9fed4d76e12112206d32acf204800010c8b79b1665d684 python-cjson-1.2.1.tar.gz" |