# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
setvar pkgname = 'py-cjson'
setvar _pkgname = 'python-cjson'
setvar pkgver = '1.1.0'
setvar pkgrel = '0'
setvar pkgdesc = ""Fast JSON encoder/decoder for Python""
setvar url = ""https://pypi.python.org/pypi/python-cjson""
setvar arch = ""all""
setvar license = ""LGPL2+""
setvar depends = """"
setvar makedepends = ""python2-dev py-setuptools""
setvar install = """"
setvar subpackages = """"
setvar source = ""https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz""

setvar _builddir = ""$srcdir"/$_pkgname-$pkgver"
proc build {
	cd $_builddir
	python2 setup.py build || return 1
}

proc package {
	cd $_builddir
	python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

setvar md5sums = ""adb28f42c72ef573dfbd4cdf09676ace  python-cjson-1.1.0.tar.gz""
setvar sha256sums = ""a01fabb7593728c3d851e1cd9a3efbd18f72650a31a5aa8a74018640da3de8b3  python-cjson-1.1.0.tar.gz""
setvar sha512sums = ""039e5f724c3a49d0043f788b0634c4191a6ae5abaa012d8491622e5a9ac22ecc5a342a0243f70b0ac02c8640243aaf8b0cf20a0ab12ee4866d9af966d73c1706  python-cjson-1.1.0.tar.gz""