Bug#393074: python-matplotlib conflicts with python-dateutil

2006-10-27 Thread Mark Hymers
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.0 
+0100
+++ matplotlib-0.87.5-new/debian/changelog  2006-10-29 01:57:53.0 
+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/control2006-10-29 01:58:02.0 
+0100
+++ matplotlib-0.87.5-new/debian/control2006-10-29 01:57:08.0 
+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
 


signature.asc
Description: Digital signature


Bug#393074: python-matplotlib conflicts with python-dateutil

2006-10-14 Thread Daniele Tricoli
Package: python-matplotlib
Version: 0.87.5-2
Severity: serious
Justification: Policy 7.2


python-matplotlib contains a non complete version of python-dateutil.
Can't it depend on that package instead?

If you try to import zoneinfo and you have python-matplotlib installed,
you wil get this:

 from dateutil import zoneinfo
Traceback (most recent call last):
  File stdin, line 1, in ?
  ImportError: cannot import name zoneinfo

Look here:
http://packages.debian.org/cgi-bin/search_contents.pl?word=dateutilsearchmode=searchfilesanddirscase=insensitiveversion=testingarch=i386

Cheers,
Daniele Tricoli 'Eriol'

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)

Versions of packages python-matplotlib depends on:
ii  dvipng  1.5-2.1+b1   convert PNG graphics from DVI file
ii  python  2.4.3-11 An interactive high-level object-o
ii  python-central  0.5.5register and build utility for Pyt
ii  python-dev  2.4.3-11 Header files and a static library 
ii  python-gd   0.52debian-2 Python module wrapper for libgd
ii  python-gtk2 2.8.6-6  Python bindings for the GTK+ widge
ii  python-matplotlib-data  0.87.5-2 python based plotting system (data
ii  python-numarray 1.5.2-2  An array processing package modell
ii  python-numarray-ext 1.5.2-2  Extension modules for Python array
ii  python-numeric  24.2-6   Numerical (matrix-oriented) Mathem
ii  python-numeric-ext  24.2-6   Extension modules for Numeric Pyth
ii  python-numpy1:1.0rc1-1   Numerical Python adds a fast array
ii  python-qt3  3.16-1.2 Qt3 bindings for Python
ii  python-tz   2006g-1  Python version of the Olson timezo

python-matplotlib recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]