Hello, There was a minor problem with my previous patch, indeed you can't specify another packages than -doc, and this can be embarrassing (like for pysnmp4 where the source package also build %-common package).
In the patch i have attached, you can specify which packages you would like to ignore (install and build targets especially) by initializing DEB_PYTHON_IGNORE_PACKAGES (before including python-distutils.mk, of course, in debian/rules). I have heavily tested this patch and it works fine here. Regards, Arnaud Fontaine
--- python-distutils.mk.old 2006-04-28 21:16:24.000000000 +0200 +++ python-distutils.mk 2006-05-08 17:18:51.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 $(DEB_PYTHON_IGNORE_PACKAGES),$(DEB_ALL_PACKAGES)))) endif cdbs_python_ver = $(filter-out -%,$(subst -, -,$(patsubst python%,%,$(cdbs_curpkg))))
pgprj5QstDDYv.pgp
Description: PGP signature

