tags 393074 +patch
thanks

On Sat, 14, Oct, 2006 at 10:19:21PM +0200, Daniele Tricoli spoke thus..
> python-matplotlib contains a non complete version of python-dateutil.
> Can't it depend on that package instead?

The problem is that matplotlib builds its own copy of dateutil if it's
not present at build-time.  This doesn't result in dpkg throwing an
error because the two copies of dateutil get installed into different
places because one uses python-support and one python-central...

The simplest way to avoid this is for matplotlib to Build-Depend on
python-dateutil and therefore not build its own copy.  The maintainer
might also want to modify debian/rules to ensure the build fails if it
tries to ship the dateutil files.

NMU patch attached.

Cheers,

Mark

-- 
Mark Hymers <mark at hymers dot org dot uk>

"I've had people claim that they actually make the sun rise rise every
 morning.  I've offered to test them by shooting them.  So far all these
 people have not responded to my endeavours."
     James Randi on BBCi Live Chat
diff -Naur matplotlib-0.87.5-old/debian/changelog 
matplotlib-0.87.5-new/debian/changelog
--- matplotlib-0.87.5-old/debian/changelog      2006-10-29 01:58:02.000000000 
+0100
+++ matplotlib-0.87.5-new/debian/changelog      2006-10-29 01:57:53.000000000 
+0100
@@ -1,3 +1,11 @@
+matplotlib (0.87.5-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Build-Depend on python-dateutil so that we don't supply our internal copy.
+    Closes: #393074.
+
+ -- Mark Hymers <[EMAIL PROTECTED]>  Sun, 29 Oct 2006 01:57:17 +0100
+
 matplotlib (0.87.5-2) unstable; urgency=low
 
   * Fixed python-numpy dependency. Closes: #387440
diff -Naur matplotlib-0.87.5-old/debian/control 
matplotlib-0.87.5-new/debian/control
--- matplotlib-0.87.5-old/debian/control        2006-10-29 01:58:02.000000000 
+0100
+++ matplotlib-0.87.5-new/debian/control        2006-10-29 01:57:08.000000000 
+0100
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Vittorio Palmisano <[EMAIL PROTECTED]>
 Uploaders: Marco Presi (Zufus) <[EMAIL PROTECTED]>, Alexandre Fayolle <[EMAIL 
PROTECTED]>
-Build-Depends: debhelper (>= 5.0.37.2), python-all-dev(>=2.3.5-7), 
python-central (>= 0.5), python-all (>=2.3.5-7), 
dpatch,python-gtk2-dev,python-numeric(>=24.2-3),  
python-numarray(>=1.5.1-3),python-numpy (>=1:1.0b5), python-numpy-ext 
(>=1:1.0b5), python-numpy-dev(>=1:1.0b5), libgtk2.0-dev, 
libfreetype6-dev,zlib1g-dev,  libpng-dev, tk8.4-dev, python-tk, tcl8.4-dev, 
python-epydoc, python-setuptools (>=0.6b3-1), python-tz,  xvfb [!s390], 
xbase-clients[!s390]
+Build-Depends: debhelper (>= 5.0.37.2), python-dateutil, 
python-all-dev(>=2.3.5-7), python-central (>= 0.5), python-all (>=2.3.5-7), 
dpatch,python-gtk2-dev,python-numeric(>=24.2-3),  
python-numarray(>=1.5.1-3),python-numpy (>=1:1.0b5), python-numpy-ext 
(>=1:1.0b5), python-numpy-dev(>=1:1.0b5), libgtk2.0-dev, 
libfreetype6-dev,zlib1g-dev,  libpng-dev, tk8.4-dev, python-tk, tcl8.4-dev, 
python-epydoc, python-setuptools (>=0.6b3-1), python-tz,  xvfb [!s390], 
xbase-clients[!s390]
 XS-Python-Version: all
 Standards-Version: 3.7.2
 

Attachment: signature.asc
Description: Digital signature

Reply via email to