- Update to 3.3 For details, see https://github.com/nest/nest-simulator/releases/tag/v3.3 - Remove upstream nest-simulator-3.2-p1-VersionNumber.patch - Remove upstream Fix-missing-return-proxynode.patch - Fix RUNPATHs, add * 0001-Use-correct-relative-paths-for-RUNPATH.patch * 0002-Set-only-relevant-RUNPATHs-for-executable-and-librar.patch OBS-URL: https://build.opensuse.org/request/show/991429 OBS-URL: https://build.opensuse.org/package/show/science/nest?expand=0&rev=5
28 lines
905 B
Diff
28 lines
905 B
Diff
diff --git a/pynest/CMakeLists.txt b/pynest/CMakeLists.txt
|
|
index e8f2568..51b92ac 100644
|
|
--- a/pynest/CMakeLists.txt
|
|
+++ b/pynest/CMakeLists.txt
|
|
@@ -94,9 +94,14 @@ if ( HAVE_PYTHON )
|
|
install( CODE "
|
|
execute_process(
|
|
COMMAND ${PYTHON} ${CMAKE_CURRENT_BINARY_DIR}/setup.py install_egg_info
|
|
+ --root=\${DESTDIR}/
|
|
--install-dir=${CMAKE_INSTALL_PREFIX}/${PYEXECDIR}
|
|
WORKING_DIRECTORY \"${CMAKE_INSTALL_PREFIX}/${PYEXECDIR}\"
|
|
)
|
|
+ "
|
|
+ )
|
|
+ if ( FALSE )
|
|
+ install( CODE "
|
|
# Use Python's standard library `pkg_resources` module to find
|
|
# the install requirements of `nest` as specified in `setup.py`.
|
|
# Then feed them into the stdin pipe of `pip install`.
|
|
@@ -106,6 +111,7 @@ if ( HAVE_PYTHON )
|
|
)
|
|
"
|
|
)
|
|
+ endif ()
|
|
|
|
install( DIRECTORY examples/
|
|
DESTINATION ${CMAKE_INSTALL_DOCDIR}/examples/pynest
|