[csw-maintainers] Question regarding Python and magic

Maciej (Matchek) Bliziński maciej at opencsw.org
Fri Sep 27 19:11:52 CEST 2013


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

_CATEGORY_MODULATORS ?= PYTHON_VERSION
MODULATIONS_PYTHON_VERSION ?= 2_6 2_7
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.

Maciej


More information about the maintainers mailing list