# Contributor: Francesco Colista # Maintainer: Natanael Copa pkgname=py-simplejson _pkgname=simplejson pkgver=3.6.3 pkgrel=0 pkgdesc="Simple, fast, extensible JSON encoder/decoder for Python" url="http://pypi.python.org/pypi/simplejson/" arch="all" license="MIT" depends="" depends_dev="" makedepends="python-dev py-setuptools" install="" subpackages="" source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$_pkgname-$pkgver prepare() { local i cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" python setup.py build || return 1 } package() { cd "$_builddir" python setup.py install --prefix=/usr --root="$pkgdir" || return 1 } md5sums="bbb654c2d9b5e3c176af1a22522a458f simplejson-3.6.3.tar.gz" sha256sums="1e2fe250d0325a6b53ab770376f1729e0bf4883785343bbfab23764419f09d7a simplejson-3.6.3.tar.gz" sha512sums="51bb2200a5b86aedb1c5ca65b1e38bc590db8f577fdf6a3224d17b37697cd1493546decee562da6dc18d866b17e3869da02134be6a8eab58320524277595c243 simplejson-3.6.3.tar.gz"