From fb12f951d1a9071b4ddf774f2d570de245c2d061 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 13 Feb 2023 14:17:04 +0000 Subject: gentoo auto-resync : 13:02:2023 - 14:17:03 --- sci-physics/Manifest.gz | Bin 4192 -> 4193 bytes sci-physics/root/Manifest | 11 +- sci-physics/root/metadata.xml | 3 +- sci-physics/root/root-6.26.08.ebuild | 2 +- sci-physics/root/root-6.26.9999.ebuild | 2 +- sci-physics/root/root-6.28.00.ebuild | 342 +++++++++++++++++++++++++++++++++ sci-physics/root/root-6.28.9999.ebuild | 342 +++++++++++++++++++++++++++++++++ sci-physics/root/root-9999.ebuild | 146 +++++++------- 8 files changed, 763 insertions(+), 85 deletions(-) create mode 100644 sci-physics/root/root-6.28.00.ebuild create mode 100644 sci-physics/root/root-6.28.9999.ebuild (limited to 'sci-physics') diff --git a/sci-physics/Manifest.gz b/sci-physics/Manifest.gz index e0f11dcafea0..bff4b0cf5fda 100644 Binary files a/sci-physics/Manifest.gz and b/sci-physics/Manifest.gz differ diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest index 8a4d9f25c301..8f4f12e85fde 100644 --- a/sci-physics/root/Manifest +++ b/sci-physics/root/Manifest @@ -1,6 +1,9 @@ AUX root-6.12.06_cling-runtime-sysroot.patch 989 BLAKE2B 8202cc8f2bf72cc25642d0a03ba26c3969069b291a6a22188879dbedbf0c3c496149f79f671d0eb51d81d0ee36565660d136b4741f5d018c2b05325ff08381f0 SHA512 c96dee9843da1051c54bd6870ef0a04714944ffe1f86800c9a51b8eb8ef84107d3315d3a708dcc0b651248af4bec362c7f31695514505045aeda9c793d40dc58 DIST root_v6.26.08.source.tar.gz 195225434 BLAKE2B e96870b701fbf25dd01c6ab1e39c40ee8fdce9bc6e58d2a6f48a8b3eae71b9eab0cef9a7a229d56efc00eb0d50f218eb2b26a2786641a484e4a08196007409c7 SHA512 5e8f7c6cbe0335a123e8154570582fcdbb1b6ca55ffd63c06e4d2bb85a03bb1a6b827f299b8aabff6699458cbf6bfecf5e4806889c43520a1df2cea12dde387b -EBUILD root-6.26.08.ebuild 8248 BLAKE2B 47a42e21f0300955bea66e26b013c9525bd6b056a5f732c85ab98bf834fd9f3927ec9ffb3b54c6dd1e945f1c758bca92c5f7fd4c85895ff46b3e4374561dc6dd SHA512 a7760f85e85dd0c7cc8c9c967bfdbea988cb6bc1c12457fd16f269d752522c2b7f28159a7e79b8df9985a32eab172541920077eefe4b0c54c6229b2b1c88ec22 -EBUILD root-6.26.9999.ebuild 8248 BLAKE2B 47a42e21f0300955bea66e26b013c9525bd6b056a5f732c85ab98bf834fd9f3927ec9ffb3b54c6dd1e945f1c758bca92c5f7fd4c85895ff46b3e4374561dc6dd SHA512 a7760f85e85dd0c7cc8c9c967bfdbea988cb6bc1c12457fd16f269d752522c2b7f28159a7e79b8df9985a32eab172541920077eefe4b0c54c6229b2b1c88ec22 -EBUILD root-9999.ebuild 8459 BLAKE2B 1bb5a101c43d685e074eba33dd16e05eb78972ced7d50540e0133704ad9113fab5be34b05f991861e61e26973ea3c02a81061f5b49b0cce03a839dcb6220e708 SHA512 130dd2c54dc5db47df7f07e8350fddb6fff7d7b5304ef8129aa22dd60fb47f0dd9f001bf06dbefc3275a162406cfb8f7fa52228b9b78bc896e39cbab059ed987 -MISC metadata.xml 3150 BLAKE2B eb4fbf007e655d2a0bc80d8ef608f0ba19324ddea1af595dfa4ff5115e8d62409be4bfbf262cd1e3d9a400bd4f658224aac40690bdae072a870f8e1739e481d3 SHA512 3f3ff439a879e22319e4b97dfbbd01fe62e36904a8152507553ead043833218d59b6ecf87c5ebed339fb36af6573e6a171469e8158364db1f2b92cca97dedff3 +DIST root_v6.28.00.source.tar.gz 185318916 BLAKE2B 12161f91e9875f62104f3c74f043191a3035bda1b31f8f36898cbae6cada4423c2179057c49cc01b52bdb66ffcc15c2c4be4322d7cf45b8bd1fb37f0c1dd568c SHA512 0ef842fce1e4afb5fb732ef480e6b62135404678f6f80b7605ecb9fbddf2981c6069086af7e42ede9e1310b6b0135cdfbcd93e701fbc7262f49e1f1737805617 +EBUILD root-6.26.08.ebuild 8255 BLAKE2B 3e9b70ce94a0f3fc6a5da225696b697982c9eb02705e88ddaaa3afc15e39477ee25b449e02d51b6766258b8ce49dbae2c383cee9e27a8b10eeba588f5dedcbcf SHA512 158ad665b6f215f772a3d6a292efa07550667742b28e3ad5788bfc8ee071f27f66df0000fefea0a87e3fbe397a1957044d86cbbc28e6a957fc77fc2f7b03b218 +EBUILD root-6.26.9999.ebuild 8255 BLAKE2B 3e9b70ce94a0f3fc6a5da225696b697982c9eb02705e88ddaaa3afc15e39477ee25b449e02d51b6766258b8ce49dbae2c383cee9e27a8b10eeba588f5dedcbcf SHA512 158ad665b6f215f772a3d6a292efa07550667742b28e3ad5788bfc8ee071f27f66df0000fefea0a87e3fbe397a1957044d86cbbc28e6a957fc77fc2f7b03b218 +EBUILD root-6.28.00.ebuild 8622 BLAKE2B 91990171dfca14dd74e5fbbe220d70418e600fcf73f9e35f0a61a41f5789973d142bd506167c362a4d679db1d034fa72cc17ccd13897d237aeeb8e352e76c76e SHA512 b8ab8a54ec9cfda9f116cc03030f26215f622d9a7085bf99bdd3f87fc07aec5bc91505c4ca0aeb5cbae5d5f38bea6705fa5ae78f27df26206be045f34010b511 +EBUILD root-6.28.9999.ebuild 8622 BLAKE2B 91990171dfca14dd74e5fbbe220d70418e600fcf73f9e35f0a61a41f5789973d142bd506167c362a4d679db1d034fa72cc17ccd13897d237aeeb8e352e76c76e SHA512 b8ab8a54ec9cfda9f116cc03030f26215f622d9a7085bf99bdd3f87fc07aec5bc91505c4ca0aeb5cbae5d5f38bea6705fa5ae78f27df26206be045f34010b511 +EBUILD root-9999.ebuild 8622 BLAKE2B 91990171dfca14dd74e5fbbe220d70418e600fcf73f9e35f0a61a41f5789973d142bd506167c362a4d679db1d034fa72cc17ccd13897d237aeeb8e352e76c76e SHA512 b8ab8a54ec9cfda9f116cc03030f26215f622d9a7085bf99bdd3f87fc07aec5bc91505c4ca0aeb5cbae5d5f38bea6705fa5ae78f27df26206be045f34010b511 +MISC metadata.xml 3125 BLAKE2B 05365d68925cc1f02e2be360d8f433de89c2d37d9a141a4ef71e0acd1ee7b1d345166c8253080082abb1a1a041c59871f3e3f1503ecc3bae33c88e3f05b42ea1 SHA512 4bffb1c5be76fc9a59b0ba593539a092f298329642d43994e339611f79d524543839f813040610bdac9d636e6a22adf0f06adf2b5a553175c2f0679ba82a067d diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml index 3e2acf396a84..af031f611c84 100644 --- a/sci-physics/root/metadata.xml +++ b/sci-physics/root/metadata.xml @@ -21,7 +21,6 @@ Enable support for media-libs/libafterimage - Build using the C++11 standard Build using the C++14 standard Build using the C++17 standard Enable support for nVidia CUDA @@ -31,6 +30,7 @@ Compile included Fortran programs Enable GDML writer and reader Enable http server support including but not limited to fastcgi support + Install dependencies to enable ROOT's C++ kernel in Jupyter notebooks Build ROOT against sys-libs/libcxx Build ROOT's internal versions of minuit (fortran) and minuit2 (C++) Build the interface for sci-physics/pythia version 6.x @@ -44,7 +44,6 @@ Enable support for sci-mathematics/unuran Enable support for sys-libs/liburing in RNTuple Enable support for dev-libs/vc with VecCore - Built the Virtual Monte Carlo library Build the interface for net-libs/xrootd diff --git a/sci-physics/root/root-6.26.08.ebuild b/sci-physics/root/root-6.26.08.ebuild index 725ee1820afe..2d2e1c21374b 100644 --- a/sci-physics/root/root-6.26.08.ebuild +++ b/sci-physics/root/root-6.26.08.ebuild @@ -47,7 +47,7 @@ REQUIRED_USE=" python? ( ${PYTHON_REQUIRED_USE} ) qt5? ( root7 ) root7? ( || ( c++17 ) ) - tmva? ( gsl ) + tmva? ( gsl python ) uring? ( root7 ) " diff --git a/sci-physics/root/root-6.26.9999.ebuild b/sci-physics/root/root-6.26.9999.ebuild index 725ee1820afe..2d2e1c21374b 100644 --- a/sci-physics/root/root-6.26.9999.ebuild +++ b/sci-physics/root/root-6.26.9999.ebuild @@ -47,7 +47,7 @@ REQUIRED_USE=" python? ( ${PYTHON_REQUIRED_USE} ) qt5? ( root7 ) root7? ( || ( c++17 ) ) - tmva? ( gsl ) + tmva? ( gsl python ) uring? ( root7 ) " diff --git a/sci-physics/root/root-6.28.00.ebuild b/sci-physics/root/root-6.28.00.ebuild new file mode 100644 index 000000000000..84fee8efa756 --- /dev/null +++ b/sci-physics/root/root-6.28.00.ebuild @@ -0,0 +1,342 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ninja does not work due to fortran +CMAKE_MAKEFILE_GENERATOR=emake +FORTRAN_NEEDED="fortran" +PYTHON_COMPAT=( python3_{9..11} ) + +inherit cmake cuda fortran-2 python-single-r1 toolchain-funcs + +DESCRIPTION="C++ data analysis framework and interpreter from CERN" +HOMEPAGE="https://root.cern" + +IUSE="+X aqua +asimage c++14 +c++17 cuda cudnn +davix debug +examples + fits fftw fortran +gdml graphviz +gsl http jupyter libcxx +minuit mpi + mysql odbc +opengl oracle postgres pythia6 pythia8 +python qt5 R +roofit + +root7 shadow sqlite +ssl +tbb test +tmva +unuran uring vc +xml xrootd" +RESTRICT="test" +PROPERTIES="test_network" + +if [[ ${PV} =~ "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/root-project/root.git" + if [[ ${PV} == "9999" ]]; then + SLOT="6/9999" + else + SLOT="6/$(ver_cut 1-3)" + EGIT_BRANCH="v$(ver_cut 1)-$(ver_cut 2)-00-patches" + fi +else + SLOT="6/$(ver_cut 1-3)" + KEYWORDS="~amd64 ~x86" + SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz" +fi + +LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA" + +REQUIRED_USE=" + ^^ ( c++14 c++17 ) + cuda? ( tmva ) + cudnn? ( cuda ) + !X? ( !asimage !opengl !qt5 ) + davix? ( ssl xml ) + python? ( ${PYTHON_REQUIRED_USE} ) + qt5? ( root7 ) + root7? ( || ( c++17 ) ) + tmva? ( gsl python ) + uring? ( root7 ) +" + +CDEPEND=" + app-arch/lz4 + app-arch/zstd + app-arch/xz-utils + fortran? ( dev-lang/cfortran ) + dev-cpp/nlohmann_json + dev-libs/libpcre:3 + dev-libs/xxhash + media-fonts/dejavu + media-libs/freetype:2 + media-libs/libpng:0= + virtual/libcrypt:= + sys-libs/ncurses:= + sys-libs/zlib + X? ( + x11-libs/libX11:0 + x11-libs/libXext:0 + x11-libs/libXft:0 + x11-libs/libXpm:0 + opengl? ( + media-libs/ftgl:0= + media-libs/glew:0= + virtual/opengl + virtual/glu + x11-libs/gl2ps:0= + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwebengine:5[widgets] + ) + ) + asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff] ) + cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 ) + cudnn? ( dev-libs/cudnn ) + davix? ( net-libs/davix ) + fftw? ( sci-libs/fftw:3.0= ) + fits? ( sci-libs/cfitsio:0= ) + graphviz? ( media-gfx/graphviz ) + gsl? ( sci-libs/gsl:= ) + http? ( dev-libs/fcgi:0= ) + libcxx? ( sys-libs/libcxx ) + unuran? ( sci-mathematics/unuran:0= ) + minuit? ( !sci-libs/minuit ) + mpi? ( virtual/mpi[fortran?] ) + mysql? ( dev-db/mysql-connector-c ) + odbc? ( + || ( + dev-db/libiodbc + dev-db/unixODBC + ) + ) + oracle? ( dev-db/oracle-instantclient[sdk] ) + postgres? ( dev-db/postgresql:= ) + pythia6? ( sci-physics/pythia:6 ) + pythia8? ( sci-physics/pythia:8 ) + python? ( ${PYTHON_DEPS} ) + R? ( dev-lang/R ) + shadow? ( sys-apps/shadow ) + sqlite? ( dev-db/sqlite:3 ) + ssl? ( dev-libs/openssl:0= ) + tbb? ( dev-cpp/tbb:= ) + tmva? ( + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ') + ) + uring? ( sys-libs/liburing:= ) + vc? ( dev-libs/vc:= ) + xml? ( dev-libs/libxml2:2= ) + xrootd? ( net-libs/xrootd:0= ) +" + +DEPEND="${CDEPEND} + virtual/pkgconfig" + +RDEPEND="${CDEPEND} + $(python_gen_cond_dep ' + dev-python/jupyter[${PYTHON_USEDEP}] + dev-python/notebook[${PYTHON_USEDEP}] + dev-python/metakernel[${PYTHON_USEDEP}] + ') +" + +PATCHES=( + "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch +) + +pkg_setup() { + use fortran && fortran-2_pkg_setup + use python && python-single-r1_pkg_setup + + elog "There are extra options on packages not available in Gentoo." + elog "You can use the environment variable EXTRA_ECONF to enable" + elog "these packages. For example, for Vdt you would set:" + elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\"" +} + +src_prepare() { + use cuda && cuda_src_prepare + + cmake_src_prepare + + sed -i "/CLING_BUILD_PLUGINS/d" interpreter/CMakeLists.txt || die + + # CSS should use local images + sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed" + + eapply_user +} + +# Note: ROOT uses bundled clang because it is patched and API-incompatible +# with vanilla clang. The patches enable the C++ interpreter to work. + +src_configure() { + local mycmakeargs=( + -DCMAKE_C_COMPILER="$(tc-getCC)" + -DCMAKE_CXX_COMPILER="$(tc-getCXX)" + -DCMAKE_CUDA_HOST_COMPILER="$(tc-getCXX)" + -DCMAKE_C_FLAGS="${CFLAGS}" + -DCMAKE_CXX_FLAGS="${CXXFLAGS}" + -DCMAKE_CXX_STANDARD=$( (usev c++14 || usev c++17) | cut -c4-) + # set build type flags to empty to avoid overriding CXXFLAGS + -UCMAKE_C_FLAGS_RELEASE + -UCMAKE_C_FLAGS_RELWITHDEBINFO + -UCMAKE_CXX_FLAGS_RELEASE + -UCMAKE_CXX_FLAGS_RELWITHDEBINFO + # enable debug info in LLVM as well with USE=debug + -DLLVM_BUILD_TYPE=$(usex debug RelWithDebInfo Release) + -DPYTHON_EXECUTABLE="${EPREFIX}/usr/bin/${EPYTHON}" + -DDEFAULT_SYSROOT="${EPREFIX}" + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DCMAKE_INSTALL_CMAKEDIR="$(get_libdir)/cmake/ROOT" + -DCMAKE_INSTALL_DATADIR="share/root" + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + -DCMAKE_INSTALL_FONTDIR="share/fonts/root" + -DCMAKE_INSTALL_INCLUDEDIR="include/root" + -DCMAKE_INSTALL_LIBDIR="$(get_libdir)/root" + -DCMAKE_INSTALL_PYTHONDIR="${EPREFIX}/usr/lib/${EPYTHON}/site-packages" + -DCMAKE_INSTALL_SRCDIR="${EPREFIX}/usr/src/debug/${CATEGORY}/${PF}" + -DCMAKE_INSTALL_SYSCONFDIR="share/root" + -DCMAKE_INSTALL_TUTDIR="share/root/tutorials" + -DCLING_BUILD_PLUGINS=OFF + -Dasan=OFF + -Dasserts=$(usex debug) + -Dccache=OFF # use ccache via portage + -Dcoverage=OFF + -Ddev=OFF + -Ddistcc=OFF + -Dexceptions=ON + -Dfail-on-missing=ON + -Dgnuinstall=ON + -Dgminimal=OFF + -Dshared=ON + -Dsoversion=ON + -Dbuiltin_llvm=ON + -Dbuiltin_clang=ON + -Dbuiltin_cling=ON + -Dbuiltin_openui5=ON + -Dbuiltin_afterimage=OFF + -Dbuiltin_cfitsio=OFF + -Dbuiltin_cppzmq=OFF + -Dbuiltin_davix=OFF + -Dbuiltin_fftw3=OFF + -Dbuiltin_freetype=OFF + -Dbuiltin_ftgl=OFF + -Dbuiltin_gl2ps=OFF + -Dbuiltin_glew=OFF + -Dbuiltin_gsl=OFF + -Dbuiltin_gtest=OFF + -Dbuiltin_lz4=OFF + -Dbuiltin_lzma=OFF + -Dbuiltin_nlohmannjson=OFF + -Dbuiltin_openssl=OFF + -Dbuiltin_pcre=OFF + -Dbuiltin_tbb=OFF + -Dbuiltin_unuran=OFF + -Dbuiltin_vc=OFF + -Dbuiltin_vdt=OFF + -Dbuiltin_veccore=OFF + -Dbuiltin_xrootd=OFF + -Dbuiltin_xxhash=OFF + -Dbuiltin_zeromq=OFF + -Dbuiltin_zlib=OFF + -Dbuiltin_zstd=OFF + -Darrow=OFF + -Dasimage=$(usex asimage) + -Dcefweb=OFF + -Dclad=OFF + -Dcocoa=$(usex aqua) + -Dcuda=$(usex cuda) + -Dcudnn=$(usex cudnn) + -Dcxxmodules=OFF # requires clang, unstable + -Ddaos=OFF # not in gentoo + -Ddataframe=ON + -Ddavix=$(usex davix) + -Ddcache=OFF + -Dfcgi=$(usex http) + -Dfftw3=$(usex fftw) + -Dfitsio=$(usex fits) + -Dfortran=$(usex fortran) + -Dgdml=$(usex gdml) + -Dgfal=OFF + -Dgviz=$(usex graphviz) + -Dhttp=$(usex http) + -Dimt=$(usex tbb) + -Djemalloc=OFF + -Dlibcxx=$(usex libcxx) + -Dmathmore=$(usex gsl) + -Dminuit=$(usex minuit) + -Dminuit2=$(usex minuit) + -Dmlp=$(usex tmva) + -Dmonalisa=OFF + -Dmpi=$(usex mpi) + -Dmysql=$(usex mysql) + -Dodbc=$(usex odbc) + -Dopengl=$(usex opengl) + -Doracle=$(usex oracle) + -Dpgsql=$(usex postgres) + -Dpyroot=$(usex python) # python was renamed to pyroot + -Dpyroot_legacy=OFF + -Dpythia6=$(usex pythia6) + -Dpythia8=$(usex pythia8) + -Dqt5web=$(usex qt5) + -Dqt6web=OFF + -Dr=$(usex R) + -Droofit=$(usex roofit) + -Droofit_multiprocess=OFF + -Droofit_hs3_ryml=OFF + -Droot7=$(usex root7) + -Drootbench=OFF + -Droottest=OFF + -Drpath=OFF + -Druntime_cxxmodules=ON + -Dshadowpw=$(usex shadow) + -Dspectrum=ON + -Dsqlite=$(usex sqlite) + -Dssl=$(usex ssl) + -Dtcmalloc=OFF + -Dtest_distrdf_dask=OFF + -Dtest_distrdf_pyspark=OFF + -Dtesting=$(usex test) + -Dtmva=$(usex tmva) + -Dtmva-cpu=$(usex tmva) + -Dtmva-gpu=$(usex cuda) + -Dtmva-pymva=$(usex tmva) + -Dtmva-rmva=$(usex R) + -Dtmva-sofie=OFF + -Dunuran=$(usex unuran) + -During=$(usex uring) + -Dvc=$(usex vc) + -Dvdt=OFF + -Dveccore=OFF + -Dvecgeom=OFF + -Dx11=$(usex X) + -Dxml=$(usex xml) + -Dxrootd=$(usex xrootd) + ${EXTRA_ECONF} + ) + + # Needs to be here, otherwise gets overriden by cmake.eclass + DCMAKE_BUILD_TYPE=$(usex debug RelWithDebInfo Release) cmake_src_configure +} + +src_install() { + cmake_src_install + + newenvd - 99root <<- EOF || die + LDPATH="${EPREFIX}/usr/$(get_libdir)/root" + EOF + + pushd "${ED}/usr" > /dev/null + + rm bin/*.{csh,sh,fish} || die + + if ! use examples; then + rm -r share/root/tutorials || die + fi + + popd + + use python && python_optimize +} + +pkg_postinst() { + einfo "Please note that from now on (specifically since sci-physics/root-6.28.00)," + einfo "ROOT is more closely following FHS (see https://bugs.gentoo.org/666222)." + einfo "Due to this, it will no longer be possible to install multiple concurrent" + einfo "versions of ROOT in Gentoo, since that would now cause file collisions." +} diff --git a/sci-physics/root/root-6.28.9999.ebuild b/sci-physics/root/root-6.28.9999.ebuild new file mode 100644 index 000000000000..84fee8efa756 --- /dev/null +++ b/sci-physics/root/root-6.28.9999.ebuild @@ -0,0 +1,342 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ninja does not work due to fortran +CMAKE_MAKEFILE_GENERATOR=emake +FORTRAN_NEEDED="fortran" +PYTHON_COMPAT=( python3_{9..11} ) + +inherit cmake cuda fortran-2 python-single-r1 toolchain-funcs + +DESCRIPTION="C++ data analysis framework and interpreter from CERN" +HOMEPAGE="https://root.cern" + +IUSE="+X aqua +asimage c++14 +c++17 cuda cudnn +davix debug +examples + fits fftw fortran +gdml graphviz +gsl http jupyter libcxx +minuit mpi + mysql odbc +opengl oracle postgres pythia6 pythia8 +python qt5 R +roofit + +root7 shadow sqlite +ssl +tbb test +tmva +unuran uring vc +xml xrootd" +RESTRICT="test" +PROPERTIES="test_network" + +if [[ ${PV} =~ "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/root-project/root.git" + if [[ ${PV} == "9999" ]]; then + SLOT="6/9999" + else + SLOT="6/$(ver_cut 1-3)" + EGIT_BRANCH="v$(ver_cut 1)-$(ver_cut 2)-00-patches" + fi +else + SLOT="6/$(ver_cut 1-3)" + KEYWORDS="~amd64 ~x86" + SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz" +fi + +LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA" + +REQUIRED_USE=" + ^^ ( c++14 c++17 ) + cuda? ( tmva ) + cudnn? ( cuda ) + !X? ( !asimage !opengl !qt5 ) + davix? ( ssl xml ) + python? ( ${PYTHON_REQUIRED_USE} ) + qt5? ( root7 ) + root7? ( || ( c++17 ) ) + tmva? ( gsl python ) + uring? ( root7 ) +" + +CDEPEND=" + app-arch/lz4 + app-arch/zstd + app-arch/xz-utils + fortran? ( dev-lang/cfortran ) + dev-cpp/nlohmann_json + dev-libs/libpcre:3 + dev-libs/xxhash + media-fonts/dejavu + media-libs/freetype:2 + media-libs/libpng:0= + virtual/libcrypt:= + sys-libs/ncurses:= + sys-libs/zlib + X? ( + x11-libs/libX11:0 + x11-libs/libXext:0 + x11-libs/libXft:0 + x11-libs/libXpm:0 + opengl? ( + media-libs/ftgl:0= + media-libs/glew:0= + virtual/opengl + virtual/glu + x11-libs/gl2ps:0= + ) + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtwebengine:5[widgets] + ) + ) + asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff] ) + cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 ) + cudnn? ( dev-libs/cudnn ) + davix? ( net-libs/davix ) + fftw? ( sci-libs/fftw:3.0= ) + fits? ( sci-libs/cfitsio:0= ) + graphviz? ( media-gfx/graphviz ) + gsl? ( sci-libs/gsl:= ) + http? ( dev-libs/fcgi:0= ) + libcxx? ( sys-libs/libcxx ) + unuran? ( sci-mathematics/unuran:0= ) + minuit? ( !sci-libs/minuit ) + mpi? ( virtual/mpi[fortran?] ) + mysql? ( dev-db/mysql-connector-c ) + odbc? ( + || ( + dev-db/libiodbc + dev-db/unixODBC + ) + ) + oracle? ( dev-db/oracle-instantclient[sdk] ) + postgres? ( dev-db/postgresql:= ) + pythia6? ( sci-physics/pythia:6 ) + pythia8? ( sci-physics/pythia:8 ) + python? ( ${PYTHON_DEPS} ) + R? ( dev-lang/R ) + shadow? ( sys-apps/shadow ) + sqlite? ( dev-db/sqlite:3 ) + ssl? ( dev-libs/openssl:0= ) + tbb? ( dev-cpp/tbb:= ) + tmva? ( + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + ') + ) + uring? ( sys-libs/liburing:= ) + vc? ( dev-libs/vc:= ) + xml? ( dev-libs/libxml2:2= ) + xrootd? ( net-libs/xrootd:0= ) +" + +DEPEND="${CDEPEND} + virtual/pkgconfig" + +RDEPEND="${CDEPEND} + $(python_gen_cond_dep ' + dev-python/jupyter[${PYTHON_USEDEP}] + dev-python/notebook[${PYTHON_USEDEP}] + dev-python/metakernel[${PYTHON_USEDEP}] + ') +" + +PATCHES=( + "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch +) + +pkg_setup() { + use fortran && fortran-2_pkg_setup + use python && python-single-r1_pkg_setup + + elog "There are extra options on packages not available in Gentoo." + elog "You can use the environment variable EXTRA_ECONF to enable" + elog "these packages. For example, for Vdt you would set:" + elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\"" +} + +src_prepare() { + use cuda && cuda_src_prepare + + cmake_src_prepare + + sed -i "/CLING_BUILD_PLUGINS/d" interpreter/CMakeLists.txt || die + + # CSS should use local images + sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed" + + eapply_user +} + +# Note: ROOT uses bundled clang because it is patched and API-incompatible +# with vanilla clang. The patches enable the C++ interpreter to work. + +src_configure() { + local mycmakeargs=( + -DCMAKE_C_COMPILER="$(tc-getCC)" + -DCMAKE_CXX_COMPILER="$(tc-getCXX)" + -DCMAKE_CUDA_HOST_COMPILER="$(tc-getCXX)" + -DCMAKE_C_FLAGS="${CFLAGS}" + -DCMAKE_CXX_FLAGS="${CXXFLAGS}" + -DCMAKE_CXX_STANDARD=$( (usev c++14 || usev c++17) | cut -c4-) + # set build type flags to empty to avoid overriding CXXFLAGS + -UCMAKE_C_FLAGS_RELEASE + -UCMAKE_C_FLAGS_RELWITHDEBINFO + -UCMAKE_CXX_FLAGS_RELEASE + -UCMAKE_CXX_FLAGS_RELWITHDEBINFO + # enable debug info in LLVM as well with USE=debug + -DLLVM_BUILD_TYPE=$(usex debug RelWithDebInfo Release) + -DPYTHON_EXECUTABLE="${EPREFIX}/usr/bin/${EPYTHON}" + -DDEFAULT_SYSROOT="${EPREFIX}" + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DCMAKE_INSTALL_CMAKEDIR="$(get_libdir)/cmake/ROOT" + -DCMAKE_INSTALL_DATADIR="share/root" + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + -DCMAKE_INSTALL_FONTDIR="share/fonts/root" + -DCMAKE_INSTALL_INCLUDEDIR="include/root" + -DCMAKE_INSTALL_LIBDIR="$(get_libdir)/root" + -DCMAKE_INSTALL_PYTHONDIR="${EPREFIX}/usr/lib/${EPYTHON}/site-packages" + -DCMAKE_INSTALL_SRCDIR="${EPREFIX}/usr/src/debug/${CATEGORY}/${PF}" + -DCMAKE_INSTALL_SYSCONFDIR="share/root" + -DCMAKE_INSTALL_TUTDIR="share/root/tutorials" + -DCLING_BUILD_PLUGINS=OFF + -Dasan=OFF + -Dasserts=$(usex debug) + -Dccache=OFF # use ccache via portage + -Dcoverage=OFF + -Ddev=OFF + -Ddistcc=OFF + -Dexceptions=ON + -Dfail-on-missing=ON + -Dgnuinstall=ON + -Dgminimal=OFF + -Dshared=ON + -Dsoversion=ON + -Dbuiltin_llvm=ON + -Dbuiltin_clang=ON + -Dbuiltin_cling=ON + -Dbuiltin_openui5=ON + -Dbuiltin_afterimage=OFF + -Dbuiltin_cfitsio=OFF + -Dbuiltin_cppzmq=OFF + -Dbuiltin_davix=OFF + -Dbuiltin_fftw3=OFF + -Dbuiltin_freetype=OFF + -Dbuiltin_ftgl=OFF + -Dbuiltin_gl2ps=OFF + -Dbuiltin_glew=OFF + -Dbuiltin_gsl=OFF + -Dbuiltin_gtest=OFF + -Dbuiltin_lz4=OFF + -Dbuiltin_lzma=OFF + -Dbuiltin_nlohmannjson=OFF + -Dbuiltin_openssl=OFF + -Dbuiltin_pcre=OFF + -Dbuiltin_tbb=OFF + -Dbuiltin_unuran=OFF + -Dbuiltin_vc=OFF + -Dbuiltin_vdt=OFF + -Dbuiltin_veccore=OFF + -Dbuiltin_xrootd=OFF + -Dbuiltin_xxhash=OFF + -Dbuiltin_zeromq=OFF + -Dbuiltin_zlib=OFF + -Dbuiltin_zstd=OFF + -Darrow=OFF + -Dasimage=$(usex asimage) + -Dcefweb=OFF + -Dclad=OFF + -Dcocoa=$(usex aqua) + -Dcuda=$(usex cuda) + -Dcudnn=$(usex cudnn) + -Dcxxmodules=OFF # requires clang, unstable + -Ddaos=OFF # not in gentoo + -Ddataframe=ON + -Ddavix=$(usex davix) + -Ddcache=OFF + -Dfcgi=$(usex http) + -Dfftw3=$(usex fftw) + -Dfitsio=$(usex fits) + -Dfortran=$(usex fortran) + -Dgdml=$(usex gdml) + -Dgfal=OFF + -Dgviz=$(usex graphviz) + -Dhttp=$(usex http) + -Dimt=$(usex tbb) + -Djemalloc=OFF + -Dlibcxx=$(usex libcxx) + -Dmathmore=$(usex gsl) + -Dminuit=$(usex minuit) + -Dminuit2=$(usex minuit) + -Dmlp=$(usex tmva) + -Dmonalisa=OFF + -Dmpi=$(usex mpi) + -Dmysql=$(usex mysql) + -Dodbc=$(usex odbc) + -Dopengl=$(usex opengl) + -Doracle=$(usex oracle) + -Dpgsql=$(usex postgres) + -Dpyroot=$(usex python) # python was renamed to pyroot + -Dpyroot_legacy=OFF + -Dpythia6=$(usex pythia6) + -Dpythia8=$(usex pythia8) + -Dqt5web=$(usex qt5) + -Dqt6web=OFF + -Dr=$(usex R) + -Droofit=$(usex roofit) + -Droofit_multiprocess=OFF + -Droofit_hs3_ryml=OFF + -Droot7=$(usex root7) + -Drootbench=OFF + -Droottest=OFF + -Drpath=OFF + -Druntime_cxxmodules=ON + -Dshadowpw=$(usex shadow) + -Dspectrum=ON + -Dsqlite=$(usex sqlite) + -Dssl=$(usex ssl) + -Dtcmalloc=OFF + -Dtest_distrdf_dask=OFF + -Dtest_distrdf_pyspark=OFF + -Dtesting=$(usex test) + -Dtmva=$(usex tmva) + -Dtmva-cpu=$(usex tmva) + -Dtmva-gpu=$(usex cuda) + -Dtmva-pymva=$(usex tmva) + -Dtmva-rmva=$(usex R) + -Dtmva-sofie=OFF + -Dunuran=$(usex unuran) + -During=$(usex uring) + -Dvc=$(usex vc) + -Dvdt=OFF + -Dveccore=OFF + -Dvecgeom=OFF + -Dx11=$(usex X) + -Dxml=$(usex xml) + -Dxrootd=$(usex xrootd) + ${EXTRA_ECONF} + ) + + # Needs to be here, otherwise gets overriden by cmake.eclass + DCMAKE_BUILD_TYPE=$(usex debug RelWithDebInfo Release) cmake_src_configure +} + +src_install() { + cmake_src_install + + newenvd - 99root <<- EOF || die + LDPATH="${EPREFIX}/usr/$(get_libdir)/root" + EOF + + pushd "${ED}/usr" > /dev/null + + rm bin/*.{csh,sh,fish} || die + + if ! use examples; then + rm -r share/root/tutorials || die + fi + + popd + + use python && python_optimize +} + +pkg_postinst() { + einfo "Please note that from now on (specifically since sci-physics/root-6.28.00)," + einfo "ROOT is more closely following FHS (see https://bugs.gentoo.org/666222)." + einfo "Due to this, it will no longer be possible to install multiple concurrent" + einfo "versions of ROOT in Gentoo, since that would now cause file collisions." +} diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild index bff12a2d4081..84fee8efa756 100644 --- a/sci-physics/root/root-9999.ebuild +++ b/sci-physics/root/root-9999.ebuild @@ -6,18 +6,17 @@ EAPI=8 # ninja does not work due to fortran CMAKE_MAKEFILE_GENERATOR=emake FORTRAN_NEEDED="fortran" -PYTHON_COMPAT=( python3_{9..10} ) +PYTHON_COMPAT=( python3_{9..11} ) -inherit cmake cuda elisp-common fortran-2 python-single-r1 toolchain-funcs +inherit cmake cuda fortran-2 python-single-r1 toolchain-funcs DESCRIPTION="C++ data analysis framework and interpreter from CERN" HOMEPAGE="https://root.cern" -IUSE="+X aqua +asimage c++11 c++14 +c++17 cuda cudnn +davix debug emacs - +examples fits fftw fortran +gdml graphviz +gsl http libcxx +minuit - mpi mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python - qt5 R +roofit +root7 shadow sqlite +ssl +tbb test +tmva +unuran uring - vc vmc +xml xrootd" +IUSE="+X aqua +asimage c++14 +c++17 cuda cudnn +davix debug +examples + fits fftw fortran +gdml graphviz +gsl http jupyter libcxx +minuit mpi + mysql odbc +opengl oracle postgres pythia6 pythia8 +python qt5 R +roofit + +root7 shadow sqlite +ssl +tbb test +tmva +unuran uring vc +xml xrootd" RESTRICT="test" PROPERTIES="test_network" @@ -25,13 +24,13 @@ if [[ ${PV} =~ "9999" ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/root-project/root.git" if [[ ${PV} == "9999" ]]; then - SLOT="0" + SLOT="6/9999" else - SLOT="$(ver_cut 1-2)/$(ver_cut 3)" + SLOT="6/$(ver_cut 1-3)" EGIT_BRANCH="v$(ver_cut 1)-$(ver_cut 2)-00-patches" fi else - SLOT="$(ver_cut 1-2)/$(ver_cut 3)" + SLOT="6/$(ver_cut 1-3)" KEYWORDS="~amd64 ~x86" SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz" fi @@ -39,15 +38,15 @@ fi LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA" REQUIRED_USE=" - ^^ ( c++11 c++14 c++17 ) + ^^ ( c++14 c++17 ) cuda? ( tmva ) cudnn? ( cuda ) !X? ( !asimage !opengl !qt5 ) davix? ( ssl xml ) python? ( ${PYTHON_REQUIRED_USE} ) qt5? ( root7 ) - root7? ( || ( c++14 c++17 ) ) - tmva? ( gsl ) + root7? ( || ( c++17 ) ) + tmva? ( gsl python ) uring? ( root7 ) " @@ -87,7 +86,6 @@ CDEPEND=" cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 ) cudnn? ( dev-libs/cudnn ) davix? ( net-libs/davix ) - emacs? ( >=app-editors/emacs-23.1:* ) fftw? ( sci-libs/fftw:3.0= ) fits? ( sci-libs/cfitsio:0= ) graphviz? ( media-gfx/graphviz ) @@ -128,7 +126,13 @@ CDEPEND=" DEPEND="${CDEPEND} virtual/pkgconfig" -RDEPEND="${CDEPEND}" +RDEPEND="${CDEPEND} + $(python_gen_cond_dep ' + dev-python/jupyter[${PYTHON_USEDEP}] + dev-python/notebook[${PYTHON_USEDEP}] + dev-python/metakernel[${PYTHON_USEDEP}] + ') +" PATCHES=( "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch @@ -159,9 +163,6 @@ src_prepare() { # Note: ROOT uses bundled clang because it is patched and API-incompatible # with vanilla clang. The patches enable the C++ interpreter to work. -# Since ROOT installs many files into /etc (>100MB in total) that don't -# really belong there, we install it into another directory to avoid -# making /etc too big. src_configure() { local mycmakeargs=( @@ -170,18 +171,38 @@ src_configure() { -DCMAKE_CUDA_HOST_COMPILER="$(tc-getCXX)" -DCMAKE_C_FLAGS="${CFLAGS}" -DCMAKE_CXX_FLAGS="${CXXFLAGS}" - -DCMAKE_CXX_STANDARD=$( (usev c++11 || usev c++14 || usev c++17) | cut -c4-) + -DCMAKE_CXX_STANDARD=$( (usev c++14 || usev c++17) | cut -c4-) + # set build type flags to empty to avoid overriding CXXFLAGS + -UCMAKE_C_FLAGS_RELEASE + -UCMAKE_C_FLAGS_RELWITHDEBINFO + -UCMAKE_CXX_FLAGS_RELEASE + -UCMAKE_CXX_FLAGS_RELWITHDEBINFO + # enable debug info in LLVM as well with USE=debug + -DLLVM_BUILD_TYPE=$(usex debug RelWithDebInfo Release) -DPYTHON_EXECUTABLE="${EPREFIX}/usr/bin/${EPYTHON}" - -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)" - -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)/share/man" - -DCMAKE_INSTALL_LIBDIR="lib" -DDEFAULT_SYSROOT="${EPREFIX}" + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DCMAKE_INSTALL_CMAKEDIR="$(get_libdir)/cmake/ROOT" + -DCMAKE_INSTALL_DATADIR="share/root" + -DCMAKE_INSTALL_DOCDIR="share/doc/${PF}" + -DCMAKE_INSTALL_FONTDIR="share/fonts/root" + -DCMAKE_INSTALL_INCLUDEDIR="include/root" + -DCMAKE_INSTALL_LIBDIR="$(get_libdir)/root" + -DCMAKE_INSTALL_PYTHONDIR="${EPREFIX}/usr/lib/${EPYTHON}/site-packages" + -DCMAKE_INSTALL_SRCDIR="${EPREFIX}/usr/src/debug/${CATEGORY}/${PF}" + -DCMAKE_INSTALL_SYSCONFDIR="share/root" + -DCMAKE_INSTALL_TUTDIR="share/root/tutorials" -DCLING_BUILD_PLUGINS=OFF - -Dasserts=OFF + -Dasan=OFF + -Dasserts=$(usex debug) + -Dccache=OFF # use ccache via portage + -Dcoverage=OFF -Ddev=OFF + -Ddistcc=OFF -Dexceptions=ON -Dfail-on-missing=ON - -Dgnuinstall=OFF + -Dgnuinstall=ON + -Dgminimal=OFF -Dshared=ON -Dsoversion=ON -Dbuiltin_llvm=ON @@ -198,6 +219,7 @@ src_configure() { -Dbuiltin_gl2ps=OFF -Dbuiltin_glew=OFF -Dbuiltin_gsl=OFF + -Dbuiltin_gtest=OFF -Dbuiltin_lz4=OFF -Dbuiltin_lzma=OFF -Dbuiltin_nlohmannjson=OFF @@ -213,37 +235,32 @@ src_configure() { -Dbuiltin_zeromq=OFF -Dbuiltin_zlib=OFF -Dbuiltin_zstd=OFF - -Dalien=OFF -Darrow=OFF -Dasimage=$(usex asimage) - -Dccache=OFF # use ccache via portage -Dcefweb=OFF -Dclad=OFF -Dcocoa=$(usex aqua) -Dcuda=$(usex cuda) -Dcudnn=$(usex cudnn) -Dcxxmodules=OFF # requires clang, unstable + -Ddaos=OFF # not in gentoo -Ddataframe=ON -Ddavix=$(usex davix) -Ddcache=OFF - -Ddistcc=OFF -Dfcgi=$(usex http) -Dfftw3=$(usex fftw) -Dfitsio=$(usex fits) -Dfortran=$(usex fortran) -Dgdml=$(usex gdml) -Dgfal=OFF - -Dgminimal=OFF - -Dgsl_shared=$(usex gsl) -Dgviz=$(usex graphviz) -Dhttp=$(usex http) -Dimt=$(usex tbb) + -Djemalloc=OFF -Dlibcxx=$(usex libcxx) -Dmathmore=$(usex gsl) - -Dmemstat=OFF # deprecated - -Dminimal=OFF - -Dminuit2=$(usex minuit) -Dminuit=$(usex minuit) + -Dminuit2=$(usex minuit) -Dmlp=$(usex tmva) -Dmonalisa=OFF -Dmpi=$(usex mpi) @@ -252,21 +269,21 @@ src_configure() { -Dopengl=$(usex opengl) -Doracle=$(usex oracle) -Dpgsql=$(usex postgres) - -Dpythia6=$(usex pythia6) -Dpyroot=$(usex python) # python was renamed to pyroot - #-Dpyroot_legacy=OFF # set to ON to use legacy PyROOT (6.22 and later) - #-Dpyroot_experimental=OFF # set to ON to use new PyROOT (6.20 and earlier) + -Dpyroot_legacy=OFF + -Dpythia6=$(usex pythia6) -Dpythia8=$(usex pythia8) -Dqt5web=$(usex qt5) -Dqt6web=OFF -Dr=$(usex R) -Droofit=$(usex roofit) -Droofit_multiprocess=OFF + -Droofit_hs3_ryml=OFF -Droot7=$(usex root7) -Drootbench=OFF -Droottest=OFF -Drpath=OFF - -Druntime_cxxmodules=OFF + -Druntime_cxxmodules=ON -Dshadowpw=$(usex shadow) -Dspectrum=ON -Dsqlite=$(usex sqlite) @@ -287,64 +304,39 @@ src_configure() { -Dvdt=OFF -Dveccore=OFF -Dvecgeom=OFF - -Dvmc=$(usex vmc) -Dx11=$(usex X) -Dxml=$(usex xml) -Dxrootd=$(usex xrootd) ${EXTRA_ECONF} ) - CMAKE_BUILD_TYPE=$(usex debug Debug Release) \ - cmake_src_configure -} - -src_compile() { - # needed for hsimple.root - addwrite /dev/random - cmake_src_compile + # Needs to be here, otherwise gets overriden by cmake.eclass + DCMAKE_BUILD_TYPE=$(usex debug RelWithDebInfo Release) cmake_src_configure } src_install() { cmake_src_install - ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2) - - if [[ ${PV} == "9999" ]]; then - ROOTENV="9900${PN}-git" - else - ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)-git" - fi - - cat > ${ROOTENV} <<- EOF || die - MANPATH="${ROOTSYS}/share/man" - PATH="${ROOTSYS}/bin" - ROOTPATH="${ROOTSYS}/bin" - LDPATH="${ROOTSYS}/lib" + newenvd - 99root <<- EOF || die + LDPATH="${EPREFIX}/usr/$(get_libdir)/root" EOF - if use python; then - echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die - fi + pushd "${ED}/usr" > /dev/null - doenvd ${ROOTENV} + rm bin/*.{csh,sh,fish} || die - if use emacs; then - elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el + if ! use examples; then + rm -r share/root/tutorials || die fi - pushd "${D}/${ROOTSYS}" > /dev/null - - rm -r emacs bin/*.{csh,sh,fish} || die + popd - if ! use examples; then - rm -r tutorials || die - fi + use python && python_optimize +} - # create versioned symlinks for binaries - if [[ ! ${PV} == "9999" ]]; then - cd bin; - for exe in *; do - dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)" - done - fi +pkg_postinst() { + einfo "Please note that from now on (specifically since sci-physics/root-6.28.00)," + einfo "ROOT is more closely following FHS (see https://bugs.gentoo.org/666222)." + einfo "Due to this, it will no longer be possible to install multiple concurrent" + einfo "versions of ROOT in Gentoo, since that would now cause file collisions." } -- cgit v1.2.3