diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-21 13:22:54 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-05-21 13:25:20 +0000 |
commit | 3ceefd19a12655ed49e44c524af3b6cfce82b973 (patch) | |
tree | b1ad5374a33caabb956984d62b632fe91ed6dbbe /testing | |
parent | d772901cebce3b455e1c480c4e7d985ea5b10de8 (diff) | |
download | aports-3ceefd19a12655ed49e44c524af3b6cfce82b973.tar.bz2 aports-3ceefd19a12655ed49e44c524af3b6cfce82b973.tar.xz |
testing/py-cjson: renamed from python-cjson
Diffstat (limited to 'testing')
-rw-r--r-- | testing/py-cjson/APKBUILD (renamed from testing/python-cjson/APKBUILD) | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/testing/python-cjson/APKBUILD b/testing/py-cjson/APKBUILD index f3274d5fd8..0a4a272aa2 100644 --- a/testing/python-cjson/APKBUILD +++ b/testing/py-cjson/APKBUILD @@ -1,7 +1,8 @@ # Contributor: Francesco Colista <francesco.colista@gmail.com> # Maintainer: Francesco Colista <francesco.colista@gmail.com> -pkgname=python-cjson +pkgname=py-cjson +_name=python-cjson pkgver=1.0.5 pkgrel=1 pkgdesc="Fast JSON encoder/decoder for Python" @@ -11,12 +12,12 @@ depends="python" makedepends="python-dev" install= subpackages="" -source="http://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.tar.gz" +source="http://pypi.python.org/packages/source/p/python-cjson/$_name-$pkgver.tar.gz" build() { - cd "$srcdir"/$pkgname-$pkgver + 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/$pkgname-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$pkgname.pth + echo "/usr/lib/python2.6/site-packages/$_name-$pkgver-py2.6.egg" > "$pkgdir"/usr/lib/python2.6/site-packages/$_name.pth } |