#Packager: Shador pkgname=simplejson pkgver=2.1.1 pkgrel=1ab arch=x86_64 source=('http://pypi.python.org/packages/source/s/simplejson/simplejson-2.1.1.tar.gz') sourcetemplate="http://gaia.homelinux.org/salix/packages-x86_64/$pkgname/$pkgver/" docs=("license.txt" "pkg-info") url='http://pypi.python.org/pypi/simplejson/' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Python JSON encoder decoder)" "simplejson is a simple, fast, complete, correct and extensible JSON" " encoder and decoder for Python 2.4+. It is pure" "Python code with no dependencies, but includes an optional C extension" "for a serious speed boost." "" "simplejson was formerly known as simple_json, but changed its name to" "comply with PEP 8 module naming guidelines." ) build() { cd $startdir/src/$pkgname-$pkgver python setup.py install --prefix=/usr --root=$startdir/pkg install -d $startdir/pkg/usr/doc/$pkgname-$pkgver/ cp -r docs $startdir/pkg/usr/doc/$pkgname-$pkgver/ }