aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-cjson/APKBUILD
blob: 43b0a0a2b85ed75b1d29a65eb77a89e70b5af75b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>

pkgname=py-cjson
_name=python-cjson
pkgver=1.0.5
pkgrel=1
pkgdesc="Fast JSON encoder/decoder for Python"
url="http://pypi.python.org/pypi/python-gnutls"
arch="x86 x86_64"
license="PSF"
depends="python"
makedepends="python-dev"
install=
subpackages=""
source="http://pypi.python.org/packages/source/p/python-cjson/$_name-$pkgver.tar.gz"
build() {
	cd "$srcdir"/$_name-$pkgver
	mkdir -p "$pkgdir"/usr/lib/python2.6/site-packages
	python setup.py install --root="$pkgdir"
	echo "/usr/lib/python2.6/site-packages/$_name-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$_name.pth

}

md5sums="4d55b66ecdf0300313af9d030d9644a3  python-cjson-1.0.5.tar.gz"