Removed subpackages: root-proof, root-proof-bench, root-proof-player,
root-proof-sessionviewer, root-sql-mysql, root-sql-odbc, root-sql-pgsql
New subpackages: root-geom-checker, root-gui-treemap,
root-tree-ntuple-browse, root-histv7
JsMVA python (sub)module dropped from python3-root package
Compile minuit2 with Open MP support
Dropped patches: 7
New patches: 4
38 lines
1.6 KiB
Diff
38 lines
1.6 KiB
Diff
From e0dec6edd0678c2c52aaeb2f3645378ffeaa2d73 Mon Sep 17 00:00:00 2001
|
|
From: Mattias Ellert <mattias.ellert@physics.uu.se>
|
|
Date: Thu, 4 Dec 2025 23:13:28 +0100
|
|
Subject: [PATCH] Dont export Python modules
|
|
|
|
---
|
|
bindings/pyroot/pythonizations/CMakeLists.txt | 8 +-------
|
|
1 file changed, 1 insertion(+), 7 deletions(-)
|
|
|
|
diff --git a/bindings/pyroot/pythonizations/CMakeLists.txt b/bindings/pyroot/pythonizations/CMakeLists.txt
|
|
index 1230f18ca47..2df4b733320 100644
|
|
--- a/bindings/pyroot/pythonizations/CMakeLists.txt
|
|
+++ b/bindings/pyroot/pythonizations/CMakeLists.txt
|
|
@@ -202,11 +202,6 @@ foreach(py_source ${py_sources})
|
|
COMMENT "Compiling PyROOT source ${py_source} for Python ${Python3_VERSION}")
|
|
endforeach()
|
|
|
|
-# Create meta-target PyROOT3 (INTERFACE library)
|
|
-# Export of targets are not supported for custom targets(add_custom_targets())
|
|
-add_library(PyROOT INTERFACE)
|
|
-target_link_libraries(PyROOT INTERFACE cppyy_backend cppyy ROOTPythonizations)
|
|
-
|
|
# Define library output directories for build and install trees
|
|
set(pymoduledir_build "${localruntimedir}/ROOT")
|
|
set(pymoduledir_install "${CMAKE_INSTALL_PYTHONDIR}/ROOT")
|
|
@@ -231,8 +226,7 @@ if(NOT MSVC)
|
|
endif()
|
|
|
|
# Install library
|
|
-install(TARGETS ${libname} EXPORT ${CMAKE_PROJECT_NAME}Exports
|
|
- RUNTIME DESTINATION ${pymoduledir_install} COMPONENT libraries
|
|
+install(TARGETS ${libname} RUNTIME DESTINATION ${pymoduledir_install} COMPONENT libraries
|
|
LIBRARY DESTINATION ${pymoduledir_install} COMPONENT libraries
|
|
ARCHIVE DESTINATION ${pymoduledir_install} COMPONENT libraries)
|
|
|
|
--
|
|
2.52.0
|
|
|