Your message dated Fri, 06 Jan 2012 11:03:11 -0200
with message-id <[email protected]>
and subject line Closed
has caused the Debian Bug report #654375,
regarding Patch to switch from python-support to dh_python2
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
654375: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654375
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:cherrypy3

Hello,

Attached is a patch to switch from python-support to dh_python2.

I followed http://wiki.debian.org/Python/TransitionToDHPython2 and compared the resulting binary packages to make sure nothing got lost in the process.

The attached diff has already been uploaded to Ubuntu.

Cheers

--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

=== modified file 'debian/changelog'
--- debian/changelog	2009-08-15 14:52:43 +0000
+++ debian/changelog	2012-01-03 09:34:13 +0000
@@ -1,3 +1,18 @@
+cherrypy3 (3.1.2-1ubuntu1) precise; urgency=low
+
+  * Convert from python-support to dh_python2
+    - debian/pyversions: Removed (no longer needed)
+    - debian/rules
+      + Replace call to dh_pysupport by dh_python2
+      + Add --with=python2 to all dh calls
+    - debian/control
+      + Drop build-depends on python-support
+      + Bump build-depends on python-all to >= 2.6.6-3~
+      + Replace XS-Python-Version by X-Python-Version
+      + Remove XB-Python-Version from binary package
+
+ -- Stéphane Graber <[email protected]>  Tue, 03 Jan 2012 10:24:11 +0100
+
 cherrypy3 (3.1.2-1) unstable; urgency=low
 
   * New upstream release (Closes: #528473)

=== modified file 'debian/control'
--- debian/control	2009-08-15 14:52:43 +0000
+++ debian/control	2012-01-03 09:35:19 +0000
@@ -3,17 +3,16 @@
 Priority: optional
 Maintainer: Gustavo Noronha Silva <[email protected]>
 Uploaders: Debian Python Modules Team <[email protected]>
-Build-Depends: debhelper (>= 7.0.0), quilt, python-setuptools (>= 0.6a9), python-all (>= 2.3.5-11), python-support (>= 0.6.4)
+Build-Depends: debhelper (>= 7.0.0), quilt, python-setuptools (>= 0.6a9), python-all (>= 2.6.6-3~)
 Build-Depends-Indep: python-epydoc
 Standards-Version: 3.8.2
 Homepage: http://www.cherrypy.org/
-XS-Python-Version: >= 2.3
+X-Python-Version: >= 2.3
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/cherrypy3/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/cherrypy3/trunk/
 
 Package: python-cherrypy3
 Architecture: all
-XB-Python-Version: ${python:Versions}
 Depends: ${python:Depends}, ${misc:Depends}
 Provides: ${python:Provides}
 Conflicts: python2.3-cherrypy, python2.4-cherrypy, python-cherrypy

=== removed file 'debian/pyversions'
--- debian/pyversions	2007-04-21 14:40:09 +0000
+++ debian/pyversions	1970-01-01 00:00:00 +0000
@@ -1,1 +0,0 @@
-2.3-
\ No newline at end of file

=== modified file 'debian/rules'
--- debian/rules	2009-08-15 14:52:43 +0000
+++ debian/rules	2012-01-03 09:31:57 +0000
@@ -5,17 +5,17 @@
 PY_DEFAULT = $(strip $(shell pyversions -d))
 
 clean: unpatch
-	dh clean
+	dh clean --with=python2
 	-rm -rf api
 	-rm -rf CherryPy.egg-info/
 
 build: $(QUILT_STAMPFN)
 	env PYTHONPATH=`pwd` epydoc --name CherryPy3 --url http://www.cherrypy.org/ -o api cherrypy
-	dh build
+	dh build --with=python2
 
 
 install: build
-	dh install --before dh_pysupport
+	dh install --with=python2 --before dh_python2
 
 	# the 'daemonization' helper should be made available properly
 	mv debian/python-cherrypy3/usr/lib/$(PY_DEFAULT)/*/cherrypy/cherryd \
@@ -26,13 +26,13 @@
 	# no additional licensing files wanted =)
 	find debian/python-cherrypy3/ -name LICENSE.txt -exec rm {} \;
 
-	dh install --remaining
+	dh install --remaining --with=python2
 
 
 binary-indep: build install
-	dh binary-indep --before dh_compress
-	dh_compress -X.py -X.pdf
-	dh binary-indep --remaining
+	dh binary-indep --before dh_compress --with=python2
+	dh_compress -X.py -X.pdf --with=python2
+	dh binary-indep --remaining --with=python2
 
 
 binary-arch: build install


--- End Message ---
--- Begin Message ---
Source: cherrypy3
Version: 3.2.2-1

Fixed in this version.

-- 
Gustavo Noronha Silva <[email protected]>
Debian

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to