Gentoo Archives: gentoo-commits

From: Guilherme Amadio <amadio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
Date: Mon, 19 Nov 2018 16:25:33
Message-Id: 1542644717.ce29012cdd08e8eca1549b2932ed4e4893c648e4.amadio@gentoo
1 commit: ce29012cdd08e8eca1549b2932ed4e4893c648e4
2 Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 19 13:00:55 2018 +0000
4 Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 19 16:25:17 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce29012c
7
8 sci-physics/root: drop old
9
10 Package-Manager: Portage-2.3.51, Repoman-2.3.12
11 Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
12
13 sci-physics/root/Manifest | 1 -
14 sci-physics/root/root-6.12.06-r7.ebuild | 312 --------------------------------
15 2 files changed, 313 deletions(-)
16
17 diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
18 index dc5a9f7f346..3bd6faea2b0 100644
19 --- a/sci-physics/root/Manifest
20 +++ b/sci-physics/root/Manifest
21 @@ -1,2 +1 @@
22 -DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff08cfa470e63be9a02b948a49ae088e8da72ce433a5071d9196bfd98f71e6861b1bda285354012620eee6c61cffcee71a0c8 SHA512 3d44749ccfc3d40a2f516ae53ef40fb244ed785eee0dbc18ff822bbb811a15b943039d30282ef5358a283d485e62531880c877ec77a86089503b06d6f37e42e1
23 DIST root_v6.14.06.source.tar.gz 162462837 BLAKE2B a6904b67d1f5964768fa884bd2b5c648390d0b3626b5be8f39ff0e311bf14690d2aff7eb9d6047fa8d5a9de894935067ea8c033592b9795fc34b61aa5f65fcdb SHA512 83698e1213ae9bd4a87ef3160b459c962199585bed7378efc0cfefdc352e6651a17286a11cd925dbcb5d04e1b832d47a3a69849d048731ea9d0d84f9b0f996a4
24
25 diff --git a/sci-physics/root/root-6.12.06-r7.ebuild b/sci-physics/root/root-6.12.06-r7.ebuild
26 deleted file mode 100644
27 index 87b5d83bd4f..00000000000
28 --- a/sci-physics/root/root-6.12.06-r7.ebuild
29 +++ /dev/null
30 @@ -1,312 +0,0 @@
31 -# Copyright 1999-2018 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -CMAKE_BUILD_TYPE=Release
37 -# ninja does not work due to fortran
38 -CMAKE_MAKEFILE_GENERATOR=emake
39 -FORTRAN_NEEDED="fortran"
40 -PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
41 -
42 -inherit cmake-utils eapi7-ver elisp-common eutils fortran-2 \
43 - prefix python-single-r1 toolchain-funcs
44 -
45 -DESCRIPTION="C++ data analysis framework and interpreter from CERN"
46 -HOMEPAGE="https://root.cern"
47 -SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
48 -
49 -IUSE="+X avahi aqua +asimage +davix emacs +examples fits fftw fortran
50 - +gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
51 - +minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
52 - +python qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
53 - +threads +tiff +tmva +unuran vc xinetd +xml xrootd"
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 - !X? ( !asimage !opengl !qt5 !tiff )
61 - davix? ( ssl xml )
62 - python? ( ${PYTHON_REQUIRED_USE} )
63 - qt5? ( root7 )
64 - tmva? ( gsl )
65 -"
66 -
67 -CDEPEND="
68 - app-arch/lz4
69 - app-arch/xz-utils
70 - fortran? ( dev-lang/cfortran )
71 - dev-libs/libpcre:3=
72 - dev-libs/xxhash
73 - media-fonts/dejavu
74 - media-libs/freetype:2=
75 - media-libs/libpng:0=
76 - sys-libs/ncurses:=
77 - sys-libs/zlib
78 - X? (
79 - x11-libs/libX11:0=
80 - x11-libs/libXext:0=
81 - x11-libs/libXft:0=
82 - x11-libs/libXpm:0=
83 - opengl? (
84 - media-libs/ftgl:0=
85 - media-libs/glew:0=
86 - virtual/opengl
87 - virtual/glu
88 - x11-libs/gl2ps:0=
89 - )
90 - qt5? (
91 - dev-qt/qtcore:5=
92 - dev-qt/qtgui:5=
93 - dev-qt/qtwebengine:5=
94 - )
95 - )
96 - asimage? ( || (
97 - media-libs/libafterimage[gif,jpeg,png,tiff?]
98 - >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
99 - ) )
100 - avahi? ( net-dns/avahi[mdnsresponder-compat] )
101 - davix? ( net-libs/davix )
102 - emacs? ( virtual/emacs )
103 - fftw? ( sci-libs/fftw:3.0= )
104 - fits? ( sci-libs/cfitsio:0= )
105 - graphviz? ( media-gfx/graphviz:0= )
106 - gsl? ( sci-libs/gsl )
107 - http? ( dev-libs/fcgi:0= )
108 - jemalloc? ( dev-libs/jemalloc )
109 - kerberos? ( virtual/krb5 )
110 - ldap? ( net-nds/openldap:0= )
111 - libcxx? ( sys-libs/libcxx )
112 - unuran? ( sci-mathematics/unuran:0= )
113 - minuit? ( !sci-libs/minuit )
114 - mysql? ( virtual/mysql )
115 - odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
116 - oracle? ( dev-db/oracle-instantclient-basic )
117 - postgres? ( dev-db/postgresql:= )
118 - pythia6? ( sci-physics/pythia:6= )
119 - pythia8? ( sci-physics/pythia:8= )
120 - python? ( ${PYTHON_DEPS} )
121 - R? ( dev-lang/R )
122 - shadow? ( virtual/shadow )
123 - sqlite? ( dev-db/sqlite:3 )
124 - ssl? ( dev-libs/openssl:0= )
125 - tbb? ( dev-cpp/tbb )
126 - tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
127 - vc? ( dev-libs/vc )
128 - xml? ( dev-libs/libxml2:2= )
129 - xrootd? ( net-libs/xrootd:0= )
130 -"
131 -
132 -DEPEND="${CDEPEND}
133 - virtual/pkgconfig"
134 -
135 -RDEPEND="${CDEPEND}
136 - xinetd? ( sys-apps/xinetd )"
137 -
138 -PATCHES=(
139 - "${FILESDIR}"/${PN}-6.11.02-hsimple.patch
140 - "${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
141 - "${FILESDIR}"/${PN}-6.12.04-no-opengl.patch
142 - "${FILESDIR}"/${PN}-6.12.04-z3.patch
143 - "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
144 -)
145 -
146 -pkg_setup() {
147 - use fortran && fortran-2_pkg_setup
148 - use python && python-single-r1_pkg_setup
149 -
150 - echo
151 - elog "There are extra options on packages not yet in Gentoo:"
152 - elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
153 - elog "HDFS, Monalisa, MaxDB/SapDB, SRP, VecCore."
154 - elog "You can use the env variable EXTRA_ECONF variable for this."
155 - elog "For example, for Chirp, you would set: "
156 - elog "EXTRA_ECONF=\"-Dchirp=ON\""
157 - echo
158 -}
159 -
160 -src_prepare() {
161 - cmake-utils_src_prepare
162 -
163 - sed -i "/CLING_BUILD_PLUGINS/d" interpreter/CMakeLists.txt || die
164 -
165 - # CSS should use local images
166 - sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
167 -}
168 -
169 -# Note: ROOT uses bundled clang because it is patched and API-incompatible
170 -# with vanilla clang. The patches enable the C++ interpreter to work.
171 -# Since ROOT installs many small files into /etc (~100MB in total),
172 -# we install it into another directory to avoid making /etc too big.
173 -
174 -src_configure() {
175 - local mycmakeargs=(
176 - -DCMAKE_C_FLAGS="${CFLAGS}"
177 - -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
178 - -DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)"
179 - -DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/share/man"
180 - -DMCAKE_INSTALL_LIBDIR=$(get_libdir)
181 - -DDEFAULT_SYSROOT="${EPREFIX}"
182 - -Dexplicitlink=ON
183 - -Dexceptions=ON
184 - -Dfail-on-missing=ON
185 - -Dshared=ON
186 - -Dsoversion=ON
187 - -Dbuiltin_llvm=ON
188 - -Dbuiltin_afterimage=OFF
189 - -Dbuiltin_cfitsio=OFF
190 - -Dbuiltin_davix=OFF
191 - -Dbuiltin_fftw3=OFF
192 - -Dbuiltin_freetype=OFF
193 - -Dbuiltin_ftgl=OFF
194 - -Dbuiltin_gl2ps=OFF
195 - -Dbuiltin_glew=OFF
196 - -Dbuiltin_gsl=OFF
197 - -Dbuiltin_lz4=OFF
198 - -Dbuiltin_lzma=OFF
199 - -Dbuiltin_openssl=OFF
200 - -Dbuiltin_pcre=OFF
201 - -Dbuiltin_tbb=OFF
202 - -Dbuiltin_unuran=OFF
203 - -Dbuiltin_vc=OFF
204 - -Dbuiltin_vdt=OFF
205 - -Dbuiltin_veccore=OFF
206 - -Dbuiltin_xrootd=OFF
207 - -Dbuiltin_xxhash=OFF
208 - -Dbuiltin_zlib=OFF
209 - -Dx11=$(usex X)
210 - -Dxft=$(usex X)
211 - -Dafdsmgrd=OFF
212 - -Dafs=OFF # not implemented
213 - -Dalien=OFF
214 - -Dasimage=$(usex asimage)
215 - -Dastiff=$(usex tiff)
216 - -Dbonjour=$(usex avahi)
217 - -Dlibcxx=$(usex libcxx)
218 - -Dccache=OFF # use ccache via portage
219 - -Dcastor=OFF
220 - -Dchirp=OFF
221 - -Dcling=ON # cling=OFF is broken
222 - -Dcocoa=$(usex aqua)
223 - -Dcxx14=$(usex root7)
224 - -Dcxxmodules=OFF # requires clang, unstable
225 - -Ddavix=$(usex davix)
226 - -Ddcache=OFF
227 - -Dfftw3=$(usex fftw)
228 - -Dfitsio=$(usex fits)
229 - -Dfortran=$(usex fortran)
230 - -Dftgl=$(usex opengl)
231 - -Dgdml=$(usex gdml)
232 - -Dgenvector=ON # genvector=OFF ignored
233 - -Dgeocad=OFF
234 - -Dgfal=OFF
235 - -Dgl2ps=$(usex opengl)
236 - -Dglite=OFF # not implemented
237 - -Dglobus=OFF
238 - -Dgminimal=OFF
239 - -Dgnuinstall=OFF
240 - -Dgsl_shared=$(usex gsl)
241 - -Dgviz=$(usex graphviz)
242 - -Dhdfs=OFF
243 - -Dhttp=$(usex http)
244 - -Dimt=$(usex tbb)
245 - -Djemalloc=$(usex jemalloc)
246 - -Dkrb5=$(usex kerberos)
247 - -Dldap=$(usex ldap)
248 - -Dmathmore=$(usex gsl)
249 - -Dmemstat=$(usex memstat)
250 - -Dminimal=OFF
251 - -Dminuit2=$(usex minuit)
252 - -Dminuit=$(usex minuit)
253 - -Dmonalisa=OFF
254 - -Dmysql=$(usex mysql)
255 - -Dodbc=$(usex odbc)
256 - -Dopengl=$(usex opengl)
257 - -Doracle=$(usex oracle)
258 - -Dpch=ON # pch=OFF is broken
259 - -Dpgsql=$(usex postgres)
260 - -Dpythia6=$(usex pythia6)
261 - -Dpythia8=$(usex pythia8)
262 - -Dpython=$(usex python)
263 - -Dqt5web=$(usex qt5)
264 - -Dqtgsi=OFF
265 - -Dqt=OFF
266 - -Drfio=OFF
267 - -Droofit=$(usex roofit)
268 - -Droot7=$(usex root7)
269 - -Drootbench=OFF
270 - -Droottest=$(usex test)
271 - -Drpath=ON # needed for multi-slot to work
272 - -Druby=OFF # deprecated and broken
273 - -Druntime_cxxmodules=OFF # does not work yet
274 - -Dr=$(usex R)
275 - -Dsapdb=OFF # not implemented
276 - -Dshadowpw=$(usex shadow)
277 - -Dsqlite=$(usex sqlite)
278 - -Dsrp=OFF # not implemented
279 - -Dssl=$(usex ssl)
280 - -Dtable=$(usex table)
281 - -Dtbb=$(usex tbb)
282 - -Dtcmalloc=OFF
283 - -Dtesting=$(usex test)
284 - -Dthread=$(usex threads)
285 - -Dtmva=$(usex tmva)
286 - -Dunuran=$(usex unuran)
287 - -Dvc=$(usex vc)
288 - -Dvdt=OFF
289 - -Dveccore=OFF
290 - -Dxml=$(usex xml)
291 - -Dxrootd=$(usex xrootd)
292 - ${EXTRA_ECONF}
293 - )
294 -
295 - cmake-utils_src_configure
296 -}
297 -
298 -src_install() {
299 - cmake-utils_src_install
300 -
301 - ROOTSYS=${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)
302 - ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
303 -
304 - # ROOT fails without this symlink because it only looks in lib
305 - if [[ ! -d ${D}/${ROOTSYS}/lib ]]; then
306 - dosym $(get_libdir) /usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/lib
307 - fi
308 -
309 - cat > ${ROOTENV} <<- EOF || die
310 - MANPATH="${ROOTSYS}/share/man"
311 - PATH="${ROOTSYS}/bin"
312 - ROOTPATH="${ROOTSYS}/bin"
313 - LDPATH="${ROOTSYS}/$(get_libdir)"
314 - EOF
315 -
316 - if use python; then
317 - echo "PYTHONPATH=${ROOTSYS}/$(get_libdir)" >> ${ROOTENV} || die
318 - fi
319 -
320 - doenvd ${ROOTENV}
321 -
322 - pushd "${D}/${ROOTSYS}" > /dev/null
323 -
324 - if use emacs; then
325 - elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
326 - fi
327 -
328 - if ! use gdml; then
329 - rm -r geom || die
330 - fi
331 -
332 - if ! use examples; then
333 - rm -r test tutorials || die
334 - fi
335 -
336 - if use tmva; then
337 - rm -r tmva || die
338 - fi
339 -
340 - # clean up unnecessary files from installation
341 - rm -r emacs || die
342 -}