[Python-modules-commits] r23295 - in packages/simplejson/trunk/debian (5 files)

piotr at users.alioth.debian.org piotr at users.alioth.debian.org
Sun Jan 13 16:32:50 UTC 2013


    Date: Sunday, January 13, 2013 @ 16:32:46
  Author: piotr
Revision: 23295

add pypy-simplejson binary package

Added:
  packages/simplejson/trunk/debian/pypy-simplejson.postinst
  packages/simplejson/trunk/debian/pypy-simplejson.prerm
Modified:
  packages/simplejson/trunk/debian/changelog
  packages/simplejson/trunk/debian/control
  packages/simplejson/trunk/debian/rules

Modified: packages/simplejson/trunk/debian/changelog
===================================================================
--- packages/simplejson/trunk/debian/changelog	2013-01-12 17:27:27 UTC (rev 23294)
+++ packages/simplejson/trunk/debian/changelog	2013-01-13 16:32:46 UTC (rev 23295)
@@ -1,10 +1,13 @@
-simplejson (3.0.5-1) UNRELEASED; urgency=low
+simplejson (3.0.7-1) UNRELEASED; urgency=low
 
   * New upstream release
-  * Add python-simplejson-doc binary package
-  * Add python-simplejson-dbg binary package
-  * Add python3-simplejson{,-dbg} binary packages
-    - build depend on python3-all-d{ev,bg}
+  * New binary packages:
+    - python-simplejson-doc
+    - python-simplejson-dbg
+    - python3-simplejson
+    - python3-simplejson-dbg
+    - pypy-simplejson
+  * Build depend on python3-all-d{ev,bg} and pypy (for new packages)
   * Rewrite debian/rules to use dh sequencer and pybuild build system
 
  -- Piotr Ożarowski <piotr at debian.org>  Thu, 03 Jan 2013 20:54:07 +0100

Modified: packages/simplejson/trunk/debian/control
===================================================================
--- packages/simplejson/trunk/debian/control	2013-01-12 17:27:27 UTC (rev 23294)
+++ packages/simplejson/trunk/debian/control	2013-01-13 16:32:46 UTC (rev 23295)
@@ -5,7 +5,7 @@
 Uploaders: Piotr Ożarowski <piotr at debian.org>
 Standards-Version: 3.9.3
 Build-Depends: debhelper (>= 9), python-sphinx (>= 1.0.7+dfsg-1~),
- python-all-dev, python-all-dbg,
+ python-all-dev, python-all-dbg, pypy,
  python3-all-dev (>= 3.3.0-2), python3-all-dbg
 Homepage: http://undefined.org/python/#simplejson
 X-Python-Version: >= 2.5
@@ -73,3 +73,17 @@
 Conflicts: python-simplejson (<= 3)
 Description: documentation for the simplejson Python library
  This package contains documentation for simplejson Python library.
+
+Package: pypy-simplejson
+Architecture: all
+Depends: ${shlibs:Depends}, ${misc:Depends}, pypy
+Description: JSON encoder and decoder for PyPy
+ simplejson is the externally maintained development version of the
+ json library included with Python 2.6 and Python 3.0.
+ .
+ The encoder may be subclassed to provide serialization in any kind of
+ situation, without any special support by the objects to be serialized
+ (somewhat like pickle).
+ .
+ The decoder can handle incoming JSON strings of any specified encoding
+ (UTF-8 by default).

Added: packages/simplejson/trunk/debian/pypy-simplejson.postinst
===================================================================
--- packages/simplejson/trunk/debian/pypy-simplejson.postinst	                        (rev 0)
+++ packages/simplejson/trunk/debian/pypy-simplejson.postinst	2013-01-13 16:32:46 UTC (rev 23295)
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+
+find /usr/lib/pypy/dist-packages/simplejson/ \
+ -name '*.py' | pypy -m py_compile - >/dev/null

Added: packages/simplejson/trunk/debian/pypy-simplejson.prerm
===================================================================
--- packages/simplejson/trunk/debian/pypy-simplejson.prerm	                        (rev 0)
+++ packages/simplejson/trunk/debian/pypy-simplejson.prerm	2013-01-13 16:32:46 UTC (rev 23295)
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+
+find /usr/lib/pypy/dist-packages/simplejson/ \
+ -type d -name __pycache__ | xargs rm -rf

Modified: packages/simplejson/trunk/debian/rules
===================================================================
--- packages/simplejson/trunk/debian/rules	2013-01-12 17:27:27 UTC (rev 23294)
+++ packages/simplejson/trunk/debian/rules	2013-01-13 16:32:46 UTC (rev 23295)
@@ -4,6 +4,7 @@
 export PYBUILD_DESTDIR_python2-dbg=debian/python-simplejson-dbg/
 export PYBUILD_DESTDIR_python3=debian/python3-simplejson/
 export PYBUILD_DESTDIR_python3-dbg=debian/python3-simplejson-dbg/
+export PYBUILD_DESTDIR_pypy=debian/pypy-simplejson/
 
 %:
 	dh $@ --with python2,python3,sphinxdoc --buildsystem=pybuild




More information about the Python-modules-commits mailing list