Source

pyside_aur / shiboken / lookup_python33.patch

Diff from to

shiboken/lookup_python33.patch

+diff --git a/cmake/Modules/FindPython3Interp.cmake b/cmake/Modules/FindPython3Interp.cmake
+index 373982e..9c6c148 100644
+--- a/cmake/Modules/FindPython3Interp.cmake
++++ b/cmake/Modules/FindPython3Interp.cmake
+@@ -20,16 +20,18 @@
+ #  License text for the above reference.)
+ 
+ FIND_PROGRAM(PYTHON3_EXECUTABLE
+-  NAMES python3.2mu python3.2m python3.2u python3.2 python3.1 python3.0 python3
++  NAMES python3.3mu python3.3m python3.3u python3.3 python3.2mu python3.2m python3.2u python3.2 python3.1 python3.0 python3
+   PATHS
++  [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\3.3\\InstallPath]
+   [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\3.2\\InstallPath]
+   [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\3.1\\InstallPath]
+   [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\3.0\\InstallPath]
+   )
+ 
+ FIND_PROGRAM(PYTHON3_DBG_EXECUTABLE
+-  NAMES python3.2dmu python3.2dm python3.2du python3.2d python3.1-dbg python3.0-dbg python3-dbg
++  NAMES python3.3dmu python3.3dm python3.3du python3.3d python3.2dmu python3.2dm python3.2du python3.2d python3.1-dbg python3.0-dbg python3-dbg
+   PATHS
++  [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\3.3\\InstallPath]
+   [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\3.2\\InstallPath]
+   [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\3.1\\InstallPath]
+   [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\3.0\\InstallPath]
 diff --git a/cmake/Modules/FindPython3Libs.cmake b/cmake/Modules/FindPython3Libs.cmake
 index 03fe8b8..263a610 100644
 --- a/cmake/Modules/FindPython3Libs.cmake