[Python-modules-commits] r25583 - in packages/cerealizer/tags (17 files)

bernat at users.alioth.debian.org bernat at users.alioth.debian.org
Thu Aug 15 12:55:26 UTC 2013


    Date: Thursday, August 15, 2013 @ 12:55:24
  Author: bernat
Revision: 25583

[svn-buildpackage] Tagging cerealizer 0.8.1-1

Added:
  packages/cerealizer/tags/0.8.1-1/
  packages/cerealizer/tags/0.8.1-1/debian/changelog
    (from rev 25582, packages/cerealizer/trunk/debian/changelog)
  packages/cerealizer/tags/0.8.1-1/debian/compat
    (from rev 25511, packages/cerealizer/trunk/debian/compat)
  packages/cerealizer/tags/0.8.1-1/debian/control
    (from rev 25580, packages/cerealizer/trunk/debian/control)
  packages/cerealizer/tags/0.8.1-1/debian/copyright
    (from rev 25513, packages/cerealizer/trunk/debian/copyright)
  packages/cerealizer/tags/0.8.1-1/debian/patches/python3-compatible-tests.patch
    (from rev 25578, packages/cerealizer/trunk/debian/patches/python3-compatible-tests.patch)
  packages/cerealizer/tags/0.8.1-1/debian/patches/series
    (from rev 25577, packages/cerealizer/trunk/debian/patches/series)
  packages/cerealizer/tags/0.8.1-1/debian/rules
    (from rev 25580, packages/cerealizer/trunk/debian/rules)
Deleted:
  packages/cerealizer/tags/0.8.1-1/debian/changelog
  packages/cerealizer/tags/0.8.1-1/debian/compat
  packages/cerealizer/tags/0.8.1-1/debian/control
  packages/cerealizer/tags/0.8.1-1/debian/copyright
  packages/cerealizer/tags/0.8.1-1/debian/examples
  packages/cerealizer/tags/0.8.1-1/debian/patches/series
  packages/cerealizer/tags/0.8.1-1/debian/pyversions
  packages/cerealizer/tags/0.8.1-1/debian/rules
  packages/cerealizer/tags/0.8.1-1/debian/runtests.py

