#Packager: Frédéric Galusik <fredg~AT~salixos~dot~org>

pkgname=python-simplejson
pkgver=2.6.1
pkgrel=1fg
#arch=noarch
source=(http://pypi.python.org/packages/source/s/simplejson/simplejson-$pkgver.tar.gz)
sourcetemplate=http://people.salixos.org/fredg/packages/$pkgname/$pkgver/
docs=("license.txt" "readme.rst" "changes.txt")
url=http://pypi.python.org/pypi/simplejson

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"python-simplejson (JSON encoder/decoder for Python)"
"Simplejson is a simple, fast, complete, correct and extensible JSON "
"encoder and decoder for Python 2.5+. It is pure Python code with no "
"dependencies, but includes an optional C extension for a serious "
"speed boost."
)

build() {
	cd $SRC/simplejson-$pkgver
	python setup.py install --prefix=/usr --root=$PKG
}
