summaryrefslogtreecommitdiff
blob: 575eddd7b2593911072a7534b311e29347be00da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
--- a/Dbus/interfaces/python/CMakeLists.txt
+++ b/Dbus/interfaces/python/CMakeLists.txt
@@ -4,12 +4,14 @@ configure_file(${CMAKE_CURRENT_SOURCE_DI
 if (NOT "${CMAKE_CURRENT_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
 	# copy *.py to current binary dir (cleaner)
 	execute_process(COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/setup.py" ${CMAKE_CURRENT_BINARY_DIR})
-	exec_program("${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_BINARY_DIR}" ARGS "setup.py" "-q" "build")
 endif()
-
-########### install files ###############
-# Run a custom script with 'make install' 
-add_custom_target(python_pyc ALL)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/PythonInstall.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/PythonInstall.cmake)
-set_target_properties(python_pyc PROPERTIES POST_INSTALL_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/PythonInstall.cmake)
-# execute_process(COMMAND python setup.py install ${DEBIAN_INSTALL_LAYOUT})
+### handle python stuff in ebuild
+#	exec_program("${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_BINARY_DIR}" ARGS "setup.py" "-q" "build")
+#endif()
+#
+############ install files ###############
+## Run a custom script with 'make install' 
+#add_custom_target(python_pyc ALL)
+#configure_file(${CMAKE_CURRENT_SOURCE_DIR}/PythonInstall.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/PythonInstall.cmake)
+#set_target_properties(python_pyc PROPERTIES POST_INSTALL_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/PythonInstall.cmake)
+## execute_process(COMMAND python setup.py install ${DEBIAN_INSTALL_LAYOUT})
--- a/Dbus/interfaces/bash/CMakeLists.txt
+++ b/Dbus/interfaces/bash/CMakeLists.txt
@@ -4,12 +4,14 @@ configure_file(${CMAKE_CURRENT_SOURCE_DI
 if (NOT "${CMAKE_CURRENT_BINARY_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
 	# copy *.py to current binary dir (cleaner)
 	execute_process(COMMAND cp "${CMAKE_CURRENT_SOURCE_DIR}/setup.py" ${CMAKE_CURRENT_BINARY_DIR})
-	exec_program("${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_BINARY_DIR}" ARGS "setup.py" "-q" "build")
 endif()
-# Run a custom script with 'make install' 
-add_custom_target(bash_pyc ALL)
-configure_file(${CMAKE_CURRENT_SOURCE_DIR}/BashInstall.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/BashInstall.cmake)
-set_target_properties(bash_pyc PROPERTIES POST_INSTALL_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/BashInstall.cmake)
+### handle python stuff in ebuild
+#	exec_program("${PYTHON_EXECUTABLE}" "${CMAKE_CURRENT_BINARY_DIR}" ARGS "setup.py" "-q" "build")
+#endif()
+## Run a custom script with 'make install' 
+#add_custom_target(bash_pyc ALL)
+#configure_file(${CMAKE_CURRENT_SOURCE_DIR}/BashInstall.cmake.in ${CMAKE_CURRENT_BINARY_DIR}/BashInstall.cmake)
+#set_target_properties(bash_pyc PROPERTIES POST_INSTALL_SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/BashInstall.cmake)
 
 ########### install files ###############
 
--- a/Dbus/interfaces/CMakeLists.txt
+++ b/Dbus/interfaces/CMakeLists.txt
@@ -1,8 +1,3 @@
-
-if ("${PYTHON_FOUND}" STREQUAL "TRUE")
-	add_subdirectory(python)
-	add_subdirectory(bash)
-endif()
 if ("${RUBY_FOUND}" STREQUAL "TRUE")
 	add_subdirectory(ruby)
 endif()
--- a/Dbus/interfaces/bash/CDBashApplet.py.in
+++ b/Dbus/interfaces/bash/CDBashApplet.py.in
@@ -1,4 +1,4 @@
-#!@PYTHON_EXECUTABLE@
+#!/bin/python
 #
 # This is a part of the external applets for Cairo-Dock
 # Copyright : (C) 2010-2011 by Nochka85, Fabounet and Matttbe
--- a/Dbus/interfaces/python/CairoDock.py.in
+++ b/Dbus/interfaces/python/CairoDock.py.in
@@ -1,4 +1,4 @@
-#!@PYTHON_EXECUTABLE@
+#!/bin/python
 #
 # This is a part of the Cairo-Dock plug-ins.
 # Copyright : (C) 2010-2011 by Fabounet
--- a/Dbus/interfaces/python/CDApplet.py.in
+++ b/Dbus/interfaces/python/CDApplet.py.in
@@ -1,4 +1,4 @@
-#!@PYTHON_EXECUTABLE@
+#!/bin/python
 #
 # This is a part of the external applets for Cairo-Dock
 # Copyright : (C) 2010-2011 by Fabounet