Commit ec0e6c63 authored by Francesco Colista's avatar Francesco Colista

testing/py-cjson: upgrade to 1.2.1

parent 9da48bc7
......@@ -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"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment