[Build-common-hackers] Bug#828726: Bug#828726: cdbs: Please readd DEB_PYTHON(3)_MODULE_PACKAGES variable

Laurent Bigonville bigon at debian.org
Thu Feb 23 16:55:19 UTC 2017


Le 23/02/17 à 17:44, Laurent Bigonville a écrit :
> reopen 828726
> thanks
>
> On Fri, 15 Jul 2016 18:06:26 +0200 Jonas Smedegaard <dr at jones.dk> wrote:
> > Hi Lauent,
>
> Hi,
>
> >
> > Quoting Laurent Bigonville (2016-06-27 11:20:06)
> > > Could you please readd DEB_PYTHON_MODULE_PACKAGES and
> > > DEB_PYTHON3_MODULE_PACKAGES, this is definitely used in the archive,
> > > see: 
> https://codesearch.debian.net/results/DEB_PYTHON3%3F_MODULE_PACKAGES/page_0
> > >
> > > It's used by packages that need dh_python2/3 to be called even if the
> > > package name is not starting with python-
> >
> > Thanks for reporting - I believe however that there is no bug here:
> >
> > These variables was recently dropped:
> >
> > DEB_PYTHON_MODULE_PACKAGE
> > DEB_PYTHON_MODULE_PACKAGES
> >
> > These variables are still in use, however:
> >
> > DEB_PYTHON2_MODULE_PACKAGES
> > DEB_PYTHON3_MODULE_PACKAGES
> >
> > Current CDBS _is_ buggy, but this is not one of them.
> >
> > Please include as a minimum the *symptoms* when reporting a bug.
> > Suggestions for a fix (or workaround) is appreciated too, but don't
> > forget to define the bug. :-)
> >
> > (I could be wrong: If so then please reopen - and point me to some
> > actual breakage)
>
> I forgot to reply to this bug.
>
> The system-config-printer package is using DEB_PYTHON3_MODULE_PACKAGES 
> to tell cdbs to call dh_python3 on packages that are not starting by 
> python3-* and this is definitely not working anymore.
>
> This seems to be a behavior change of cdbs that breaks at least one 
> package.

So apparently setting DEB_PYTHON3_MODULE_PACKAGES before including 
python-module.mk fixes the problem, again this seems to be a behavior 
change from the previous versions



More information about the Build-common-hackers mailing list