Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 687324 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-4 / +14 lines)
Line  Link Here
0
-- Uranium-3.1.0-orig/CMakeLists.txt   2017-12-04 18:02:00.000000000 +0200
0
++ Uranium-3.1.0/CMakeLists.txt    2017-12-29 18:57:22.493045527 +0200
Lines 12-17 Link Here
12
12
13
find_package(PythonInterp 3.5.0 REQUIRED)
13
find_package(PythonInterp 3.5.0 REQUIRED)
14
14
15
if(NOT PYTHON_SITE_PACKAGES_DIR)
16
   if(APPLE OR WIN32)
17
       set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages
18
           CACHE STRING "Directory to install Python bindings to")
19
   else()
20
       set(PYTHON_SITE_PACKAGES_DIR lib/python${PYTHON_VERSION_MAJOR}/dist-packages CACHE
21
           STRING "Directory to install Python bindings to")
22
   endif()
23
endif()
24
15
# # Checks using pylint
25
# # Checks using pylint
16
# Note that we use exit 0 here to not mark the build as a failure on check failure
26
# Note that we use exit 0 here to not mark the build as a failure on check failure
17
# In addition, the specified pylint configuration uses the spellchecker plugin. This required python-enchant to be installed.
27
# In addition, the specified pylint configuration uses the spellchecker plugin. This required python-enchant to be installed.
Lines 48-58 Link Here
48
if(EXISTS /etc/debian_version)
58
if(EXISTS /etc/debian_version)
49
    install(DIRECTORY UM DESTINATION lib${LIB_SUFFIX}/python${PYTHON_VERSION_MAJOR}/dist-packages)
59
    install(DIRECTORY UM DESTINATION lib${LIB_SUFFIX}/python${PYTHON_VERSION_MAJOR}/dist-packages)
50
else()
60
else()
51
    install(DIRECTORY UM DESTINATION lib${LIB_SUFFIX}/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages)
61
    install(DIRECTORY UM DESTINATION ${PYTHON_SITE_PACKAGES_DIR})
52
endif()
62
endif()
53
install(FILES ${CMAKE_SOURCE_DIR}/cmake/UraniumTranslationTools.cmake
63
install(FILES ${CMAKE_SOURCE_DIR}/cmake/UraniumTranslationTools.cmake
54
        DESTINATION ${CMAKE_INSTALL_DATADIR}/cmake-${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}/Modules/ )
64
        DESTINATION ${CMAKE_INSTALL_DATADIR}/cmake/Modules/ )
55
install(DIRECTORY resources DESTINATION ${CMAKE_INSTALL_DATADIR}/uranium)
65
install(DIRECTORY resources DESTINATION ${CMAKE_INSTALL_DATADIR}/uranium)
56
install(DIRECTORY plugins DESTINATION lib${LIB_SUFFIX}/uranium)
66
install(DIRECTORY plugins DESTINATION ${CMAKE_INSTALL_LIBDIR}/uranium)
57
67
58
include(CPackConfig.cmake)
68
include(CPackConfig.cmake)

Return to bug 687324