[Buildroot] [PATCH v3 2/2] New package: python-dpkt

Yegor Yefremov yegorslists at googlemail.com
Wed Dec 21 21:18:05 UTC 2011


On Wed, Dec 21, 2011 at 9:48 AM, Yegor Yefremov
<yegorslists at googlemail.com> wrote:
> On Wed, Dec 21, 2011 at 9:38 AM, Thomas Petazzoni
> <thomas.petazzoni at free-electrons.com> wrote:
>> Le Wed, 21 Dec 2011 09:21:58 +0100,
>> Yegor Yefremov <yegor_sub1 at visionsystems.de> a écrit :
>>
>>> What would speak against compiling host-python with zlib support? I
>>> think we'll need it for host-setuputils anyway. AFAIK python-dpkt
>>> seems to be neglected for quite a while. Though I submitted a bug
>>> report: http://code.google.com/p/dpkt/issues/detail?id=82, I don't
>>> think it will be accepted shortly.
>>>
>>> Should I prepare a patch for host-python with zlib support?
>>
>> Adding zlib support in host-python just because dpkt includes itself in
>> its setup.py script is silly. If all packages do that, then we'll end
>> up adding cairo support in host-python, just because some Python module
>> relying on cairo includes itself in its setup.py script.
>>
>> That said, if zlib support in host-python is needed for
>> host-setuputils, then it's a different story and zlib support can be
>> enabled in host-python. But I definitely don't want the host-python to
>> be cluttered with more and more things simply because some packages do
>> silly stuff in their setup.py.
>
> I agree with you. So I'll see how far I'll get with adding setuptools.
> This should have no impact at the current patch for now.


By the way as we enable zlib due to setuptools dependency, should I
remove the dpkt setup.py patch? It is simpler for us to bump the
version without this patch as Arnout mentioned.

Yegor



More information about the buildroot mailing list