[arch-commits] Commit in python2-json-py/repos (2 files)
Jan Steffens
heftig at archlinux.org
Tue Sep 20 08:49:43 UTC 2011
Date: Tuesday, September 20, 2011 @ 04:49:43
Author: heftig
Revision: 138338
archrelease: copy trunk to gnome-unstable-any
Added:
python2-json-py/repos/gnome-unstable-any/
python2-json-py/repos/gnome-unstable-any/PKGBUILD
(from rev 138337, python2-json-py/trunk/PKGBUILD)
----------+
PKGBUILD | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
Copied: python2-json-py/repos/gnome-unstable-any/PKGBUILD (from rev 138337, python2-json-py/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-any/PKGBUILD (rev 0)
+++ gnome-unstable-any/PKGBUILD 2011-09-20 08:49:43 UTC (rev 138338)
@@ -0,0 +1,20 @@
+# $Id$
+# Maintainer: Jan "heftig" Steffens <jan.steffens at gmail.com>
+
+pkgname=python2-json-py
+pkgver=3_4
+pkgrel=1
+pkgdesc="JSON reader and writer in Python"
+license=(LGPL)
+arch=(any)
+url="http://sourceforge.net/projects/json-py"
+depends=(python2)
+source=(http://downloads.sourceforge.net/json-py/json-py-$pkgver.zip)
+sha256sums=('58da8ae96c973302e3cfc4c682d20d1a5c6a6284426a269bf2c3dc4b58a522a9')
+
+package() {
+ install -Dm644 json.py "$pkgdir/usr/lib/python2.7/site-packages/json.py"
+ install -Dm644 minjson.py "$pkgdir/usr/lib/python2.7/site-packages/minjson.py"
+ python2 -m compileall "$pkgdir/usr/lib/python2.7/site-packages"
+ python2 -O -m compileall "$pkgdir/usr/lib/python2.7/site-packages"
+}
More information about the arch-commits
mailing list