[Python-modules-commits] r27512 - in packages/jsonpickle/trunk/debian (8 files)

jandd at users.alioth.debian.org jandd at users.alioth.debian.org
Sat Feb 1 22:44:19 UTC 2014


    Date: Saturday, February 1, 2014 @ 22:44:18
  Author: jandd
Revision: 27512

* New upstream version
* run wrap-and-sort
* bump Standards-Version to 3.9.5 (no changes)
* enable unit tests:
  - 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

Added:
  packages/jsonpickle/trunk/debian/patches/
  packages/jsonpickle/trunk/debian/patches/disable-tests-for-unpackaged-libraries.patch
  packages/jsonpickle/trunk/debian/patches/series
Modified:
  packages/jsonpickle/trunk/debian/changelog
  packages/jsonpickle/trunk/debian/control
  packages/jsonpickle/trunk/debian/copyright
  packages/jsonpickle/trunk/debian/rules
  packages/jsonpickle/trunk/debian/source/format

Modified: packages/jsonpickle/trunk/debian/changelog
===================================================================
--- packages/jsonpickle/trunk/debian/changelog	2014-02-01 21:39:03 UTC (rev 27511)
+++ packages/jsonpickle/trunk/debian/changelog	2014-02-01 22:44:18 UTC (rev 27512)
@@ -1,3 +1,15 @@
+jsonpickle (0.6.1-1) UNRELEASED; urgency=medium
+
+  * New upstream version
+  * run wrap-and-sort
+  * bump Standards-Version to 3.9.5 (no changes)
+  * enable unit tests:
+    - 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
+
+ -- Jan Dittberner <jandd at debian.org>  Sat, 01 Feb 2014 22:44:50 +0100
+
 jsonpickle (0.4.0-1) unstable; urgency=low
 
   [ John Paulett ]

Modified: packages/jsonpickle/trunk/debian/control
===================================================================
--- packages/jsonpickle/trunk/debian/control	2014-02-01 21:39:03 UTC (rev 27511)
+++ packages/jsonpickle/trunk/debian/control	2014-02-01 22:44:18 UTC (rev 27512)
@@ -3,25 +3,24 @@
 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~)
-Standards-Version: 3.9.2
+Build-Depends: debhelper (>= 7.0.50), python (>= 2.6.6-3~), python-feedparser, python-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/
 Homepage: http://jsonpickle.github.com
 
 Package: python-jsonpickle
 Architecture: all
-Depends: ${python:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}
 Provides: ${python:Provides}
 Suggests: python-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 
+ 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. 
-
+ serialized to JSON. jsonpickle is highly configurable and
+ extendable–allowing the user to choose the JSON backend  and add additional
+ backends.

Modified: packages/jsonpickle/trunk/debian/copyright
===================================================================
--- packages/jsonpickle/trunk/debian/copyright	2014-02-01 21:39:03 UTC (rev 27511)
+++ packages/jsonpickle/trunk/debian/copyright	2014-02-01 22:44:18 UTC (rev 27512)
@@ -17,7 +17,7 @@
     Redistribution and use in source and binary forms, with or without
     modification, are permitted provided that the following conditions
     are met:
-    
+
      1. Redistributions of source code must retain the above copyright
         notice, this list of conditions and the following disclaimer.
      2. Redistributions in binary form must reproduce the above copyright
@@ -27,7 +27,7 @@
      3. The name of the author may not be used to endorse or promote
         products derived from this software without specific prior
         written permission.
-    
+
         THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
         ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
         IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
@@ -39,10 +39,9 @@
         LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
         OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
         SUCH DAMAGE.
-    
+
 The Debian packaging is:
 
     Copyright (C) 2009-2011 John Paulett <john at paulett.org>
 
 and is licensed under the same terms as jsonpickle
-

Added: packages/jsonpickle/trunk/debian/patches/disable-tests-for-unpackaged-libraries.patch
===================================================================
--- packages/jsonpickle/trunk/debian/patches/disable-tests-for-unpackaged-libraries.patch	                        (rev 0)
+++ packages/jsonpickle/trunk/debian/patches/disable-tests-for-unpackaged-libraries.patch	2014-02-01 22:44:18 UTC (rev 27512)
@@ -0,0 +1,13 @@
+Author: Jan Dittberner <jandd at debian.org>
+Subject: Disable UJson test
+--- a/tests/backends_tests.py
++++ b/tests/backends_tests.py
+@@ -157,7 +157,7 @@
+ def suite():
+     suite = unittest.TestSuite()
+     suite.addTest(unittest.makeSuite(JsonTestCase))
+-    suite.addTest(unittest.makeSuite(UJsonTestCase))
++    #suite.addTest(unittest.makeSuite(UJsonTestCase))
+     if not PY32:
+         suite.addTest(unittest.makeSuite(SimpleJsonTestCase))
+     if PY2:

Added: packages/jsonpickle/trunk/debian/patches/series
===================================================================
--- packages/jsonpickle/trunk/debian/patches/series	                        (rev 0)
+++ packages/jsonpickle/trunk/debian/patches/series	2014-02-01 22:44:18 UTC (rev 27512)
@@ -0,0 +1 @@
+disable-tests-for-unpackaged-libraries.patch

Modified: packages/jsonpickle/trunk/debian/rules
===================================================================
--- packages/jsonpickle/trunk/debian/rules	2014-02-01 21:39:03 UTC (rev 27511)
+++ packages/jsonpickle/trunk/debian/rules	2014-02-01 22:44:18 UTC (rev 27512)
@@ -1,4 +1,7 @@
 #!/usr/bin/make -f
 
+override_dh_auto_test:
+	tests/runtests.py
+
 %:
 	dh --with python2 $@

Modified: packages/jsonpickle/trunk/debian/source/format
===================================================================
--- packages/jsonpickle/trunk/debian/source/format	2014-02-01 21:39:03 UTC (rev 27511)
+++ packages/jsonpickle/trunk/debian/source/format	2014-02-01 22:44:18 UTC (rev 27512)
@@ -1 +1 @@
-1.0
+3.0 (quilt)




More information about the Python-modules-commits mailing list