From: | "Tomas Chvatal (scarabeus)" <scarabeus@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/cmake/files: cmake-2.8.4-FindPythonLibs.patch cmake-2.8.4-FindBoost.patch cmake-2.8.4-FindPythonInterp.patch |
Date: | Mon, 21 Feb 2011 14:53:07 |
Message-Id: | 20110221145257.A774E20057@flycatcher.gentoo.org |
1 | scarabeus 11/02/21 14:52:57 |
2 | |
3 | Added: cmake-2.8.4-FindPythonLibs.patch |
4 | cmake-2.8.4-FindBoost.patch |
5 | cmake-2.8.4-FindPythonInterp.patch |
6 | Log: |
7 | Version bump to the latest (some tests still fail, to be fixed). |
8 | |
9 | (Portage version: 2.2.0_alpha24/cvs/Linux x86_64) |
10 | |
11 | Revision Changes Path |
12 | 1.1 dev-util/cmake/files/cmake-2.8.4-FindPythonLibs.patch |
13 | |
14 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cmake/files/cmake-2.8.4-FindPythonLibs.patch?rev=1.1&view=markup |
15 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cmake/files/cmake-2.8.4-FindPythonLibs.patch?rev=1.1&content-type=text/plain |
16 | |
17 | Index: cmake-2.8.4-FindPythonLibs.patch |
18 | =================================================================== |
19 | diff -urN cmake-2.8.4.old/Modules/FindPythonLibs.cmake cmake-2.8.4/Modules/FindPythonLibs.cmake |
20 | --- cmake-2.8.4.old/Modules/FindPythonLibs.cmake 2011-02-20 19:32:16.363655002 +0100 |
21 | +++ cmake-2.8.4/Modules/FindPythonLibs.cmake 2011-02-20 19:33:51.905655001 +0100 |
22 | @@ -33,6 +33,8 @@ |
23 | ${Python_ADDITIONAL_VERSIONS} |
24 | 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5) |
25 | |
26 | +EXECUTE_PROCESS(COMMAND python -c "import sys; sys.stdout.write('.'.join([str(x) for x in sys.version_info[:2]]))" |
27 | + OUTPUT_VARIABLE _Python_VERSIONS) |
28 | FOREACH(_CURRENT_VERSION ${_Python_VERSIONS}) |
29 | STRING(REPLACE "." "" _CURRENT_VERSION_NO_DOTS ${_CURRENT_VERSION}) |
30 | IF(WIN32) |
31 | |
32 | |
33 | |
34 | 1.1 dev-util/cmake/files/cmake-2.8.4-FindBoost.patch |
35 | |
36 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cmake/files/cmake-2.8.4-FindBoost.patch?rev=1.1&view=markup |
37 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cmake/files/cmake-2.8.4-FindBoost.patch?rev=1.1&content-type=text/plain |
38 | |
39 | Index: cmake-2.8.4-FindBoost.patch |
40 | =================================================================== |
41 | diff -urN cmake-2.8.4.old//Modules/FindBoost.cmake cmake-2.8.4/Modules/FindBoost.cmake |
42 | --- cmake-2.8.4.old//Modules/FindBoost.cmake 2011-02-20 19:32:16.528655001 +0100 |
43 | +++ cmake-2.8.4/Modules/FindBoost.cmake 2011-02-20 20:28:41.572936744 +0100 |
44 | @@ -73,6 +73,9 @@ |
45 | # binary Boost releases do so. |
46 | # |
47 | # set(Boost_ADDITIONAL_VERSIONS "1.78" "1.78.0" "1.79" "1.79.0") |
48 | +set(Boost_ADDITIONAL_VERSIONS "1.50.0" "1.50" "1.49.0" "1.49" "1.48.0" "1.48" |
49 | + "1.47.0" "1.47" "1.46.0" "1.46" "1.45.0" "1.45" "1.44.0" "1.44" "1.43.0" |
50 | + "1.43" "1.42.0" "1.42") |
51 | # |
52 | # ===================================== ============= ======================== |
53 | # |
54 | |
55 | |
56 | |
57 | 1.1 dev-util/cmake/files/cmake-2.8.4-FindPythonInterp.patch |
58 | |
59 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cmake/files/cmake-2.8.4-FindPythonInterp.patch?rev=1.1&view=markup |
60 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/cmake/files/cmake-2.8.4-FindPythonInterp.patch?rev=1.1&content-type=text/plain |
61 | |
62 | Index: cmake-2.8.4-FindPythonInterp.patch |
63 | =================================================================== |
64 | diff -urN cmake-2.8.4.old/Modules/FindPythonInterp.cmake cmake-2.8.4/Modules/FindPythonInterp.cmake |
65 | --- cmake-2.8.4.old/Modules/FindPythonInterp.cmake 2011-02-20 19:32:16.545655003 +0100 |
66 | +++ cmake-2.8.4/Modules/FindPythonInterp.cmake 2011-02-20 20:22:37.597936743 +0100 |
67 | @@ -26,6 +26,7 @@ |
68 | ${Python_ADDITIONAL_VERSIONS} |
69 | 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5) |
70 | |
71 | +set(_Python_VERSIONS "") |
72 | # Run first with the Python version in the executable |
73 | foreach(_CURRENT_VERSION ${_Python_VERSIONS}) |
74 | set(_Python_NAMES python${_CURRENT_VERSION}) |