[Python-modules-commits] r27513 - in packages/jsonpickle/trunk/debian (5 files)

jandd at users.alioth.debian.org jandd at users.alioth.debian.org
Sat Feb 1 23:10:33 UTC 2014


    Date: Saturday, February 1, 2014 @ 23:10:32
  Author: jandd
Revision: 27513

* add Python 3 support:
  - add new binary package python3-jsonpickle
  - add dh-python, python3, python3-feedparse and python3-simplejson to
    Build-Depends
  - use pybuild as buildsystem

Added:
  packages/jsonpickle/trunk/debian/python-jsonpickle.install
  packages/jsonpickle/trunk/debian/python3-jsonpickle.install
Modified:
  packages/jsonpickle/trunk/debian/changelog
  packages/jsonpickle/trunk/debian/control
  packages/jsonpickle/trunk/debian/rules

Modified: packages/jsonpickle/trunk/debian/changelog
===================================================================
--- packages/jsonpickle/trunk/debian/changelog	2014-02-01 22:44:18 UTC (rev 27512)
+++ packages/jsonpickle/trunk/debian/changelog	2014-02-01 23:10:32 UTC (rev 27513)
@@ -7,6 +7,11 @@
     - add python-feedparser and python-simplejson to Build-Depends
     - add override_dh_auto_test in debian/rules to run tests/runtests.py
     - use debian source format 3.0 (quilt) to enable patching
+  * add Python 3 support:
+    - add new binary package python3-jsonpickle
+    - add dh-python, python3, python3-feedparse and python3-simplejson to
+      Build-Depends
+    - use pybuild as buildsystem
 
  -- Jan Dittberner <jandd at debian.org>  Sat, 01 Feb 2014 22:44:50 +0100
 

Modified: packages/jsonpickle/trunk/debian/control
===================================================================
--- packages/jsonpickle/trunk/debian/control	2014-02-01 22:44:18 UTC (rev 27512)
+++ packages/jsonpickle/trunk/debian/control	2014-02-01 23:10:32 UTC (rev 27513)
@@ -3,7 +3,14 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: John Paulett <john at paulett.org>, Jan Dittberner <jandd at debian.org>
-Build-Depends: debhelper (>= 7.0.50), python (>= 2.6.6-3~), python-feedparser, python-simplejson
+Build-Depends: debhelper (>= 7.0.50),
+               dh-python,
+               python,
+               python-feedparser,
+               python-simplejson,
+               python3,
+               python3-feedparser,
+               python3-simplejson
 Standards-Version: 3.9.5
 Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/jsonpickle/trunk
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/jsonpickle/trunk/
@@ -24,3 +31,23 @@
  serialized to JSON. jsonpickle is highly configurable and
  extendable–allowing the user to choose the JSON backend  and add additional
  backends.
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-jsonpickle
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Provides: ${python:Provides}
+Suggests: python3-simplejson
+Description: Python library for serializing arbitrary object graphs into JSON
+ jsonpickle is a Python library for serialization and deserialization of
+ complex Python objects to and from JSON. The standard Python libraries for
+ encoding Python into JSON, such as the stdlib’s json, simplejson, and
+ demjson,  can only handle Python primitives that have a direct JSON
+ equivalent (e.g. dicts, lists, strings, ints, etc.). jsonpickle builds on
+ top of these libraries and allows more complex data structures to be
+ serialized to JSON. jsonpickle is highly configurable and
+ extendable–allowing the user to choose the JSON backend  and add additional
+ backends.
+ .
+ This is the Python 3 version of the package.

Added: packages/jsonpickle/trunk/debian/python-jsonpickle.install
===================================================================
Added: packages/jsonpickle/trunk/debian/python3-jsonpickle.install
===================================================================
Modified: packages/jsonpickle/trunk/debian/rules
===================================================================
--- packages/jsonpickle/trunk/debian/rules	2014-02-01 22:44:18 UTC (rev 27512)
+++ packages/jsonpickle/trunk/debian/rules	2014-02-01 23:10:32 UTC (rev 27513)
@@ -1,7 +1,8 @@
 #!/usr/bin/make -f
 
 override_dh_auto_test:
-	tests/runtests.py
+	PYBUILD_SYSTEM=custom \
+	PYBUILD_TEST_ARGS="tests/runtests.py" dh_auto_test
 
 %:
-	dh --with python2 $@
+	dh $@ --with python2,python3 --buildsystem=pybuild




More information about the Python-modules-commits mailing list