Bug#365257: [Build-common-hackers] Bug#365257: cdbs: shouldn't run install target for python-mylib-doc packages

Arnaud Fontaine arnaud at andesi.org
Mon May 8 19:58:59 UTC 2006

>>>>> "Peter" == Peter Eisentraut <peter_e at gmx.net> writes:

    Peter>  Is there  a general  policy or  practice of  some  sort that
    Peter> supports this?  I only see one package in the archive that is
    Peter> called  python-someting-doc.  So this  seems to be  a special
    Peter>  case, meaning you  are probably  better of  manipulating the
    Peter> package list yourself.


This  is not  a special  case.  More  and more  python modules  will use
python-support, so you have usually this kind of package. Take a look at
python-enchant, python-medusa... (there are many examples).

    Peter>  Why don't you just write :DEB_PYTHON_SIMPLE_PACKAGES :=
    Peter> $(filter-out your-package,$(DEB_PYTHON_SIMPLE_PACKAGES))

When you this line before including python-distutils.mk, it doesn't work
because   DEB_PYTHON_SIMPLE_PACKAGES   is   initialized  into   the   mk
file. After including the mk file, it doesn't work either. This patch is
really  minor (one  line). I  have  tried several  possibilities but  it
didn't work. Only the one proposed in the patch works great for me.

Arnaud Fontaine

More information about the Build-common-hackers mailing list