Summary: | Provide functions to access pkgconfig access for python implementations | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tomáš Chvátal (RETIRED) <scarabeus> |
Component: | Eclasses | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | major | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Patch to add necessary functions |
Description
Tomáš Chvátal (RETIRED)
2013-03-14 09:10:57 UTC
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. |