[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#464709: lintian: Something wrong with checking for python build-depends



Package: lintian
Version: 1.23.43
Severity: important

Hi

Something seems to be wrong with python in Build-Dependencies.
We have the following dsc:

---- .dsc file for enthought-chaco2_2.0.1b1-1.dsc ----
Format: 1.0
Source: enthought-chaco2
Binary: python-enthought-chaco2
Architecture: any
Version: 2.0.1b1-1
Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
Uploaders: Varun Hiremath <varun@debian.org>
Homepage: http://code.enthought.com/chaco/
Standards-Version: 3.7.3
Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/enthought-chaco2/trunk/?op=log
Vcs-Svn: svn://svn.debian.org/python-modules/packages/enthought-chaco2/trunk
Build-Depends: cdbs, debhelper (>=6), libfreetype6-dev, libx11-dev, python-all-dev, python-numpy, python-setuptools, python-support, quilt, swig
Files: 
 38ab35974379dff065058f72c338caf0 3752746 enthought-chaco2_2.0.1b1.orig.tar.gz
 f430887b46b2a5e33c7a3b4bba81e92b 6699 enthought-chaco2_2.0.1b1-1.diff.gz


Made from the following control file:

--- enthought-chaco2-2.0.1b1.orig/debian/control
+++ enthought-chaco2-2.0.1b1/debian/control
@@ -0,0 +1,34 @@
+Source: enthought-chaco2
+Section: python
+Priority: optional
+Maintainer: Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>
+Uploaders: Varun Hiremath <varun@debian.org>
+Build-Depends: cdbs, debhelper(>= 6), python-all-dev, python-support,
+ python-setuptools, python-numpy, swig, libfreetype6-dev, libx11-dev,
+ quilt
+Standards-Version: 3.7.3
+Homepage: http://code.enthought.com/chaco/
+Vcs-Svn: svn://svn.debian.org/python-modules/packages/enthought-chaco2/trunk
+Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/enthought-chaco2/trunk/?op=log
+
+Package: python-enthought-chaco2
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends},
+ python-numpy, python-enthought-traits-ui, python-wxgtk2.6,
+ python-setuptools
+XB-Python-Version: ${python:Versions}
+Description: interactive plotting application toolkit 
+ Chaco is a Python plotting application toolkit and a part of
+ Enthought Tool Suite. It is meant to facilitate writing plotting
+ applications of all levels of complexity, from simple scripts with
+ hard-coded data to large plotting programs with complex data
+ interrelationships and a multitude of interactive tools. While Chaco
+ generates nice static plots for publication and presentation
+ purposes, its components are all designed to be work well for
+ interactive data visualization.
+ .
+ This package also includes Kiva and Enable packages from the
+ Enthought Tool Suite which are multi-platform DisplayPDF drawing
+ engines that support multiple output backends, including Windows,
+ GTK, and Macintosh native windowing systems, a variety of raster
+ image formats, PDF, and Postscript.


Running lintian we get

---- lintian check for enthought-chaco2_2.0.1b1-1.dsc ----
E: enthought-chaco2 source: missing-python-build-dependency
N:
N:   The package appears to use Python as part of its build process in
N:   debian/rules but doesn't depend on Python.
N:   
N:   Normally, packages that use Python as part of the build process should
N:   build-depend on one of python, python-all, python-dev, or
N:   python-all-dev depending on whether they support multiple versions of
N:   Python and whether they're building modules or only using Python as
N:   part of the package build process. Packages that depend on a specific
N:   version of Python may build-depend on the appropriate pythonX.Y or
N:   pythonX.Y-dev package instead.
N:   
N:   Refer to Policy Manual, section 4.2 for details.
N:


Now, the package *does* B-D on python-all-dev, which in turn gets every
python-foo-dev and python-foo package installed. So it should not be a
warning?

if you want to look at the package directly, I just accepted it into the
archive.

-- 
bye Joerg
The Rathaus is the town hall, not where rats live (some may dispute
that).
(http://cioppino.blogs.com/hungrig_in_san_francisco/2006/06/englisch_oder_d.html)



Reply to: