diff options
Diffstat (limited to 'community/python-simplejson')
-rw-r--r-- | community/python-simplejson/PKGBUILD | 39 | ||||
-rw-r--r-- | community/python-simplejson/python-simplejson.changelog | 20 |
2 files changed, 59 insertions, 0 deletions
diff --git a/community/python-simplejson/PKGBUILD b/community/python-simplejson/PKGBUILD new file mode 100644 index 000000000..bab14945c --- /dev/null +++ b/community/python-simplejson/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 74926 2012-08-09 22:02:03Z jlichtblau $ +# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org> +# Contributor: Allan McRae <allan@archlinux.org> +# Contributor: David Moore <davidm@sjsoft.com> + +pkgbase=python-simplejson +pkgname=(python-simplejson python2-simplejson) +pkgver=3.0.7 +pkgrel=2 +pkgdesc="Simple, fast, extensible JSON encoder/decoder for Python" +license=('MIT') +arch=('i686' 'x86_64') +url="http://undefined.org/python/#simplejson" +makedepends=('python' 'python2-distribute') +changelog=python-simplejson.changelog +source=($pkgname-$pkgver.tar.gz::https://github.com/simplejson/simplejson/tarball/v${pkgver}) +md5sums=('fc9013eab6330514196a7f19c2cff386') + +build() { + true +} + +package_python-simplejson() { + depends=('python') + + cd ${srcdir}/simplejson-simplejson-* + python setup.py install --root=${pkgdir} + install -Dm644 ${srcdir}/simplejson-simplejson-*/LICENSE.txt \ + ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} + +package_python2-simplejson() { + depends=('python2') + + cd ${srcdir}/simplejson-simplejson-* + python2 setup.py install --root=${pkgdir} + install -Dm644 ${srcdir}/simplejson-simplejson-*/LICENSE.txt \ + ${pkgdir}/usr/share/licenses/$pkgname/LICENSE +} diff --git a/community/python-simplejson/python-simplejson.changelog b/community/python-simplejson/python-simplejson.changelog new file mode 100644 index 000000000..c1e227d24 --- /dev/null +++ b/community/python-simplejson/python-simplejson.changelog @@ -0,0 +1,20 @@ +2012-07-09 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * python-simplejson 2.6.1-1 + +2012-05-24 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * python-simplejson 2.5.2-1 + +2012-03-08 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * python-simplejson 2.3.3-1 + +2011-10-26 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * python-simplejson 2.2.1-1 + +2011-05-01 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * python-simplejson 2.1.3-1 + +2010-05-15 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 2.1.1 + +2010-03-27 Jaroslav Lichtblau <dragonlord@aur.archlinux.org> + * Update to major release 2.1.0 |