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

Barry Warsaw barry at python.org
Fri Jul 22 21:59:02 UTC 2011


Package: ibus-table
Version: 1.3.0.20100621-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 going to remove python-support from our CDs, and as part of
that work, I have converted the ibus-table package to use dh_python2 according
to these guidelines:

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

Please consider applying this change to Debian.

Thanks.


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

iQIcBAEBCAAGBQJOKfKmAAoJEBJutWOnSwa/HqYQAIw05Vfu2p16dvxetJp+CMxJ
P1msIt009ZwTl7OnIqxULB/PymPmnvnmLZJx+Zmn65dSOX6mTkBLlBn+bnP1tbMf
VNARPnfB9E033n9IxLCi/QE8q2JZ02v22F8UE+3jgCFqFmeU2mSNZF6yr16ZVuu1
lzeytmbp7+TRMZMkDGcxf3IRUEoELaksR7Sg0gtw3ETcIt2qbzp3tZmIdSu//39D
oleZLWapflex+1+FcKnpPuby9/xBysC2uvLsF+Ti9eAYofZzBIKc3lvkMXPLuMnA
RQdou4N4S7SSjtorWjFptA0x+CcaIm7TmPH+ya9iek7/MQGM/l9G0m81UVVubTon
yZ/vNkEpIwmVW9cC/gZpa6AgVq+RMpoy+7NtbClT9h/3kSZfTZQNtlNO2p3/ZQ74
mEWIhzSPkc7O2s1+E7/IFUila+YOFEhyxXbgSA5db3RL+NQv6Z0jbKw4kYB9Czaa
L6g1QfYfybB56Z2dg/d484712aji0ekae4AwI4TfulITGvNltMbZCtss494g7SR+
v6CCAfB6vO35k4dqA6KNeGp4MCqpcQ2d1dcJ9HeNLAsR38cZkNzC9xENgQViyyYU
RhFqUqmjFIloS+0tX4YY99D8F6py1o2yWfFvmLDuTcAhPRz0S8Gc0ueQaY/aqYFa
/2C4E4IcVmnaIAwS77kE
=NLiv
-----END PGP SIGNATURE-----
-------------- next part --------------
=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control	2010-08-07 08:47:31 +0000
+++ debian/control	2011-07-21 22:10:55 +0000
@@ -6,7 +6,7 @@
 Build-Depends:
  debhelper (>= 7),
  autotools-dev,
- python-support,
+ python (>= 2.6.6-3~),
  pkg-config,
  libibus-dev (>= 1.2)
 Standards-Version: 3.9.1

=== modified file 'debian/rules'
--- debian/rules	2010-08-07 08:47:31 +0000
+++ debian/rules	2011-07-22 21:40:49 +0000
@@ -58,7 +58,8 @@
 	dh_installdocs
 	dh_installexamples
 	dh_installman
-	dh_pysupport
+	dh_python2 --skip-private
+	dh_python2 /usr/share/ibus-table/engine
 	dh_lintian
 	dh_link
 	dh_strip



More information about the Pkg-ime-devel mailing list