Bug#292560: python-xlib: add support for Python 2.4
Package: python-xlib
Version: 0.12-4
Severity: wishlist
Tags: patch
Please consider adding support for Python 2.4. A trivial patch against the
current version is attached. I have tested this, and the library loads
without complaint into 2.4. However, I don't use it myself (I am doing this
for someone else) so cannot test it further.
I will report any problems with 2.4 usage to this bug report.
Faheem.
Thu Jan 27 15:30:11 EST 2005 faheem@email.unc.edu
* Add support for Python 2.4
diff -rN -u debian-old/control debian-new/control
--- debian-old/control 2005-01-27 15:31:37.000000000 -0500
+++ debian-new/control 2005-01-27 15:23:04.000000000 -0500
@@ -33,6 +33,13 @@
python-xlib is a 100% pure python implementation of the X11
protocol.
+Package: python2.4-xlib
+Architecture: all
+Depends: python2.4
+Description: Interface for Python to the X11 Protocol (for Python2.4)
+ python-xlib is a 100% pure python implementation of the X11
+ protocol.
+
Package: python-xlib-doc
Architecture: all
Section: doc
diff -rN -u debian-old/python2.4-xlib.dirs debian-new/python2.4-xlib.dirs
--- debian-old/python2.4-xlib.dirs 1969-12-31 19:00:00.000000000 -0500
+++ debian-new/python2.4-xlib.dirs 2005-01-27 15:25:35.000000000 -0500
@@ -0,0 +1,2 @@
+usr/lib/python2.4/site-packages/Xlib
+usr/share/doc/python2.4-xlib/
diff -rN -u debian-old/rules debian-new/rules
--- debian-old/rules 2005-01-27 15:31:37.000000000 -0500
+++ debian-new/rules 2005-01-27 15:22:08.000000000 -0500
@@ -36,9 +36,11 @@
cp -r Xlib debian/python2.1-xlib/usr/lib/python2.1/site-packages/
cp -r Xlib debian/python2.2-xlib/usr/lib/python2.2/site-packages/
cp -r Xlib debian/python2.3-xlib/usr/lib/python2.3/site-packages/
+ cp -r Xlib debian/python2.4-xlib/usr/lib/python2.4/site-packages/
find debian/python2.1-xlib/usr/lib/python2.1/site-packages/ -name .cvsignore -print | xargs rm
find debian/python2.2-xlib/usr/lib/python2.2/site-packages/ -name .cvsignore -print | xargs rm
find debian/python2.3-xlib/usr/lib/python2.3/site-packages/ -name .cvsignore -print | xargs rm
+ find debian/python2.4-xlib/usr/lib/python2.4/site-packages/ -name .cvsignore -print | xargs rm
cp README NEWS TODO debian/python-xlib-doc/usr/share/doc/python-xlib-doc
cp doc/html/*.html debian/python-xlib-doc/usr/share/doc/python-xlib-doc/html
cp doc/info/*.info debian/python-xlib-doc/usr/share/info
@@ -47,6 +49,7 @@
cp debian/copyright debian/python2.1-xlib/usr/share/doc/python2.1-xlib/
cp debian/copyright debian/python2.2-xlib/usr/share/doc/python2.2-xlib/
cp debian/copyright debian/python2.3-xlib/usr/share/doc/python2.3-xlib/
+ cp debian/copyright debian/python2.4-xlib/usr/share/doc/python2.4-xlib/
cp debian/copyright debian/python-xlib/usr/share/doc/python-xlib/
cp debian/copyright debian/python-xlib-doc/usr/share/doc/python-xlib-doc/
-- System Information:
Debian Release: 3.1
APT prefers testing
APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.4.25-1-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages python-xlib depends on:
ii python 2.3.4-5 An interactive high-level object-o
ii python2.3-xlib 0.12-4 Interface for Python to the X11 Pr
-- no debconf information
Reply to: