#Maintainer: Shador <futur~DOT~andy~AT~googlemail.com>

pkgname=simplejson
pkgver=2.0.9
pkgrel=1ab
arch=i486
source=('http://pypi.python.org/packages/source/s/simplejson/simplejson-2.0.9.tar.gz')
sourcetemplate="http://gaia.homelinux.org/salix/packages/$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"
"<http://json.org> 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/
}