Finally I have stolen the magic from http://sourceforge.net/p/gar/code/HEAD/tree/csw/mgar/pkg/file/trunk/Makefile, <br />but for the configuration step was this this hint in configure.ac important:<br /><br /># The version of python used is determined by the executable pointed to by<br /># the PYTHON environment variable. For instance if your system installs<br /># Python 3 as python3 to configure to compile pygobject under Python 3<br /># you would do this:<br /># $> PYTHON=python3 ./configure<br /><br />So I have to add in recipe also:<br /><br />EXTRA_CONFIGURE_ENV = PYTHON=python$(PYTHON_VERSION)<br /><br />In .buildsys/v2/categories/python/categor.mk I have seen that the underline natation is used:<br /><br />MODULATIONS_PYTHON_VERSION ?= 2_6 2_7<br /><br />Is this correct? I have to use the dotted notation for work:<br />MODULATIONS_PYTHON_VERSION = 2.6 2.7<br /><br />Carsten<br /><br /> <span>Am 12.02.14 schrieb <b class="name">Maciej (Matchek) Bliziński </b> <maciej@opencsw.org>:</span><blockquote cite="mid:CALtRa-5F1wDZwWpe4AE=0N7Rr165LjaAbprQpxEM5dGaD90DaQ@mail.gmail.com" class="iwcQuote" style="border-left: 1px solid #00F; padding-left: 13px; margin-left: 0;" type="cite"><div class="mimepart text html"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2014-02-12 11:43 GMT+00:00 Carsten Grzemba <span dir="ltr"><<a href="mailto:grzemba@contac-dt.de" target="1">grzemba@contac-dt.de</a>></span>:<br />
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":34s" style="overflow:hidden">What is the correct way to package for both (or all) versions of python? <br />I can not use the category python for pygtk and pygobject</div>
</blockquote><div><br /></div><div>You can't/shouldn't put category modulators in the recipe.</div><div><br /></div><div>I was thinking that maybe you can have a separate build recipe just for the Python modules? It would be a separate Makefile, building from the same sources, but only generating the Python modules. I don't know if it's a workable idea, but maybe it's worth investigating?</div>
<div><br /></div><div>Maciej</div></div></div></div>
</div></blockquote>