1 |
commit: 6b55686cf7e2e81ad8dc946607f6c189fd3807e2 |
2 |
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 28 11:22:58 2021 +0000 |
4 |
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 28 12:24:24 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b55686c |
7 |
|
8 |
sci-physics/root: drop old |
9 |
|
10 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
11 |
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org> |
12 |
|
13 |
sci-physics/root/Manifest | 1 - |
14 |
sci-physics/root/root-6.22.06-r1.ebuild | 307 -------------------------------- |
15 |
2 files changed, 308 deletions(-) |
16 |
|
17 |
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest |
18 |
index e66ff0f7836..6839ea17b34 100644 |
19 |
--- a/sci-physics/root/Manifest |
20 |
+++ b/sci-physics/root/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST root_v6.22.06.source.tar.gz 173073959 BLAKE2B 3db5e5ff73509a87d00aaba5a394c96aaddebac210ce692d10b9174f0bdff5dc5862c25c9ff66e481b9fda96684cfca45ab49824166404f59ad76edb3fbdddde SHA512 39b330f0cd594f06e30e33dd4b0fc86cfd076b006e5287ff61e577deaf76e63f2e5780b72f53c0770b7d2e28e6f61133ff54b5d905ec2ad845c8f00b10be6fb7 |
23 |
DIST root_v6.22.08.source.tar.gz 173079716 BLAKE2B 0b3c15dfedd0215334dcd59db133aa9097709996e0e9cc20a1ae96f954ee607cad314291148f78a31f24ba78dee84204e617e17a6ed8a390503b068e8120e9f3 SHA512 2355e20b8c4d7ad747c31956a3ad0f6e7b70039f3e6613182bd7c53d0e8776267ee85fc1d8aad9ed0d942e28f4124ad79a7dc1082bb1ea7974be2cb6a8a85b39 |
24 |
DIST root_v6.24.02.source.tar.gz 185205849 BLAKE2B 2b8b7aaf6d1bf498a52f341128ee3202ae5166d6ad49d8a0a05da64d4ed2887b50c22e67a7ce694e85d4330a1002937e21a4746be0342a9e21631e4b88125535 SHA512 8ff64688c6c675e157a5db504f8347511752dd10142c70af677fde9396841eb0a76bb9ec43631e73c83b09f278e34706a5492e22db52b6c100578329cef3c461 |
25 |
|
26 |
diff --git a/sci-physics/root/root-6.22.06-r1.ebuild b/sci-physics/root/root-6.22.06-r1.ebuild |
27 |
deleted file mode 100644 |
28 |
index 905c8eea79f..00000000000 |
29 |
--- a/sci-physics/root/root-6.22.06-r1.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,307 +0,0 @@ |
32 |
-# Copyright 1999-2021 Gentoo Authors |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
- |
35 |
-EAPI=7 |
36 |
- |
37 |
-# ninja does not work due to fortran |
38 |
-CMAKE_MAKEFILE_GENERATOR=emake |
39 |
-FORTRAN_NEEDED="fortran" |
40 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
41 |
- |
42 |
-inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs |
43 |
- |
44 |
-DESCRIPTION="C++ data analysis framework and interpreter from CERN" |
45 |
-HOMEPAGE="https://root.cern" |
46 |
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz" |
47 |
- |
48 |
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda cudnn +davix debug emacs |
49 |
- +examples fits fftw fortran +gdml graphviz +gsl http libcxx +minuit |
50 |
- mpi mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python |
51 |
- qt5 R +roofit root7 shadow sqlite +ssl +tbb test +tmva +unuran vc |
52 |
- vmc +xml xrootd" |
53 |
-RESTRICT="!test? ( test )" |
54 |
- |
55 |
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)" |
56 |
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA" |
57 |
-KEYWORDS="~amd64 ~x86" |
58 |
- |
59 |
-REQUIRED_USE=" |
60 |
- ^^ ( c++11 c++14 c++17 ) |
61 |
- cuda? ( tmva ) |
62 |
- cudnn? ( cuda ) |
63 |
- !X? ( !asimage !opengl !qt5 ) |
64 |
- davix? ( ssl xml ) |
65 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
66 |
- qt5? ( root7 ) |
67 |
- root7? ( || ( c++14 c++17 ) ) |
68 |
- tmva? ( gsl ) |
69 |
-" |
70 |
- |
71 |
-CDEPEND=" |
72 |
- app-arch/lz4 |
73 |
- app-arch/zstd |
74 |
- app-arch/xz-utils |
75 |
- fortran? ( dev-lang/cfortran ) |
76 |
- dev-libs/libpcre:3 |
77 |
- dev-libs/xxhash |
78 |
- media-fonts/dejavu |
79 |
- media-libs/freetype:2 |
80 |
- media-libs/libpng:0= |
81 |
- virtual/libcrypt:= |
82 |
- sys-libs/ncurses:= |
83 |
- sys-libs/zlib |
84 |
- X? ( |
85 |
- x11-libs/libX11:0 |
86 |
- x11-libs/libXext:0 |
87 |
- x11-libs/libXft:0 |
88 |
- x11-libs/libXpm:0 |
89 |
- opengl? ( |
90 |
- media-libs/ftgl:0= |
91 |
- media-libs/glew:0= |
92 |
- virtual/opengl |
93 |
- virtual/glu |
94 |
- x11-libs/gl2ps:0= |
95 |
- ) |
96 |
- qt5? ( |
97 |
- dev-qt/qtcore:5 |
98 |
- dev-qt/qtgui:5 |
99 |
- dev-qt/qtwebengine:5[widgets] |
100 |
- ) |
101 |
- ) |
102 |
- asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff] ) |
103 |
- cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 ) |
104 |
- cudnn? ( dev-libs/cudnn ) |
105 |
- davix? ( net-libs/davix ) |
106 |
- emacs? ( >=app-editors/emacs-23.1:* ) |
107 |
- fftw? ( sci-libs/fftw:3.0= ) |
108 |
- fits? ( sci-libs/cfitsio:0= ) |
109 |
- graphviz? ( media-gfx/graphviz ) |
110 |
- gsl? ( sci-libs/gsl:= ) |
111 |
- http? ( dev-libs/fcgi:0= ) |
112 |
- libcxx? ( sys-libs/libcxx ) |
113 |
- unuran? ( sci-mathematics/unuran:0= ) |
114 |
- minuit? ( !sci-libs/minuit ) |
115 |
- mpi? ( virtual/mpi ) |
116 |
- mysql? ( dev-db/mysql-connector-c ) |
117 |
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) ) |
118 |
- oracle? ( dev-db/oracle-instantclient-basic ) |
119 |
- postgres? ( dev-db/postgresql:= ) |
120 |
- pythia6? ( sci-physics/pythia:6 ) |
121 |
- pythia8? ( sci-physics/pythia:8 ) |
122 |
- python? ( ${PYTHON_DEPS} ) |
123 |
- R? ( dev-lang/R ) |
124 |
- shadow? ( sys-apps/shadow ) |
125 |
- sqlite? ( dev-db/sqlite:3 ) |
126 |
- ssl? ( dev-libs/openssl:0= ) |
127 |
- tbb? ( >=dev-cpp/tbb-2018 ) |
128 |
- tmva? ( |
129 |
- $(python_gen_cond_dep ' |
130 |
- dev-python/numpy[${PYTHON_MULTI_USEDEP}] |
131 |
- ') |
132 |
- ) |
133 |
- vc? ( dev-libs/vc:= ) |
134 |
- xml? ( dev-libs/libxml2:2= ) |
135 |
- xrootd? ( net-libs/xrootd:0= ) |
136 |
-" |
137 |
- |
138 |
-DEPEND="${CDEPEND} |
139 |
- virtual/pkgconfig" |
140 |
- |
141 |
-RDEPEND="${CDEPEND}" |
142 |
- |
143 |
-PATCHES=( |
144 |
- "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch |
145 |
-) |
146 |
- |
147 |
-pkg_setup() { |
148 |
- use fortran && fortran-2_pkg_setup |
149 |
- use python && python-single-r1_pkg_setup |
150 |
- |
151 |
- elog "There are extra options on packages not available in Gentoo." |
152 |
- elog "You can use the environment variable EXTRA_ECONF to enable" |
153 |
- elog "these packages. For example, for Vdt you would set:" |
154 |
- elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\"" |
155 |
-} |
156 |
- |
157 |
-src_prepare() { |
158 |
- use cuda && cuda_src_prepare |
159 |
- |
160 |
- cmake_src_prepare |
161 |
- |
162 |
- sed -i "/CLING_BUILD_PLUGINS/d" interpreter/CMakeLists.txt || die |
163 |
- |
164 |
- # CSS should use local images |
165 |
- sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed" |
166 |
- |
167 |
- eapply_user |
168 |
-} |
169 |
- |
170 |
-# Note: ROOT uses bundled clang because it is patched and API-incompatible |
171 |
-# with vanilla clang. The patches enable the C++ interpreter to work. |
172 |
-# Since ROOT installs many files into /etc (>100MB in total) that don't |
173 |
-# really belong there, we install it into another directory to avoid |
174 |
-# making /etc too big. |
175 |
- |
176 |
-src_configure() { |
177 |
- local mycmakeargs=( |
178 |
- -DCMAKE_C_COMPILER=$(tc-getCC) |
179 |
- -DCMAKE_CXX_COMPILER=$(tc-getCXX) |
180 |
- -DCMAKE_CUDA_HOST_COMPILER=$(tc-getCXX) |
181 |
- -DCMAKE_C_FLAGS="${CFLAGS}" |
182 |
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}" |
183 |
- -DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-) |
184 |
- -DPYTHON_EXECUTABLE="${EPREFIX}/usr/bin/${EPYTHON}" |
185 |
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)" |
186 |
- -DCMAKE_INSTALL_MANDIR="${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)/share/man" |
187 |
- -DCMAKE_INSTALL_LIBDIR="lib" |
188 |
- -DDEFAULT_SYSROOT="${EPREFIX}" |
189 |
- -DCLING_BUILD_PLUGINS=OFF |
190 |
- -Dexceptions=ON |
191 |
- -Dfail-on-missing=ON |
192 |
- -Dgnuinstall=OFF |
193 |
- -Dshared=ON |
194 |
- -Dsoversion=ON |
195 |
- -Dbuiltin_llvm=ON |
196 |
- -Dbuiltin_clang=ON |
197 |
- -Dbuiltin_afterimage=OFF |
198 |
- -Dbuiltin_cfitsio=OFF |
199 |
- -Dbuiltin_davix=OFF |
200 |
- -Dbuiltin_fftw3=OFF |
201 |
- -Dbuiltin_freetype=OFF |
202 |
- -Dbuiltin_ftgl=OFF |
203 |
- -Dbuiltin_gl2ps=OFF |
204 |
- -Dbuiltin_glew=OFF |
205 |
- -Dbuiltin_gsl=OFF |
206 |
- -Dbuiltin_lz4=OFF |
207 |
- -Dbuiltin_lzma=OFF |
208 |
- -Dbuiltin_openssl=OFF |
209 |
- -Dbuiltin_pcre=OFF |
210 |
- -Dbuiltin_tbb=OFF |
211 |
- -Dbuiltin_unuran=OFF |
212 |
- -Dbuiltin_vc=OFF |
213 |
- -Dbuiltin_vdt=OFF |
214 |
- -Dbuiltin_veccore=OFF |
215 |
- -Dbuiltin_xrootd=OFF |
216 |
- -Dbuiltin_xxhash=OFF |
217 |
- -Dbuiltin_zlib=OFF |
218 |
- -Dbuiltin_zstd=OFF |
219 |
- -Dalien=OFF |
220 |
- -Darrow=OFF |
221 |
- -Dasimage=$(usex asimage) |
222 |
- -Dccache=OFF # use ccache via portage |
223 |
- -Dcefweb=OFF |
224 |
- -Dclad=OFF |
225 |
- -Dcocoa=$(usex aqua) |
226 |
- -Dcuda=$(usex cuda) |
227 |
- -Dcudnn=$(usex cudnn) |
228 |
- -Dcxxmodules=OFF # requires clang, unstable |
229 |
- -Ddataframe=ON |
230 |
- -Ddavix=$(usex davix) |
231 |
- -Ddcache=OFF |
232 |
- -Dfcgi=$(usex http) |
233 |
- -Dfftw3=$(usex fftw) |
234 |
- -Dfitsio=$(usex fits) |
235 |
- -Dfortran=$(usex fortran) |
236 |
- -Dgdml=$(usex gdml) |
237 |
- -Dgfal=OFF |
238 |
- -Dgminimal=OFF |
239 |
- -Dgsl_shared=$(usex gsl) |
240 |
- -Dgviz=$(usex graphviz) |
241 |
- -Dhttp=$(usex http) |
242 |
- -Dimt=$(usex tbb) |
243 |
- -Dlibcxx=$(usex libcxx) |
244 |
- -Dmathmore=$(usex gsl) |
245 |
- -Dmemstat=OFF # deprecated |
246 |
- -Dminimal=OFF |
247 |
- -Dminuit2=$(usex minuit) |
248 |
- -Dminuit=$(usex minuit) |
249 |
- -Dmlp=$(usex tmva) |
250 |
- -Dmonalisa=OFF |
251 |
- -Dmpi=$(usex mpi) |
252 |
- -Dmysql=$(usex mysql) |
253 |
- -Dodbc=$(usex odbc) |
254 |
- -Dopengl=$(usex opengl) |
255 |
- -Doracle=$(usex oracle) |
256 |
- -Dpgsql=$(usex postgres) |
257 |
- -Dpyroot=$(usex python) # python was renamed to pyroot |
258 |
- -Dpyroot_legacy=OFF |
259 |
- -Dpythia6=$(usex pythia6) |
260 |
- -Dpythia8=$(usex pythia8) |
261 |
- -Dqt5web=$(usex qt5) |
262 |
- -Dr=$(usex R) |
263 |
- -Droofit=$(usex roofit) |
264 |
- -Droot7=$(usex root7) |
265 |
- -Drootbench=OFF |
266 |
- -Droottest=OFF |
267 |
- -Drpath=OFF |
268 |
- -Druntime_cxxmodules=OFF |
269 |
- -Dshadowpw=$(usex shadow) |
270 |
- -Dspectrum=ON |
271 |
- -Dsqlite=$(usex sqlite) |
272 |
- -Dssl=$(usex ssl) |
273 |
- -Dtcmalloc=OFF |
274 |
- -Dtesting=$(usex test) |
275 |
- -Dtmva=$(usex tmva) |
276 |
- -Dtmva-cpu=$(usex tmva) |
277 |
- -Dtmva-gpu=$(usex cuda) |
278 |
- -Dtmva-pymva=$(usex tmva) |
279 |
- -Dtmva-rmva=$(usex R) |
280 |
- -Dunuran=$(usex unuran) |
281 |
- -Dvc=$(usex vc) |
282 |
- -Dvdt=OFF |
283 |
- -Dveccore=OFF |
284 |
- -Dvecgeom=OFF |
285 |
- -Dvmc=$(usex vmc) |
286 |
- -Dx11=$(usex X) |
287 |
- -Dxml=$(usex xml) |
288 |
- -Dxrootd=$(usex xrootd) |
289 |
- ${EXTRA_ECONF} |
290 |
- ) |
291 |
- |
292 |
- CMAKE_BUILD_TYPE=$(usex debug Debug Release) \ |
293 |
- cmake_src_configure |
294 |
-} |
295 |
- |
296 |
-src_compile() { |
297 |
- # needed for hsimple.root |
298 |
- addwrite /dev/random |
299 |
- cmake_src_compile |
300 |
-} |
301 |
- |
302 |
-src_install() { |
303 |
- cmake_src_install |
304 |
- |
305 |
- ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2) |
306 |
- ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)" |
307 |
- |
308 |
- cat > ${ROOTENV} <<- EOF || die |
309 |
- MANPATH="${ROOTSYS}/share/man" |
310 |
- PATH="${ROOTSYS}/bin" |
311 |
- ROOTPATH="${ROOTSYS}/bin" |
312 |
- LDPATH="${ROOTSYS}/lib" |
313 |
- EOF |
314 |
- |
315 |
- if use python; then |
316 |
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die |
317 |
- fi |
318 |
- |
319 |
- doenvd ${ROOTENV} |
320 |
- |
321 |
- if use emacs; then |
322 |
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el |
323 |
- fi |
324 |
- |
325 |
- pushd "${D}/${ROOTSYS}" > /dev/null |
326 |
- |
327 |
- rm -r emacs bin/*.{csh,sh,fish} || die |
328 |
- |
329 |
- if ! use examples; then |
330 |
- rm -r tutorials || die |
331 |
- fi |
332 |
- |
333 |
- # create versioned symlinks for binaries |
334 |
- cd bin; |
335 |
- for exe in *; do |
336 |
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)" |
337 |
- done |
338 |
-} |