[Debian-med-packaging] Review and sponsoring request: pymia (Python module)
Andreas Tille
andreas at an3as.eu
Wed Dec 11 21:21:09 UTC 2013
Hi Gert,
On Wed, Dec 11, 2013 at 05:29:04PM +0100, Gert Wollny wrote:
> Hello Andreas,
>
> > when trying to build the package the dh_auto_clean target requires a lot
> > of packages - it now failed with
> >
> > No package 'mia3d-2.0' found
>
> This is the call to pkg-config in setup.py that is invoked
> unconditionally. For cleaning it is certainly not necessary, but for
> building, 'pkg-config' should find 'mia3d-2.0' since it is provided by
> the build dependency libmia-2.0-dev.
Sure - this is ensured by pbuilder dependency resolution. I just want
to avoid that my system from where I call pdebuild also would need all
Build-Depends.
> > I wonder whether the Debian Python people have invented
> > something that keeps setup.py from doing crazy and insane things instead
> > of just noticing that the build tree is just clean.
> I've dug a bit through the pybuild code, and the call to
> 'setup.py clean' seems to be deep inside and unconditional.
> I added an "override_dh_auto_clean" to replace it by just deleting the
> build directories. Unless I figure out how to override the clean
> command in setup.py, I don't think I can do much better.
It builds fine now with pdebuild without installing a lot of additional
packages - so I will upload that way.
Kind regards
Andreas.
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list