From 2b0c3a2f95294ac1ce9a27a97c6eb421089f9dd5 Mon Sep 17 00:00:00 2001 From: Iskar Enev Date: Thu, 13 May 2010 00:37:24 +0200 Subject: network/museek+: Updated for version 0.2 --- network/museek+/museek-python.diff | 44 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 network/museek+/museek-python.diff (limited to 'network/museek+/museek-python.diff') diff --git a/network/museek+/museek-python.diff b/network/museek+/museek-python.diff new file mode 100644 index 0000000000..844d17d624 --- /dev/null +++ b/network/museek+/museek-python.diff @@ -0,0 +1,44 @@ +--- murmur/CMakeLists.txt 2008-09-22 11:49:33.000000000 +0300 ++++ murmur/CMakeLists.txt.1 2009-09-01 12:04:34.000000000 +0300 +@@ -25,7 +25,7 @@ + ${PYMURMUR_FILES} + ) + +-EXECUTE_PROCESS(COMMAND python -c "import sys; import os; print os.path.join('lib', 'python' + str(sys.version_info[0]) + '.' + str(sys.version_info[1]), 'site-packages')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error) ++EXECUTE_PROCESS(COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1,0,'')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error) + + if (NOT sitepackages OR error) + MESSAGE(FATAL_ERROR "Failed to find Python's site-packages directory" ${sitepackages} ${error}) +--- mucous/CMakeLists.txt 2008-09-22 11:49:33.000000000 +0300 ++++ mucous/CMakeLists.txt.1 2009-09-01 12:04:55.000000000 +0300 +@@ -28,7 +28,7 @@ + ${PYMUCOUS_FILES} + ) + +-EXECUTE_PROCESS(COMMAND python -c "import sys; import os; print os.path.join('lib', 'python' + str(sys.version_info[0]) + '.' + str(sys.version_info[1]), 'site-packages')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error) ++EXECUTE_PROCESS(COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1,0,'')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error) + + if (NOT sitepackages OR error) + MESSAGE(FATAL_ERROR "Failed to find Python's site-packages directory" ${sitepackages} ${error}) +--- python-bindings/CMakeLists.txt 2008-09-22 11:49:33.000000000 +0300 ++++ python-bindings/CMakeLists.txt.1 2009-09-01 12:04:15.000000000 +0300 +@@ -18,7 +18,7 @@ + museek/driver.py + ) + +-EXECUTE_PROCESS(COMMAND python -c "import sys; import os; print os.path.join('lib', 'python' + str(sys.version_info[0]) + '.' + str(sys.version_info[1]), 'site-packages')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error) ++EXECUTE_PROCESS(COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1,0,'')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error) + + if (NOT sitepackages OR error) + MESSAGE(FATAL_ERROR "Failed to find Python's site-packages directory" ${sitepackages} ${error}) +--- Mucipher/PyMucipher/CMakeLists.txt 2008-10-07 19:58:27.000000000 +0300 ++++ Mucipher/PyMucipher/CMakeLists.txt.1 2009-09-01 12:05:46.000000000 +0300 +@@ -37,7 +37,7 @@ + ${CMAKE_CURRENT_BINARY_DIR}/mucipherc.py + ${CMAKE_CURRENT_BINARY_DIR}/_mucipherc.so + ) +-EXECUTE_PROCESS(COMMAND python -c "import sys; import os; print os.path.join('lib', 'python' + str(sys.version_info[0]) + '.' + str(sys.version_info[1]), 'site-packages')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error) ++EXECUTE_PROCESS(COMMAND python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1,0,'')" museek OUTPUT_VARIABLE sitepackages OUTPUT_STRIP_TRAILING_WHITESPACE ERROR_VARIABLE error) + + if (NOT sitepackages OR error) + MESSAGE(FATAL_ERROR "Failed to find Python's site-packages directory" ${sitepackages} ${error}) -- cgit v1.2.3