[Buildroot] [PATCH] package/python-protobuf: eliminate unneeded build-time dependencies

Steven Noonan steven at uplinklabs.net
Tue Nov 10 01:28:58 UTC 2015


On Mon, Nov 9, 2015 at 2:12 PM, Steven Noonan <steven at uplinklabs.net> wrote:
> On Mon, Nov 9, 2015 at 2:10 PM, Thomas Petazzoni
> <thomas.petazzoni at free-electrons.com> wrote:
>> Steven,
>>
>> On Mon, 9 Nov 2015 14:07:36 -0800, Steven Noonan wrote:
>>
>>> Upstream would make use of the lines we're removing. It's intended for
>>> running their unit tests, which we don't use when building it.
>>
>> Can we find a way that is upstreamable, like some setup.py option or
>> environment variable to disable the build/installation of unit tests?
>>
>
> Maybe, I'll think about how it could be done.

I investigated upstream's master branch state before doing too much
and found this:

https://github.com/google/protobuf/commit/9f42f5f4a423b923f7b07ae8c5e8db4943df49c6

(It doesn't apply to 2.6.1, but this does show that protobuf 3.x will
not have the unneeded dependency.)

So the upstream work has already been done.



More information about the buildroot mailing list