r2775 - in zope.contenttype/trunk/debian (4 files)

menesis-guest at users.alioth.debian.org menesis-guest at users.alioth.debian.org
Tue Jun 17 14:33:05 UTC 2014


    Date: Tuesday, June 17, 2014 @ 14:33:04
  Author: menesis-guest
Revision: 2775

Sync from ubuntu:
* New upstream release.
* Add support for Python 3
* Bump Standards-Version to 3.9.5
* Bump X-Python-Version to 2.6 and X-Python3-Version to 3.3

Modified:
  zope.contenttype/trunk/debian/changelog
  zope.contenttype/trunk/debian/control
  zope.contenttype/trunk/debian/rules
  zope.contenttype/trunk/debian/tests/control

Modified: zope.contenttype/trunk/debian/changelog
===================================================================
--- zope.contenttype/trunk/debian/changelog	2014-06-17 14:26:21 UTC (rev 2774)
+++ zope.contenttype/trunk/debian/changelog	2014-06-17 14:33:04 UTC (rev 2775)
@@ -1,14 +1,16 @@
-zope.contenttype (3.5.5-1) UNRELEASED; urgency=low
+zope.contenttype (4.0.1-1) UNRELEASED; urgency=low
 
   * Team upload.
   * New upstream release.
+  * Add support for Python 3
   * debian/control:
-    - Bump Standards-Version to 3.9.4
+    - Bump Standards-Version to 3.9.5
+    - Bump X-Python-Version to 2.6 and X-Python3-Version to 3.3
     - Enable autopkgtest. Closes: #692676.
   * debian/tests: switch to zope.testrunner.
   * debian/tests/all: specify the package to test
 
- -- Gediminas Paulauskas <menesis at pov.lt>  Tue, 26 Jun 2012 12:18:02 +0300
+ -- Gediminas Paulauskas <menesis at pov.lt>  Tue, 17 Jun 2014 17:32:12 +0300
 
 zope.contenttype (3.5.3-2) unstable; urgency=low
 

Modified: zope.contenttype/trunk/debian/control
===================================================================
--- zope.contenttype/trunk/debian/control	2014-06-17 14:26:21 UTC (rev 2774)
+++ zope.contenttype/trunk/debian/control	2014-06-17 14:33:04 UTC (rev 2775)
@@ -4,11 +4,14 @@
 Maintainer: Debian/Ubuntu Zope Team <pkg-zope-developers at lists.alioth.debian.org>
 Uploaders: Brian Sutherland <brian at vanguardistas.net>,
            Fabio Tranchitella <kobold at debian.org>
-Build-Depends: debhelper (>= 7),
+Build-Depends: debhelper (>= 7.0.50~),
                python-all (>= 2.6.6-14~),
-               python-setuptools
-Standards-Version: 3.9.4
-X-Python-Version: >= 2.4
+               python3-all,
+               python-setuptools,
+               python3-setuptools
+Standards-Version: 3.9.5
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.3
 XS-Testsuite: autopkgtest
 Homepage: http://pypi.python.org/pypi/zope.contenttype
 Vcs-Svn: svn://svn.debian.org/pkg-zope/zope.contenttype/trunk
@@ -17,6 +20,11 @@
 Package: python-zope.contenttype
 Architecture: all
 Depends: ${python:Depends}, ${misc:Depends}
-Provides: ${python:Provides}
 Description: Utility module for content-type handling
  This package provides a simple utility module for content-type handling.
+
+Package: python3-zope.contenttype
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: Utility module for content-type handling
+ This package provides a simple utility module for content-type handling.

Modified: zope.contenttype/trunk/debian/rules
===================================================================
--- zope.contenttype/trunk/debian/rules	2014-06-17 14:26:21 UTC (rev 2774)
+++ zope.contenttype/trunk/debian/rules	2014-06-17 14:33:04 UTC (rev 2775)
@@ -1,4 +1,27 @@
 #!/usr/bin/make -f
 
 %:
-	dh --with python2 $@
+	dh $@ --with python2,python3
+
+package=python-zope.contenttype
+package3=python3-zope.contenttype
+
+override_dh_auto_build:
+	set -ex; for pyvers in $(shell pyversions -vr); do \
+		python$$pyvers setup.py build; \
+	done
+	set -ex; for pyvers in $(shell py3versions -sv); do \
+		python$$pyvers setup.py build; \
+	done
+
+override_dh_auto_install:
+	set -ex; \
+	for pyvers in $(shell pyversions -vr); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/$(package); \
+	done
+	set -ex; \
+	for pyvers in $(shell py3versions -vs); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/$(package3); \
+	done

Modified: zope.contenttype/trunk/debian/tests/control
===================================================================
--- zope.contenttype/trunk/debian/tests/control	2014-06-17 14:26:21 UTC (rev 2774)
+++ zope.contenttype/trunk/debian/tests/control	2014-06-17 14:33:04 UTC (rev 2775)
@@ -1,2 +1,5 @@
 Tests: all
 Depends: @, python-zope.testrunner
+
+Tests: all-3
+Depends: @, python3-zope.testrunner




More information about the pkg-zope-developers mailing list