On Jun 30, 2014, at 2:37 AM, Joshua Root <[email protected]> wrote: > On 2014-6-30 17:02 , Mark Brethen wrote: >> >> On Jun 30, 2014, at 1:52 AM, Mojca Miklavec <[email protected]> >> wrote: >> >>> On Mon, Jun 30, 2014 at 8:44 AM, Joshua Root wrote: >>>> On 2014-6-30 15:48 , Mark Brethen wrote: >>>>> How does one indicate a python lib dependance in a port file that >>>>> requires it? Add the portgroup python? >>>> >>>> The python portgroup is only for stuff that installs with a setup.py. If >>>> that's not the case here, just add a python dep like you would any other >>>> port. >>> >>> A minor annoyance however is that some ports that need a regular >>> installation (./configure && make && make install) need to hardcode >>> all the Python variables when it would be a lot more handy to include >>> the python portgroup (if it was implemented differently and if it >>> didn't change all the variables so aggressively). >>> >>> Mojca >> >> FreeCAD requires the python framework and will need something like >> --with-python-include=/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Headers >> during configure. > > This can (and as per upstream should) be obtained from python-config > (actually e.g. python2.7-config depending on the version you want). > >> There is also the question of limiting it to 2.7 or having the option of >> choosing a version. > > If there's a good reason to want a different python version, provide > variants. If not, just go with 2.7. > > - Josh
>From the freecad main.log: :info:configure -- Found PythonInterp: /usr/bin/python (found version "2.7.5") :info:configure -- Found PythonLibs: /usr/lib/libpython2.5.dylib (found suitable exact version "2.7.5") I don't think this is desired? Mark _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