Deleted: packages/cerealizer/tags/0.8.1-1/debian/changelog
===================================================================
--- packages/cerealizer/trunk/debian/changelog	2013-08-11 16:16:00 UTC (rev 25509)
+++ packages/cerealizer/tags/0.8.1-1/debian/changelog	2013-08-15 12:55:24 UTC (rev 25583)
@@ -1,104 +0,0 @@
-cerealizer (0.7-5) UNRELEASED; urgency=low
-
-  * Use canonical URIs for Vcs-* fields.
-
- -- Jakub Wilk <jwilk at debian.org>  Sun, 05 May 2013 16:00:34 +0200
-
-cerealizer (0.7-4) unstable; urgency=low
-
-  * Bump Standards-Version to 3.8.4.
-  * Switch to 3.0 (quilt) format.
-  * Fix unittests to be able to run with Python 2.6. Closes: #571157.
-  * Remove control.in, adjust depedencies.
-
- -- Vincent Bernat <bernat at debian.org>  Tue, 02 Mar 2010 08:20:40 +0100
-
-cerealizer (0.7-3) unstable; urgency=low
-
-  * Invoke unit tests in a way that works with newer
-    python-support. Closes: #516139.
-
- -- Vincent Bernat <bernat at debian.org>  Sat, 21 Feb 2009 14:32:52 +0100
-
-cerealizer (0.7-2) unstable; urgency=low
-
-  [ Vincent Bernat ]
-  * Upload to unstable with some misc packaging fixes:
-    - Add missing ${misc:Depends} in debian/control.
-    - Add description to patches.
-    - Refer to GPL-2 file instead of just GPL in debian/copyright.
-
-  [ Sandro Tosi ]
-  * debian/control
-    - switch Vcs-Browser field to viewsvn
-
- -- Vincent Bernat <bernat at debian.org>  Sun, 15 Feb 2009 16:14:00 +0100
-
-cerealizer (0.7-1) experimental; urgency=low
-
-  * Adopt package. Thanks to Marc for his work.
-  * New upstream release.
-  * In debian/control:
-      - switch to Standards-Version 3.8.0, no change required
-      - add VCS fields
-  * Run unittests on build.
-  * Remove debian/pycompat which is not needed anymore.
-
- -- Vincent Bernat <bernat at debian.org>  Sun, 31 Aug 2008 14:52:43 +0200
-
-cerealizer (0.6-2) unstable; urgency=low
-
-  * Moved homepage information to new control field.
-  * Increased Standards-Version (no changes).
-
- -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Sun, 02 Mar 2008 17:52:22 +0100
-
-cerealizer (0.6-1) unstable; urgency=low
-
-  * New upstream release.
-  * Updated Enhances field, python-tofu is now included in python-soya.
-
- -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Sun, 01 Jul 2007 12:42:25 +0200
-
-cerealizer (0.5-1) unstable; urgency=low
-
-  * New upstream release.
-
- -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Mon, 31 Jul 2006 21:44:36 +0200
-
-cerealizer (0.4-4) unstable; urgency=low
-
-  * Do not create '.version' file, dh_pysupport does this for us now.
-
- -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Tue, 27 Jun 2006 00:22:27 +0200
-
-cerealizer (0.4-3) unstable; urgency=low
-
-  * Rebuilt with improved Python tools, added 'debian/pycompat', and
-    removed useless XS-/XB- fields.
-  * Updated upstream homepage (part 2 ;-).
-
- -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Mon, 26 Jun 2006 23:37:51 +0200
-
-cerealizer (0.4-2) unstable; urgency=low
-
-  * Comply with new policy (Closes: #373302).
-  * Switched to debhelper compat 5.
-  * Updated upstream homepage.
-
- -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Sat, 17 Jun 2006 03:10:55 +0200
-
-cerealizer (0.4-1) unstable; urgency=low
-
-  * New upstream release.
-  * Increased Standards-Version to 3.7.2.0 (no changes).
-
- -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Sun, 11 Jun 2006 22:27:16 +0200
-
-cerealizer (0.1-1) unstable; urgency=low
-
-  * Initial Release.
-  * Entering the Python Modules Packaging Team.
-
- -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Thu,  6 Apr 2006 01:18:52 +0200
-

Copied: packages/cerealizer/tags/0.8.1-1/debian/changelog (from rev 25582, packages/cerealizer/trunk/debian/changelog)
===================================================================
--- packages/cerealizer/tags/0.8.1-1/debian/changelog	                        (rev 0)
+++ packages/cerealizer/tags/0.8.1-1/debian/changelog	2013-08-15 12:55:24 UTC (rev 25583)
@@ -0,0 +1,112 @@
+cerealizer (0.8.1-1) unstable; urgency=low
+
+  [ Jakub Wilk ]
+  * Use canonical URIs for Vcs-* fields.
+
+  [ Vincent Bernat ]
+  * New upstream release
+  * Bump Standards-Version to 3.9.4.
+  * Switch to pybuilder and dh-python.
+  * Update debian/copyright to machine-readable format.
+  * Remove examples (they are not really examples).
+
+ -- Vincent Bernat <bernat at debian.org>  Thu, 15 Aug 2013 14:51:28 +0200
+
+cerealizer (0.7-4) unstable; urgency=low
+
+  * Bump Standards-Version to 3.8.4.
+  * Switch to 3.0 (quilt) format.
+  * Fix unittests to be able to run with Python 2.6. Closes: #571157.
+  * Remove control.in, adjust depedencies.
+
+ -- Vincent Bernat <bernat at debian.org>  Tue, 02 Mar 2010 08:20:40 +0100
+
+cerealizer (0.7-3) unstable; urgency=low
+
+  * Invoke unit tests in a way that works with newer
+    python-support. Closes: #516139.
+
+ -- Vincent Bernat <bernat at debian.org>  Sat, 21 Feb 2009 14:32:52 +0100
+
+cerealizer (0.7-2) unstable; urgency=low
+
+  [ Vincent Bernat ]
+  * Upload to unstable with some misc packaging fixes:
+    - Add missing ${misc:Depends} in debian/control.
+    - Add description to patches.
+    - Refer to GPL-2 file instead of just GPL in debian/copyright.
+
+  [ Sandro Tosi ]
+  * debian/control
+    - switch Vcs-Browser field to viewsvn
+
+ -- Vincent Bernat <bernat at debian.org>  Sun, 15 Feb 2009 16:14:00 +0100
+
+cerealizer (0.7-1) experimental; urgency=low
+
+  * Adopt package. Thanks to Marc for his work.
+  * New upstream release.
+  * In debian/control:
+      - switch to Standards-Version 3.8.0, no change required
+      - add VCS fields
+  * Run unittests on build.
+  * Remove debian/pycompat which is not needed anymore.
+
+ -- Vincent Bernat <bernat at debian.org>  Sun, 31 Aug 2008 14:52:43 +0200
+
+cerealizer (0.6-2) unstable; urgency=low
+
+  * Moved homepage information to new control field.
+  * Increased Standards-Version (no changes).
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Sun, 02 Mar 2008 17:52:22 +0100
+
+cerealizer (0.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * Updated Enhances field, python-tofu is now included in python-soya.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Sun, 01 Jul 2007 12:42:25 +0200
+
+cerealizer (0.5-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Mon, 31 Jul 2006 21:44:36 +0200
+
+cerealizer (0.4-4) unstable; urgency=low
+
+  * Do not create '.version' file, dh_pysupport does this for us now.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Tue, 27 Jun 2006 00:22:27 +0200
+
+cerealizer (0.4-3) unstable; urgency=low
+
+  * Rebuilt with improved Python tools, added 'debian/pycompat', and
+    removed useless XS-/XB- fields.
+  * Updated upstream homepage (part 2 ;-).
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Mon, 26 Jun 2006 23:37:51 +0200
+
+cerealizer (0.4-2) unstable; urgency=low
+
+  * Comply with new policy (Closes: #373302).
+  * Switched to debhelper compat 5.
+  * Updated upstream homepage.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Sat, 17 Jun 2006 03:10:55 +0200
+
+cerealizer (0.4-1) unstable; urgency=low
+
+  * New upstream release.
+  * Increased Standards-Version to 3.7.2.0 (no changes).
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Sun, 11 Jun 2006 22:27:16 +0200
+
+cerealizer (0.1-1) unstable; urgency=low
+
+  * Initial Release.
+  * Entering the Python Modules Packaging Team.
+
+ -- Marc Dequènes (Duck) <Duck at DuckCorp.org>  Thu,  6 Apr 2006 01:18:52 +0200
+

Deleted: packages/cerealizer/tags/0.8.1-1/debian/compat
===================================================================
--- packages/cerealizer/trunk/debian/compat	2013-08-11 16:16:00 UTC (rev 25509)
+++ packages/cerealizer/tags/0.8.1-1/debian/compat	2013-08-15 12:55:24 UTC (rev 25583)
@@ -1 +0,0 @@
-5

Copied: packages/cerealizer/tags/0.8.1-1/debian/compat (from rev 25511, packages/cerealizer/trunk/debian/compat)
===================================================================
--- packages/cerealizer/tags/0.8.1-1/debian/compat	                        (rev 0)
+++ packages/cerealizer/tags/0.8.1-1/debian/compat	2013-08-15 12:55:24 UTC (rev 25583)
@@ -0,0 +1 @@
+7

Deleted: packages/cerealizer/tags/0.8.1-1/debian/control
===================================================================
--- packages/cerealizer/trunk/debian/control	2013-08-11 16:16:00 UTC (rev 25509)
+++ packages/cerealizer/tags/0.8.1-1/debian/control	2013-08-15 12:55:24 UTC (rev 25583)
@@ -1,21 +0,0 @@
-Source: cerealizer
-Section: python
-Priority: optional
-Maintainer: Vincent Bernat <bernat at debian.org>
-Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
-Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python, python-support (>= 0.3.2)
-Standards-Version: 3.8.4
-Homepage: http://home.gna.org/oomadness/en/cerealizer/
-Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/cerealizer/trunk/
-Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/cerealizer/trunk/
-
-Package: python-cerealizer
-Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
-Enhances: python-soya
-Description: secure pickle-like module for Python
- It support basic types (int, string, unicode, tuple, list,
- dict, set,...), old and new-style classes (you need to
- register the class for security), object cycles, and it can
- be extended to support C-defined type.
-

Copied: packages/cerealizer/tags/0.8.1-1/debian/control (from rev 25580, packages/cerealizer/trunk/debian/control)
===================================================================
--- packages/cerealizer/tags/0.8.1-1/debian/control	                        (rev 0)
+++ packages/cerealizer/tags/0.8.1-1/debian/control	2013-08-15 12:55:24 UTC (rev 25583)
@@ -0,0 +1,33 @@
+Source: cerealizer
+Section: python
+Priority: optional
+Maintainer: Vincent Bernat <bernat at debian.org>
+Uploaders: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
+Build-Depends: debhelper (>= 7.0.50~), dh-python, python-all, python3-all
+Standards-Version: 3.9.4
+Homepage: http://home.gna.org/oomadness/en/cerealizer/
+Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/cerealizer/trunk/
+Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/cerealizer/trunk/
+
+Package: python-cerealizer
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Enhances: python-soya
+Description: secure pickle-like module for Python 2
+ It support basic types (int, string, unicode, tuple, list,
+ dict, set,...), old and new-style classes (you need to
+ register the class for security), object cycles, and it can
+ be extended to support C-defined type.
+ .
+ This is the Python 2 version of the package.
+
+Package: python3-cerealizer
+Architecture: all
+Depends: ${python:Depends}, ${misc:Depends}
+Description: secure pickle-like module for Python 3
+ It support basic types (int, string, unicode, tuple, list,
+ dict, set,...), old and new-style classes (you need to
+ register the class for security), object cycles, and it can
+ be extended to support C-defined type.
+ .
+ This is the Python 3 version of the package.

Deleted: packages/cerealizer/tags/0.8.1-1/debian/copyright
===================================================================
--- packages/cerealizer/trunk/debian/copyright	2013-08-11 16:16:00 UTC (rev 25509)
+++ packages/cerealizer/tags/0.8.1-1/debian/copyright	2013-08-15 12:55:24 UTC (rev 25583)
@@ -1,28 +0,0 @@
-This package was debianized by Marc Dequènes (Duck) <Duck at DuckCorp.org> on
-Wed, 14 May 2003 00:36:21 +0200.
-
-It was downloaded from http://home.gna.org/oomadness/en/cerealizer/
-
-Upstream Author: Jiba <jiba at tuxfamily.org>
-
-Copyright:
-
-   Cerealizer is copyright (c) 2006 Jean-Baptiste LAMY
-
-   This package is free software; you can redistribute it and/or modify
-   it under the terms of the GNU General Public License as published by
-   the Free Software Foundation; version 2 dated June, 1991.
-
-   This package is distributed in the hope that it will be useful,
-   but WITHOUT ANY WARRANTY; without even the implied warranty of
-   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-   GNU General Public License for more details.
-
-   You should have received a copy of the GNU General Public License
-   along with this package; if not, write to the Free Software
-   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-   02110-1301, USA.
-
-On Debian systems, the complete text of the GNU General
-Public License can be found in `/usr/share/common-licenses/GPL-2'.
-

Copied: packages/cerealizer/tags/0.8.1-1/debian/copyright (from rev 25513, packages/cerealizer/trunk/debian/copyright)
===================================================================
--- packages/cerealizer/tags/0.8.1-1/debian/copyright	                        (rev 0)
+++ packages/cerealizer/tags/0.8.1-1/debian/copyright	2013-08-15 12:55:24 UTC (rev 25583)
@@ -0,0 +1,70 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Cerealizer
+Upstream-Contact: Jean-Baptiste Lamy <jibalamy at free.fr>
+Source: http://home.gna.org/oomadness/en/cerealizer/
+
+Files: *
+Copyright: 2005-2012 Jean-Baptiste LAMY
+           2008 Peter Eckersley
+           2008 Steve Benson, Lann Martin
+License: Python
+
+Files: debian/*
+Copyright: 2003-2008 Marc Dequènes (Duck) <Duck at DuckCorp.org>
+           2008-2011 Vincent Bernat <bernat at debian.org>
+License: GPL-3+
+
+License: Python
+ PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 
+ -------------------------------------------- 
+ .
+ 1. This LICENSE AGREEMENT is between the Python Software Foundation 
+ ("PSF"), and the Individual or Organization ("Licensee") accessing and 
+ otherwise using this software ("Python") in source or binary form and 
+ its associated documentation. 
+ .
+ 2. Subject to the terms and conditions of this License Agreement, PSF 
+ hereby grants Licensee a nonexclusive, royalty-free, world-wide 
+ license to reproduce, analyze, test, perform and/or display publicly, 
+ prepare derivative works, distribute, and otherwise use Python 
+ alone or in any derivative version, provided, however, that PSF's 
+ License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 
+ 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights 
+ Reserved" are retained in Python alone or in any derivative version 
+ prepared by Licensee. 
+ .
+ 3. In the event Licensee prepares a derivative work that is based on 
+ or incorporates Python or any part thereof, and wants to make 
+ the derivative work available to others as provided herein, then 
+ Licensee hereby agrees to include in any such work a brief summary of 
+ the changes made to Python. 
+ .
+ 4. PSF is making Python available to Licensee on an "AS IS" 
+ basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR 
+ IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND 
+ DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS 
+ FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT 
+ INFRINGE ANY THIRD PARTY RIGHTS. 
+ .
+ 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 
+ FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS 
+ A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, 
+ OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 
+ .
+ 6. This License Agreement will automatically terminate upon a material 
+ breach of its terms and conditions. 
+ .
+ 7. Nothing in this License Agreement shall be deemed to create any 
+ relationship of agency, partnership, or joint venture between PSF and 
+ Licensee. This License Agreement does not grant permission to use PSF 
+ trademarks or trade name in a trademark sense to endorse or promote 
+ products or services of Licensee, or any third party. 
+ .
+ 8. By copying, installing or otherwise using Python, Licensee 
+ agrees to be bound by the terms and conditions of this License 
+ Agreement. 
+
+License: GPL-3+
+ On Debian systems, the complete text of the GNU General
+ Public License version 3 can be found in the file
+ `/usr/share/common-licenses/GPL-3'.

Deleted: packages/cerealizer/tags/0.8.1-1/debian/examples
===================================================================
--- packages/cerealizer/trunk/debian/examples	2013-08-11 16:16:00 UTC (rev 25509)
+++ packages/cerealizer/tags/0.8.1-1/debian/examples	2013-08-15 12:55:24 UTC (rev 25583)
@@ -1 +0,0 @@
-test/*

Copied: packages/cerealizer/tags/0.8.1-1/debian/patches/python3-compatible-tests.patch (from rev 25578, packages/cerealizer/trunk/debian/patches/python3-compatible-tests.patch)
===================================================================
--- packages/cerealizer/tags/0.8.1-1/debian/patches/python3-compatible-tests.patch	                        (rev 0)
+++ packages/cerealizer/tags/0.8.1-1/debian/patches/python3-compatible-tests.patch	2013-08-15 12:55:24 UTC (rev 25583)
@@ -0,0 +1,42 @@
+Ensure tests are working with Python3.
+
+Index: Cerealizer-0.7/test/regtest.py
+===================================================================
+--- Cerealizer-0.7.orig/test/regtest.py	2006-06-17 00:05:55.000000000 +0200
++++ Cerealizer-0.7/test/regtest.py	2013-08-15 14:39:59.750049950 +0200
+@@ -10,7 +10,7 @@
+ 
+ import cerealizer
+ import unittest
+-
++import imp
+ 
+ class TestBasicType(unittest.TestCase):
+   def setUp(self):
+@@ -43,7 +43,7 @@
+   def test_set2     (self): self.loads_dumps_and_compare(set([1, 2.2, "jiba"]))
+   def test_dict1    (self): self.loads_dumps_and_compare({})
+   def test_dict2    (self): self.loads_dumps_and_compare({ "jiba" : 100, "other" : 0 })
+-  def test_dict3    (self): self.loads_dumps_and_compare({ "jiba" : range(100), "other" : { 1:2 } })
++  def test_dict3    (self): self.loads_dumps_and_compare({ "jiba" : list(range(100)), "other" : { 1:2 } })
+   
+   def test_None    (self): self.loads_dumps_and_compare(None)
+   
+@@ -228,7 +228,7 @@
+     o = OldObj()
+     s = cerealizer.dumps(o)
+     
+-    reload(cerealizer)
++    imp.reload(cerealizer)
+     class NewObj(object):
+       def __init__(self):
+         self.x    = 2
+@@ -283,7 +283,7 @@
+     
+   def test_craked_file1(self):
+     craked_file = "cereal1\n2\n__builtin__.dict\nfile\n0\nr0\nr1\n"
+-    self.assertRaises(StandardError, lambda : cerealizer.loads(craked_file))
++    self.assertRaises(Exception, lambda : cerealizer.loads(craked_file))
+     
+ 
+ if __name__ == '__main__': unittest.main()

Deleted: packages/cerealizer/tags/0.8.1-1/debian/patches/series
===================================================================
--- packages/cerealizer/trunk/debian/patches/series	2013-08-11 16:16:00 UTC (rev 25509)
+++ packages/cerealizer/tags/0.8.1-1/debian/patches/series	2013-08-15 12:55:24 UTC (rev 25583)
@@ -1 +0,0 @@
-no_bytecompilation.patch

Copied: packages/cerealizer/tags/0.8.1-1/debian/patches/series (from rev 25577, packages/cerealizer/trunk/debian/patches/series)
===================================================================
--- packages/cerealizer/tags/0.8.1-1/debian/patches/series	                        (rev 0)
+++ packages/cerealizer/tags/0.8.1-1/debian/patches/series	2013-08-15 12:55:24 UTC (rev 25583)
@@ -0,0 +1,2 @@
+no_bytecompilation.patch
+python3-compatible-tests.patch

Deleted: packages/cerealizer/tags/0.8.1-1/debian/pyversions
===================================================================
--- packages/cerealizer/trunk/debian/pyversions	2013-08-11 16:16:00 UTC (rev 25509)
+++ packages/cerealizer/tags/0.8.1-1/debian/pyversions	2013-08-15 12:55:24 UTC (rev 25583)
@@ -1 +0,0 @@
-2.4-

Deleted: packages/cerealizer/tags/0.8.1-1/debian/rules
===================================================================
--- packages/cerealizer/trunk/debian/rules	2013-08-11 16:16:00 UTC (rev 25509)
+++ packages/cerealizer/tags/0.8.1-1/debian/rules	2013-08-15 12:55:24 UTC (rev 25583)
@@ -1,14 +0,0 @@
-#!/usr/bin/make -f
-# -*- mode: makefile; coding: utf-8 -*-
-
-include /usr/share/cdbs/1/rules/debhelper.mk
-DEB_PYTHON_SYSTEM = pysupport
-include /usr/share/cdbs/1/class/python-distutils.mk
-
-DEB_COMPRESS_EXCLUDE := .py
-
-ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
-install/python-cerealizer::
-	$(call cdbs_python_binary,python$(cdbs_python_compile_version)) \
-		debian/runtests.py debian/python-cerealizer
-endif

Copied: packages/cerealizer/tags/0.8.1-1/debian/rules (from rev 25580, packages/cerealizer/trunk/debian/rules)
===================================================================
--- packages/cerealizer/tags/0.8.1-1/debian/rules	                        (rev 0)
+++ packages/cerealizer/tags/0.8.1-1/debian/rules	2013-08-15 12:55:24 UTC (rev 25583)
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+
+export PYBUILD_DESTDIR_python2=debian/python-cerealizer/
+export PYBUILD_DESTDIR_python3=debian/python3-cerealizer/
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_auto_test:
+	PYBUILD_SYSTEM=custom \
+	PYBUILD_TEST_ARGS="{interpreter} test/regtest.py" dh_auto_test

Deleted: packages/cerealizer/tags/0.8.1-1/debian/runtests.py
===================================================================
--- packages/cerealizer/trunk/debian/runtests.py	2013-08-11 16:16:00 UTC (rev 25509)
+++ packages/cerealizer/tags/0.8.1-1/debian/runtests.py	2013-08-15 12:55:24 UTC (rev 25583)
@@ -1,15 +0,0 @@
-import sys
-from os.path import join
-from distutils.sysconfig import get_python_lib
-from site import addsitedir
-
-root = sys.argv.pop(1)
-site_packages = get_python_lib()
-
-_path = sys.path[:]
-sys.path[:] = []
-addsitedir(join(root, site_packages[1:]))
-addsitedir(join(root, site_packages[1:].replace('dist-packages', 'site-packages')))
-sys.path.extend(_path)
-
-execfile("test/regtest.py")




More information about the Python-modules-commits mailing list