diff options
Diffstat (limited to 'testing/py-cjson/APKBUILD')
-rw-r--r-- | testing/py-cjson/APKBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/py-cjson/APKBUILD b/testing/py-cjson/APKBUILD new file mode 100644 index 0000000000..0a4a272aa2 --- /dev/null +++ b/testing/py-cjson/APKBUILD @@ -0,0 +1,24 @@ +# 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" +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" |