[csw-maintainers] Question regarding Python and magic

Peter FELECAN pfelecan at opencsw.org
Fri Sep 27 19:28:14 CEST 2013

"Maciej (Matchek) Bliziński" <maciej at opencsw.org> writes:

> 2013/9/27 Peter FELECAN <pfelecan at opencsw.org>:
>>> Let's use the one from libmagic sources. The caveat is that it will be
>>> fiddly to make it 2.6+2.7 compatible. We'll need an additional
>>> modulator on the Python version.
>> Why is that necessary? Do you care to explain? TIA
> It's the same thing that we're already doing for the 'python' category.
> https://github.com/opencsw/gar/blob/master/categories/python/category.mk#L44
> MERGE_SCRIPTS_isa-default-python_version-2_6 ?= copy-all
> MERGE_SCRIPTS_isa-default-python_version-2_7 ?= copy-all
> The problem is that the libmagic build recipe is not of 'python'
> category and therefore does not receive the 2.6+2.7 settings.

If I'm understanding the issue, libmagic provides the conflicting file
and py_magic use the one provided by libmagic in whatever target
interpreter. Why do you need an additional modulator for such a thing?

More information about the maintainers mailing list