summaryrefslogtreecommitdiffstats
path: root/abs/core/python-simplejson/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/python-simplejson/PKGBUILD')
-rw-r--r--abs/core/python-simplejson/PKGBUILD28
1 files changed, 15 insertions, 13 deletions
diff --git a/abs/core/python-simplejson/PKGBUILD b/abs/core/python-simplejson/PKGBUILD
index d1c7437..5deb30d 100644
--- a/abs/core/python-simplejson/PKGBUILD
+++ b/abs/core/python-simplejson/PKGBUILD
@@ -1,24 +1,26 @@
-# $ Id: $
-# Maintainer: Allan McRae <allan@archlinux.org>
+# $Id: PKGBUILD 26298 2010-09-14 17:18:19Z schuay $
+# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Contributor: Allan McRae <allan@archlinux.org>
# Contributor: David Moore <davidm@sjsoft.com>
pkgname=python-simplejson
-pkgver=2.0.9
-pkgrel=1
+pkgver=2.1.1
+pkgrel=2
pkgdesc="Simple, fast, extensible JSON encoder/decoder for Python"
license=('MIT')
-arch=('i686' 'x86_64')
+arch=('any')
url="http://undefined.org/python/#simplejson"
-depends=('python')
+depends=('python2')
makedepends=('setuptools')
-source=("http://pypi.python.org/packages/source/s/simplejson/simplejson-${pkgver}.tar.gz")
-md5sums=('af5e67a39ca3408563411d357e6d5e47')
+source=(http://pypi.python.org/packages/source/s/simplejson/simplejson-${pkgver}.tar.gz)
+md5sums=('0bbe3a2e5e4cac040013733aca159d89')
build() {
- cd ${srcdir}/simplejson-${pkgver}
- python setup.py install --root=${pkgdir}
+ cd ${srcdir}/simplejson-${pkgver}
- # License
- install -Dm644 ${srcdir}/simplejson-${pkgver}/LICENSE.txt \
- ${pkgdir}/usr/share/licenses/python-simplejson/license
+ python2 setup.py install --root=${pkgdir}
+
+# License
+ install -Dm644 ${srcdir}/simplejson-${pkgver}/LICENSE.txt \
+ ${pkgdir}/usr/share/licenses/python-simplejson/LICENSE
}