r2190 - in zope.exceptions/trunk/debian (changelog control rules)
jinty-guest at users.alioth.debian.org
jinty-guest at users.alioth.debian.org
Thu Apr 28 19:04:00 UTC 2011
Date: Thursday, April 28, 2011 @ 19:03:49
Author: jinty-guest
Revision: 2190
* Build for python3 as well.
* Use dh_python2/3 rather than python-central (Closes: #617167)
* Stop using python-van.pydeb as it doesn't work with python3 yet.
Modified:
zope.exceptions/trunk/debian/changelog
zope.exceptions/trunk/debian/control
zope.exceptions/trunk/debian/rules
Modified: zope.exceptions/trunk/debian/changelog
===================================================================
--- zope.exceptions/trunk/debian/changelog 2011-04-28 18:48:00 UTC (rev 2189)
+++ zope.exceptions/trunk/debian/changelog 2011-04-28 19:03:49 UTC (rev 2190)
@@ -1,9 +1,10 @@
zope.exceptions (3.6.1-1) unstable; urgency=low
- * Update to version from ztk1.0
- * Test extra was removed, so remove it from our rules file.
+ * Build for python3 as well.
+ * Use dh_python2/3 rather than python-central (Closes: #617167)
+ * Stop using python-van.pydeb as it doesn't work with python3 yet.
- -- Brian Sutherland <brian at vanguardistas.net> Wed, 03 Nov 2010 13:05:40 +0000
+ -- Brian Sutherland <brian at vanguardistas.net> Thu, 28 Apr 2011 13:14:31 +0200
zope.exceptions (3.6.1-0ubuntu1) natty; urgency=low
Modified: zope.exceptions/trunk/debian/control
===================================================================
--- zope.exceptions/trunk/debian/control 2011-04-28 18:48:00 UTC (rev 2189)
+++ zope.exceptions/trunk/debian/control 2011-04-28 19:03:49 UTC (rev 2190)
@@ -3,18 +3,22 @@
Priority: extra
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), python-all (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3), python-van.pydeb (>= 1.3.0-4)
+Build-Depends: debhelper (>= 7), python-all (>= 2.3.5-11), python3-all, python-setuptools (>= 0.6b3), python3-setuptools
Standards-Version: 3.9.1
-XS-Python-Version: all
+X-Python-Version: all
+X-Python3-Version: all
XS-Vcs-Svn: svn://svn.debian.org/pkg-zope/zope.exceptions/trunk
Package: python-zope.exceptions
Architecture: all
-Depends: ${pydeb:Depends}, ${python:Depends}, ${misc:Depends}
-Recommends: ${pydeb:Recommends}
-Suggests: ${pydeb:Suggests}
-Provides: ${pydeb:Provides}, ${python:Provides}
-XB-Python-Version: ${python:Versions}
+Depends: python-zope, ${python:Depends}, ${misc:Depends}
Description: Zope exceptions
This package contains exception interfaces and implementations which are so
general purpose that they don't belong in Zope application-specific packages.
+
+Package: python3-zope.exceptions
+Architecture: all
+Depends: python3-zope, ${python3:Depends}, ${misc:Depends}
+Description: Zope exceptions
+ This package contains exception interfaces and implementations which are so
+ general purpose that they don't belong in Zope application-specific packages.
Modified: zope.exceptions/trunk/debian/rules
===================================================================
--- zope.exceptions/trunk/debian/rules 2011-04-28 18:48:00 UTC (rev 2189)
+++ zope.exceptions/trunk/debian/rules 2011-04-28 19:03:49 UTC (rev 2190)
@@ -2,4 +2,27 @@
%:
- dh --with pydeb --with python-central $@
+ dh --with python2 --with python3 $@
+
+package=python-zope.exceptions
+package3=python3-zope.exceptions
+
+override_dh_auto_build:
+ for pyvers in $(shell pyversions -vr); do \
+ python$$pyvers setup.py build; \
+ done
+ for pyvers in $(shell py3versions -sv); do \
+ python$$pyvers setup.py build; \
+ done
+
+override_dh_auto_install:
+ set -x; \
+ for pyvers in $(shell pyversions -vr); do \
+ python$$pyvers setup.py install --install-layout=deb \
+ --root $(CURDIR)/debian/$(package); \
+ done
+ set -x; \
+ for pyvers in $(shell py3versions -vs); do \
+ python$$pyvers setup.py install --install-layout=deb \
+ --root $(CURDIR)/debian/$(package3); \
+ done
More information about the pkg-zope-developers
mailing list