Bug#637255: pywebkitgtk: Switch to dh_python2

Barry Warsaw barry at python.org
Tue Aug 9 22:06:55 UTC 2011


Package: pywebkitgtk
Version: 1.1.8-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 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 that work,
I have converted pywebkitgtk to dh_python2, according to these guidelines:

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

Cheers.

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

iQIcBAEBCAAGBQJOQa9+AAoJEBJutWOnSwa/puwP/12QQ73QvDxfPMCzwoLnAFzv
9Y7PIh8BuWW0Ea39pqEolIlvEe3AZvBmkLMGBF8+z7m+8KHU+oiK3BNK/P1UiVXJ
N3F8WY86GhzSmopvN0OLI88e04UxmXeP9satOFnNHbK5cGsDZWVw7KtZJvpQyEWc
YYZBwPqxA5R/x9Z0FfMGNZji/9mtlEnDriUs39QPeDYE0ideMMMz/n378InwMzxv
HKEwxe2holKMv7jqCXQbK7TME4LJTY+9xJEnleG/OG1+NhrJWLcA3UOEw7lqOlrO
ZMiaiaMxoDnXdR3RRgUPn8rtSDooz4cOMj+KQ7HfaG2mznkB0a66GKMKQDm4AIu3
BBF4XujLb+R/cG1tLDwGHtrMpwlQ5bOZr4IkpJFZ89d8SHTcgKB3/22Yoq5shCwU
jCFfIz9bwukzvKQ18HmhK4TQiTdlAhUe7FxHfuAyqs0gQ5f5qnQoqxB8Gg+aLb95
TqyINIFSrkjCVlXxmylppdr+NU+Hzc7R/v9yIYtSNTJQzxI+RMEybYxjKGioAA71
SqK5BIuHhbVeiI011SyiLvlht/kaHVrLJksl8MsvMFKuwcaqyckkEn0sO3LJ1zXh
1yO/0Tx4//Di+33RFSPYUtKjKXIkdYK9yYPZdQYXWhYggi7mvmk7pNmnwLqjWeSe
E/GL6iEmb/0wmOEliKH3
=uX8E
-----END PGP SIGNATURE-----
-------------- next part --------------
=== modified file 'debian/changelog'

=== modified file 'debian/control.in'
--- debian/control.in	2011-01-10 14:48:38 +0000
+++ debian/control.in	2011-08-09 20:56:09 +0000
@@ -4,17 +4,17 @@
 Maintainer: Christophe Sauthier <christophe.sauthier at objectif-libre.com>
 Uploaders: @GNOME_TEAM@
 Build-Depends:  debhelper (>= 5),
-                cdbs (>= 0.4.73),
+                cdbs (>= 0.4.90~),
                 gnome-pkg-tools,
                 autotools-dev,
-                python-support (>= 0.5.3),
-                python-all-dev (>= 2.5.2),
+                python-all-dev (>= 2.6.6-3~),
                 libwebkitgtk-dev,
                 python-gtk2-dev,
                 libxslt1-dev,
                 libglib2.0-dev
 Standards-Version: 3.9.1
 Homepage: http://code.google.com/p/pywebkitgtk/
+X-Python-Version: >= 2.4
 
 Package: python-webkit-dev
 Architecture: all

=== modified file 'debian/python-webkit.install'
--- debian/python-webkit.install	2009-11-14 11:20:42 +0000
+++ debian/python-webkit.install	2011-08-09 21:52:11 +0000
@@ -1 +1 @@
-debian/tmp/usr/lib/python*/*-packages/*
+debian/tmp/usr/lib/python*/*-packages/webkit/*.{so,py}

=== removed file 'debian/pyversions'
--- debian/pyversions	2008-08-25 23:31:56 +0000
+++ debian/pyversions	1970-01-01 00:00:00 +0000
@@ -1 +0,0 @@
-2.4-

=== modified file 'debian/rules'
--- debian/rules	2010-09-10 22:34:11 +0000
+++ debian/rules	2011-08-09 20:53:40 +0000
@@ -1,7 +1,6 @@
 #!/usr/bin/make -f
 
 DEB_BUILDDIR = debian/build
-DEB_PYTHON_SYSTEM = pysupport
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-autotools.mk



More information about the pkg-gnome-maintainers mailing list