Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 287143

Summary: dev-util/cmake: FindPythonLibs.cmake should use currently active Python version
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cmake-FindPythonLibs.patch
cmake-2.6.4-r3.ebuild.patch

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.