[Python-modules-team] Bug#635630: pycurl: Switch to dh_python2

Barry Warsaw barry at python.org
Wed Jul 27 18:03:31 UTC 2011


Package: pycurl
Version: 7.19.0-4
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 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 pycurl to use dh_python2 according to these guidelines:

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


*** /tmp/tmpON3bUn
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)

iQIcBAEBCAAGBQJOMFLzAAoJEBJutWOnSwa/fvYP/RDxX1KBqnDasSKiZA94mzC9
0j6aoAnS083S77tCIUwnpeQ4xQi2sPQJQaEJnLu7dGQp0t5A+r7lY2FjXmLz5rMa
ODEnxOTR9vbDud+npqXB007Mzyle3SRlnP793pwSGIVlm91v/YYdiGdBByZ+/jE0
XF0KQK2pgXxLjp4HWV4o+EsXq7xLF56+/SC1tlRgXQUz6nQz0ADD/VIoaAfxwR4t
mX9d5sm06mEdv0MhjA1fXZqmb21G6mJTJY/BxuOI+ZGVs/s/zAEemF1fu86+zKsw
oZESXW4fA3gobZYRSAaLk7WTmvSm1CHgsWW9XxMST59cp8Lpv/YvUevc1bLAL/Ok
cUjJ/t5m4MBxi5imT3Hmd51bvK5tthP3hu+2JrakMoh61ihYiGOqA7237uPMahj/
WMd0aqRxt/TiRY6e946AKepg6H0zEti6tA3hOXk1IFQ4H5R+9G+OSlnIjM4T3X5D
xXwW2UNdu/SNVoFWRnLnkHiiKtrqDfWggmOx8ydPXCOt/hczydzC64/SU6nqOK7i
sXps3JG7kJMr8qQ550GcR1myr/LWN52fsf5oeR8SgLQ8bxWp4Wl/fMN0Lb8zJapD
PRs3n4bYX1D9r/d8DfKpsGimwzYngHJCFtp6zXhxZy00+VOxFs/CAOgunbL+n6GB
Wdanr6gDsdlU9R/qrrfu
=MCu6
-----END PGP SIGNATURE-----
-------------- next part --------------
=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control	2011-04-16 19:37:02 +0000
+++ debian/control	2011-07-27 17:42:41 +0000
@@ -3,11 +3,12 @@
 Priority: optional
 Maintainer: Debian Python Modules Team <python-modules-team at lists.alioth.debian.org>
 Uploaders: Sandro Tosi <morph at debian.org>, Bernd Zeimetz <bzed at debian.org>
-Build-Depends: debhelper (>= 5.0.37.1), python-all-dev (>= 2.3.5-9), python-all-dbg, python-support (>= 0.7.1), libcurl4-gnutls-dev (>= 7.19.0), dpatch, librtmp-dev
+Build-Depends: debhelper (>= 5.0.37.1), python-all-dev (>= 2.6.6-3~), python-all-dbg, libcurl4-gnutls-dev (>= 7.19.0), dpatch, librtmp-dev
 Standards-Version: 3.8.3
 Homepage: http://pycurl.sourceforge.net
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/pycurl/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-modules/packages/pycurl/trunk/
+X-Python-Version: >= 2.3
 
 Package: python-pycurl
 Architecture: any

=== removed file 'debian/pyversions'
--- debian/pyversions	2009-05-15 22:33:30 +0000
+++ debian/pyversions	1970-01-01 00:00:00 +0000
@@ -1 +0,0 @@
-2.3-

=== modified file 'debian/rules'
--- debian/rules	2009-09-27 18:03:31 +0000
+++ debian/rules	2011-07-27 17:47:18 +0000
@@ -74,7 +74,7 @@
 	dh_installdocs -a -A TODO
 	dh_installexamples -a -A examples/* 
 	dh_installchangelogs -a ChangeLog
-	dh_pysupport -a
+	dh_python2 -a
 	dh_strip -ppython-pycurl --dbg-package=python-pycurl-dbg
 	rm -rf debian/python-pycurl-dbg/usr/share/doc/python-pycurl-dbg
 	ln -s python-pycurl debian/python-pycurl-dbg/usr/share/doc/python-pycurl-dbg



More information about the Python-modules-team mailing list