tag 549015 +patch
thanks

libvte-dev still depends on a huge amount of python packages via the
hardcoded dependency on python-vte. This is especially annoying with
autobuilders (or puilder) which have to fetch a lot of useless
packages.

The attached patch adds a new python-vte-dev virtual package and
removes the python dependencies from libvte-dev.

Best,

Teemu
From 8e8337c94521fe6d97684231eed57f89e7340e42 Mon Sep 17 00:00:00 2001
From: Teemu Ikonen <[email protected]>
Date: Mon, 18 Apr 2011 15:53:26 +0200
Subject: [PATCH] Add new python-vte-dev binary package.

---
 debian/control.in |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/debian/control.in b/debian/control.in
index 2a20441..6674fee 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -59,13 +59,11 @@ Architecture: any
 Section: libdevel
 Depends: ${misc:Depends},
          libvte9 (= ${binary:Version}),
-         python-vte (= ${binary:Version}),
          libcairo2-dev,
          libx11-dev,
          libgtk2.0-dev (>= 2.14.0),
          libpango1.0-dev (>= 1.22.0),
          libglib2.0-dev (>= 2.22.0)
-Provides: python-vte-dev
 Description: Terminal emulator widget for GTK+ 2.0 - development files
  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
@@ -108,7 +106,24 @@ Description: Python bindings for the VTE widget set
  more or less what the widget sees after it filters incoming data.
  .
  This package contains the Python bindings for the VTE library.
- 
+
+Package: python-vte-dev
+Architecture: any
+Section: python
+Depends: ${misc:Depends},
+         ${shlibs:Depends},
+         ${python:Depends},
+         python-vte, libvte-dev
+XB-Python-Version: ${python:Versions}
+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 is a virtual package which depends on the packages required to
+ develop Python bindings and extensions with the VTE library.
+
 Package: libvte-doc
 Architecture: all
 Section: doc
-- 
1.7.2.5

Reply via email to