Package: cdbs
Version: 0.4.39
Severity: normal
Tags: patch
Hello,
Using python-support, there isn't versioned debian package, only this
kind of thing :
python-mylib
python-mylib-doc
Cdbs runs install target for python-mylib-doc package, whereas it
shouldn't. I have attached a patch which fix this problem.
Regards,
Arnaud Fontaine
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.1-maggie
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
cdbs depends on no packages.
Versions of packages cdbs recommends:
ii autotools-dev 20060223.1 Update infrastructure for config.{
ii debhelper 5.0.34 helper programs for debian/rules
-- no debconf information
--- python-distutils.mk.old 2006-04-28 21:16:24.000000000 +0200
+++ python-distutils.mk 2006-04-28 21:16:41.000000000 +0200
@@ -47,7 +47,7 @@
DEB_PYTHON_REAL_LIB_PACKAGES := $(strip $(filter $(patsubst %,python%%,$(DEB_PYTHON_VERSIONS)),$(DEB_ALL_PACKAGES)))
# If no versioned python library packages found, grab all simpler ones
ifeq (,$(DEB_PYTHON_REAL_LIB_PACKAGES))
-DEB_PYTHON_SIMPLE_PACKAGES := $(strip $(filter python-%,$(DEB_ALL_PACKAGES)))
+DEB_PYTHON_SIMPLE_PACKAGES := $(strip $(filter python-%,$(filter-out python-%-doc,$(DEB_ALL_PACKAGES))))
endif
cdbs_python_ver = $(filter-out -%,$(subst -, -,$(patsubst python%,%,$(cdbs_curpkg))))