[arch-commits] Commit in python-simplejson/trunk (PKGBUILD)

Alexander Rødseth arodseth at nymeria.archlinux.org
Thu May 2 13:39:08 UTC 2013


    Date: Thursday, May 2, 2013 @ 15:39:08
  Author: arodseth
Revision: 89808

upgpkg: python-simplejson 3.2.0-1

Modified:
  python-simplejson/trunk/PKGBUILD

----------+
 PKGBUILD |   42 ++++++++++++++++++++----------------------
 1 file changed, 20 insertions(+), 22 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-02 13:36:01 UTC (rev 89807)
+++ PKGBUILD	2013-05-02 13:39:08 UTC (rev 89808)
@@ -1,39 +1,37 @@
 # $Id$
-# Maintainer: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
+# Maintainer: Alexander Rødseth <rodseth at gmail.com>
+# Contributor: Jaroslav Lichtblau <dragonlord at aur.archlinux.org>
 # Contributor: Allan McRae <allan at archlinux.org>
 # Contributor: David Moore <davidm at 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"
+pkgname=("$pkgbase" 'python2-simplejson')
+pkgver=3.2.0
+pkgrel=1
+pkgdesc='Simple, fast, extensible JSON encoder/decoder for Python'
 license=('MIT')
-arch=('i686' 'x86_64')
-url="http://undefined.org/python/#simplejson"
+arch=('x86_64' 'i686')
+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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/simplejson/simplejson/tarball/v${pkgver}")
+sha256sums=('507036d10039ccf437625437b2521c0f691c20c3911b2b7183d5a66c98d36432')
 
-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
+  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
+  cd "$srcdir/simplejson-simplejson-"*
+  python2 setup.py install --root="$pkgdir"
+  install -Dm644 "$srcdir/simplejson-simplejson"-*/LICENSE.txt \
+    "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
 }
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list