Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287143 - dev-util/cmake: FindPythonLibs.cmake should use currently active Python version
Summary: dev-util/cmake: FindPythonLibs.cmake should use currently active Python version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 19:07 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2009-10-01 18:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cmake-FindPythonLibs.patch (cmake-FindPythonLibs.patch,546 bytes, patch)
2009-09-30 19:09 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff
cmake-2.6.4-r3.ebuild.patch (cmake-2.6.4-r3.ebuild.patch,670 bytes, patch)
2009-09-30 19:12 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-30 19:07:00 UTC
FindPythonLibs.cmake should use currently active Python version (usually shown in the output of `eselect python show`) instead of checking hard-coded list of Python versions.

This suggested change also obsoletes "python3" USE flag and cmake-python-3.patch.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-30 19:09:49 UTC
Created attachment 205720 [details, diff]
cmake-FindPythonLibs.patch

The new version of cmake-FindPythonLibs.patch.

Python static libraries are no longer placed in /usr/lib/pythonX.Y/config directories, so the second hunk is no longer needed.
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2009-09-30 19:12:35 UTC
Upstream reported?
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-09-30 19:12:36 UTC
Created attachment 205722 [details, diff]
cmake-2.6.4-r3.ebuild.patch
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-10-01 18:19:11 UTC
Fixed.