Something that would provide ie pkg-config --cflags python-2.7 or pkg-config --libs python-2.7 and others. Setting severity to major as i really really need this in libreoffice asap.
Ok, what kind of flags do we exactly need? Are those for building modules or for building executables linking to Python?
I need exact output of the two commands I gave in #c1, as I link to the python to build some binaries.
The following should work, if you are in a hurry. python_export EPYTHON pkg-config --cflags python-${EPYTHON#python} pkg-config --libs python-${EPYTHON#python}
Created attachment 342664 [details, diff] Patch to add necessary functions Could you test this patch, please? The ebuild should do then: python_export PYTHON_CFLAGS PYTHON_LIBS plus DEPEND on pkg-config.
I have committed the patch.