[Buildroot] [PATCH 2/4] python-cffi: always install target python-pycparser

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Dec 16 15:37:07 UTC 2017


Hello,

On Wed, 13 Dec 2017 10:04:22 +0100, yegorslists at googlemail.com wrote:

> Some packages like python-crossbar, python-keyring use scripts,
> that check dependencies of all involved packages at runtime. And
> though cffi needs pycparser only in host variant during the bindings
> compilation, it still has pycparser in its setup.py as dependency.

It is not entirely clear to me what is happening here. Could you expand
a bit on this?

> So always installing pycparser along with cffi would create rather
> little overhead, but we won't have to check whether particular
> package has such a runtime script, that checks for dependencies.

I understand what you mean, but I find the wording confusing. It feels
as if you're saying that you're not going to do the change... that
you're doing in this commit.

What about:

"Since adding pycparser as a dependency to python-cffi adds only very
little overhead, we chose this solution as it avoids having to ..."

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list