[Pkg-ime-devel] Bug#635023: ibus: Switch to dh_python2

Barry Warsaw barry at python.org
Thu Jul 21 20:58:56 UTC 2011


Package: ibus
Version: 1.3.9-2
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:

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

In Ubuntu, we are removing python-support and python-central from our CDs.  As
part of that work, I have converted ibus to use dh_python2 according to these
guidelines:

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

I hope you will accept this patch.  Thanks!

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

iQIcBAEBCAAGBQJOKJMQAAoJEBJutWOnSwa/KrMQAKidytI6UQFRien1X1INPKZg
y2LV7pPDMAMz31Uo9wiAc3aVKgoWfNxNOc3XQ3YknIche2Bn9Brbv8gacxRhXYWr
sBv18/vQXKLw3tJlGxMi7QVZ0/Udjw+TgxXUXvCLF/IKHDtJhV5X4okrbarUrg8x
WMyNGnsA/vKKaZvodKoBBS8KdzfxZGIKV99if5nzjJ2ZXdUFCLt2lIs66aXl1Gk7
feeDzMsUAVNh8fg2yCFe9G3Xn67Cn7Tf9NRgjQcLLFosMtJt039JaSbk5upYpk8G
fJH+tSp//CkZSRlRdNlHFXp77WVPkXIBTzt9W+tr+pRa2Z3bzkZzRbz8Z2deTsAt
cZswNPlMKZepMp7K5j+LMBXbvz1Ip0WQN2YCmEWuPv9tOhVMKignotMYWInkRIrA
npQ0mXUtLMALNv+PDtoS2tPRidLPzyuwClMSXalhsKnM9KZQ7009CYA7hz9OCOeC
3O1N6mm4WqDQ1kmPezNrtCs00UoZllIztwo+d1U+qEJwi+Ew5cdymqo4YxptLXHO
hmN38452KRELzdCn4dRvGkAcvYoPQAtW+Np9pO68/mBesuC+umg992jETvAM+EG1
FM9F8a5CVuP106/hdeYps0LsQ+8p6iKw4f1ykz1xlHdjCp1YBCfOUaHPP9OrrQs9
fzWaAoxIFz5sGPvMLYqM
=CIjA
-----END PGP SIGNATURE-----
-------------- next part --------------
=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control	2011-07-11 12:04:46 +0000
+++ debian/control	2011-07-21 20:02:10 +0000
@@ -12,11 +12,10 @@
  autoconf,
  automake,
  libtool,
- python-support (>= 0.6),
  libgtk2.0-dev,
  libgtk-3-dev,
  libdbus-glib-1-dev,
- python-dev,
+ python-dev (>= 2.6.6-3~),
  iso-codes,
  python-gobject-dev,
  libgconf2-dev,
@@ -27,6 +26,7 @@
 Vcs-Git: git://git.debian.org/pkg-ime/ibus.git
 Vcs-Browser: http://git.debian.org/?p=pkg-ime/ibus.git
 DM-Upload-Allowed: yes
+X-Python-Version: >= 2.5
 
 Package: ibus
 Architecture: any

=== removed file 'debian/pyversions'
--- debian/pyversions	2009-03-02 13:03:03 +0000
+++ debian/pyversions	1970-01-01 00:00:00 +0000
@@ -1 +0,0 @@
-2.5-

=== modified file 'debian/rules'
--- debian/rules	2011-07-11 12:04:46 +0000
+++ debian/rules	2011-07-21 20:49:29 +0000
@@ -20,7 +20,7 @@
 		$(CURDIR)/debian/tmp/usr/share/applications/ibus.desktop
 	dh_install --list-missing --fail-missing
 	dh_installdocs # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552293
-	dh $@ --after installdocs
+	dh $@ --after installdocs --with python2
 	LD_LIBRARY_PATH=debian/libibus2/usr/lib:$(LD_LIBRARY_PATH) \
 		dh_gtkmodules -p ibus-gtk -s \
 		dh_gtkmodules -p ibus-gtk3 -s



More information about the Pkg-ime-devel mailing list