[Python-modules-team] Bug#635633: pyicu: Switch to dh_python2

Barry Warsaw barry at python.org
Wed Jul 27 18:46:19 UTC 2011


Package: pyicu
Version: 1.1-1
Severity: normal
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

python-support is now officially deprecated in Debian:

http://article.gmane.org/gmane.linux.debian.devel.python/6948

In Ubuntu, we are removing python-support from our CDs.  As part of this work,
I have converted pyicu to dh_python2 according to these guidelines:

http://wiki.debian.org/Python/TransitionToDHPython2

Please consider applying this patch to Debian so that we can sync the update
to Ubuntu.


*** /tmp/tmpx428Q4
In Ubuntu, the attached patch was applied to achieve the following:


  * Switch to dh_python2. (LP: #788514)


Thanks for considering the patch.


- -- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric'), (100, 'oneiric-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-7-generic (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBCAAGBQJOMFz7AAoJEBJutWOnSwa/w/cP/jYOW/JVrz6Vo2xJs9Uft2Q/
XMnHR7Ck/vS2QXmCc6jFNkfVBKKvllkM5SqBOUqumZ+ey0bOYVYzKKeXNQBkAaqv
NSThdJAL13iz0Uc4Tb/cq+vefIVsNPEdnf2vwVZTtii/AfUBLCsEaPfPUus7BtvZ
THhuCgGJc3w+8KALB6sqDM8CFj9AuriHH/dfDINv8cO0PBss34Ai9l9+dk3juzJ2
ZyNS3CeyXBKrQ+2QTg4w0GNhcP+FgRdAIOipOPHdsLsV5F8BbheP6IWF4/KJ7nPa
T02EE7fAlGmayVI+XBeHwrhXvRLENcPOfr+V1j8d2nVlSbC38v+pSynoB9qgYLpY
0ZOyvBH2S3fCRWxI2/3yguco2yugWB5bLyOqaXrAww1nacCLn93kiTVyuoKnyXvs
Hog8DTSEnuHTE9SCQ7zDoxlvUZEZ1Aowm7CVwDAB+1VGzLuQjs+zh6qpwDE6oEjV
gwooh3wyl/VgCgLU4ucZrZQaFQejmbzAvOeN0p1X0HIPVdM7gbHETH75JkNcHqir
obEIKAdln2QIuQTaFX8k4ig0LurAmXg+YJu1ttBAkGEPOA0KMOpgsTKDPD/1YD8F
7t7HpLjt39ipXDRMCkdbiz6nwjUgw/3nKLGft2KdUO2WY0skyWjSk/xpVoQonvaO
UqHVrk/HtbqGkTfg1PKn
=T0bU
-----END PGP SIGNATURE-----
-------------- next part --------------
=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control	2010-06-22 20:59:32 +0000
+++ debian/control	2011-07-27 18:32:24 +0000
@@ -3,12 +3,13 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Bernd Zeimetz <bzed at debian.org>
-Build-Depends: dpatch, debhelper (>= 5.0.37.3), python-all-dev (>= 2.4.4-3), python-all-dbg (>= 2.4.4-3), python-support (>= 0.4), libicu-dev
+Build-Depends: dpatch, debhelper (>= 5.0.37.3), python-all-dev (>= 2.6.6-3~), python-all-dbg (>= 2.6.6-3~), libicu-dev
 Build-Conflicts: python-pyicu
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pyicu/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pyicu/trunk/
 Homepage: http://pyicu.osafoundation.org/
 Standards-Version: 3.8.3
+X-Python-Version: >= 2.5
 
 Package: python-pyicu
 Architecture: any

=== removed file 'debian/pyversions'
--- debian/pyversions	2007-12-06 22:45:38 +0000
+++ debian/pyversions	1970-01-01 00:00:00 +0000
@@ -1 +0,0 @@
-2.5-

=== modified file 'debian/rules'
--- debian/rules	2011-02-14 13:15:13 +0000
+++ debian/rules	2011-07-27 18:33:05 +0000
@@ -82,7 +82,7 @@
 	dh_compress -X.py
 	dh_strip -p$(PKGNAME) --dbg-package=$(PKGNAME)-dbg
 	dh_fixperms
-	dh_pysupport
+	dh_python2
 	rm -rf debian/$(PKGNAME)-dbg/usr/share/doc/$(PKGNAME)-dbg
 	ln -s $(PKGNAME) debian/$(PKGNAME)-dbg/usr/share/doc/$(PKGNAME)-dbg
 	dh_installdeb



More information about the Python-modules-team mailing list