Here's a patch to build bindings for python 2.3 and 2.4. -- Jan Lübbe <[EMAIL PROTECTED]> http://sicherheitsschwankung.de gpg-key 1024D/D8480F2E 2002-03-20 fingerprint 1B25 F91F 9E7B 5D4F 1282 02D6 8A83 8BE4 D848 0F2E
Index: debian/control
===================================================================
--- debian/control (revision 43)
+++ debian/control (working copy)
@@ -43,15 +43,40 @@
Package: python-vte
Architecture: any
Section: python
-Depends: ${shlibs:Depends}, ${python:Depends}, python-gtk2
+Depends: python2.3-vte
Description: Python bindings for the VTE widget set
The VTE library inserts terminal capability strings into a trie, and then
uses it to determine if data received from a pseudo-terminal is a control
sequence or just random data. The sample program "interpret" illustrates
more or less what the widget sees after it filters incoming data.
.
- This package contains the bindings to use VTE in Python programs.
+ This package is a dependency package, which selects the right package for
+ the default Python version (currently 2.3).
+Package: python2.3-vte
+Architecture: any
+Section: python
+Depends: ${shlibs:Depends}, ${python:Depends}, python2.3-gtk2
+Description: Python bindings for the VTE widget set
+ The VTE library inserts terminal capability strings into a trie, and then
+ uses it to determine if data received from a pseudo-terminal is a control
+ sequence or just random data. The sample program "interpret" illustrates
+ more or less what the widget sees after it filters incoming data.
+ .
+ This package contains the bindings to use VTE in Python 2.3 programs.
+
+Package: python2.4-vte
+Architecture: any
+Section: python
+Depends: ${shlibs:Depends}, ${python:Depends}, python2.4-gtk2
+Description: Python bindings for the VTE widget set
+ The VTE library inserts terminal capability strings into a trie, and then
+ uses it to determine if data received from a pseudo-terminal is a control
+ sequence or just random data. The sample program "interpret" illustrates
+ more or less what the widget sees after it filters incoming data.
+ .
+ This package contains the bindings to use VTE in Python 2.4 programs.
+
Package: libvte-doc
Architecture: all
Section: doc
Index: debian/python-vte.install
===================================================================
--- debian/python-vte.install (revision 43)
+++ debian/python-vte.install (working copy)
@@ -1 +0,0 @@
-debian/tmp/usr/lib/python*/site-packages
Index: debian/control.in
===================================================================
--- debian/control.in (revision 43)
+++ debian/control.in (working copy)
@@ -43,15 +43,40 @@
Package: python-vte
Architecture: any
Section: python
-Depends: ${shlibs:Depends}, ${python:Depends}, python-gtk2
+Depends: python2.3-vte
Description: Python bindings for the VTE widget set
The VTE library inserts terminal capability strings into a trie, and then
uses it to determine if data received from a pseudo-terminal is a control
sequence or just random data. The sample program "interpret" illustrates
more or less what the widget sees after it filters incoming data.
.
- This package contains the bindings to use VTE in Python programs.
+ This package is a dependency package, which selects the right package for
+ the default Python version (currently 2.3).
+Package: python2.3-vte
+Architecture: any
+Section: python
+Depends: ${shlibs:Depends}, ${python:Depends}, python2.3-gtk2
+Description: Python bindings for the VTE widget set
+ The VTE library inserts terminal capability strings into a trie, and then
+ uses it to determine if data received from a pseudo-terminal is a control
+ sequence or just random data. The sample program "interpret" illustrates
+ more or less what the widget sees after it filters incoming data.
+ .
+ This package contains the bindings to use VTE in Python 2.3 programs.
+
+Package: python2.4-vte
+Architecture: any
+Section: python
+Depends: ${shlibs:Depends}, ${python:Depends}, python2.4-gtk2
+Description: Python bindings for the VTE widget set
+ The VTE library inserts terminal capability strings into a trie, and then
+ uses it to determine if data received from a pseudo-terminal is a control
+ sequence or just random data. The sample program "interpret" illustrates
+ more or less what the widget sees after it filters incoming data.
+ .
+ This package contains the bindings to use VTE in Python 2.4 programs.
+
Package: libvte-doc
Architecture: all
Section: doc
Index: debian/rules
===================================================================
--- debian/rules (revision 43)
+++ debian/rules (working copy)
@@ -14,6 +14,38 @@
DEB_FIXPERMS_EXCLUDE := gnome-pty-helper
DEB_DH_MAKESHLIBS_ARGS_ALL = -V 'libvte4 (>= 1:0.11.11)'
-binary-install/python-vte::
+DEB_BUILDDIR := build
+DEB_BUILDDIR_python2.3-vte := build-2.3
+DEB_BUILDDIR_python2.4-vte := build-2.4
+
+configure/python2.3-vte::
+ cd build-2.3 && PYTHON=/usr/bin/python2.3 $(DEB_CONFIGURE_SCRIPT_ENV) $(DEB_CONFIGURE_SCRIPT) \
+ $(DEB_CONFIGURE_NORMAL_ARGS) --disable-maintainer-mode $(cdbs_configure_flags) \
+ $(DEB_CONFIGURE_EXTRA_FLAGS) $(DEB_CONFIGURE_USER_FLAGS)
+
+configure/python2.4-vte::
+ cd build-2.4 && PYTHON=/usr/bin/python2.4 $(DEB_CONFIGURE_SCRIPT_ENV) $(DEB_CONFIGURE_SCRIPT) \
+ $(DEB_CONFIGURE_NORMAL_ARGS) --disable-maintainer-mode $(cdbs_configure_flags) \
+ $(DEB_CONFIGURE_EXTRA_FLAGS) $(DEB_CONFIGURE_USER_FLAGS)
+
+build/python2.3-vte::
+ make -C build-2.3
+
+build/python2.4-vte::
+ make -C build-2.4
+
+install/python2.3-vte::
+ make -C build-2.3 install DESTDIR=$(CURDIR)/debian/tmp-2.3/
+
+install/python2.4-vte::
+ make -C build-2.4 install DESTDIR=$(CURDIR)/debian/tmp-2.4/
+
+binary-install/python2.3-vte::
dh_python
+binary-install/python2.4-vte::
+ dh_python
+
+clean::
+ -rm -rf /debian/tmp-2.3 /debian/tmp-2.4 build build-2.3 build-2.4
+
Index: debian/python2.3-vte.install
===================================================================
--- debian/python2.3-vte.install (revision 0)
+++ debian/python2.3-vte.install (revision 45)
@@ -0,0 +1 @@
+debian/tmp-2.3/usr/lib/python2.3/site-packages/gtk-2.0/* /usr/lib/python2.3/site-packages/gtk-2.0/
Index: debian/python2.4-vte.install
===================================================================
--- debian/python2.4-vte.install (revision 0)
+++ debian/python2.4-vte.install (revision 45)
@@ -0,0 +1 @@
+debian/tmp-2.4/usr/lib/python2.4/site-packages/gtk-2.0/* /usr/lib/python2.4/site-packages/gtk-2.0/
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

