* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2015-08-23 11:52 Andrew Savchenko
0 siblings, 0 replies; 196+ messages in thread
From: Andrew Savchenko @ 2015-08-23 11:52 UTC (permalink / raw
To: gentoo-commits
commit: 50e65ee8b8e7b561b052d392ead3290df96e03ad
Author: Andrew Savchenko <bircoph <AT> gmail <DOT> com>
AuthorDate: Sun Aug 23 11:50:45 2015 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun Aug 23 11:50:45 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50e65ee8
sci-physics/root-6.*: fix bug 558270
Genreflex now unconditionally depends on ncurses.
Signed-off-by: Andrew Savchenko <bircoph <AT> gmail.com>
sci-physics/root/root-6.02.05-r2.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/sci-physics/root/root-6.02.05-r2.ebuild b/sci-physics/root/root-6.02.05-r2.ebuild
index 03f0835..0ce7393 100644
--- a/sci-physics/root/root-6.02.05-r2.ebuild
+++ b/sci-physics/root/root-6.02.05-r2.ebuild
@@ -47,6 +47,7 @@ CDEPEND="
media-libs/freetype:2=
media-libs/libpng:0=
>=sys-devel/clang-3.4:=
+ sys-libs/ncurses:=
sys-libs/zlib:0=
X? (
media-libs/ftgl:0=
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2015-09-24 12:44 Agostino Sarubbo
0 siblings, 0 replies; 196+ messages in thread
From: Agostino Sarubbo @ 2015-09-24 12:44 UTC (permalink / raw
To: gentoo-commits
commit: c92a5d34fb405598c369ade75bd6a19950fb28da
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 24 12:44:15 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Sep 24 12:44:15 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c92a5d34
sci-physics/root: amd64 stable wrt bug #546258
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"
sci-physics/root/root-5.34.26.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/root-5.34.26.ebuild b/sci-physics/root/root-5.34.26.ebuild
index 3ba947e..67bffb8 100644
--- a/sci-physics/root/root-5.34.26.ebuild
+++ b/sci-physics/root/root-5.34.26.ebuild
@@ -9,7 +9,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="http://root.cern.ch/git/root.git"
else
SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+ KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
fi
PYTHON_COMPAT=( python2_7 )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2015-09-24 12:45 Agostino Sarubbo
0 siblings, 0 replies; 196+ messages in thread
From: Agostino Sarubbo @ 2015-09-24 12:45 UTC (permalink / raw
To: gentoo-commits
commit: 8c4e01ae824b899d1a6909406cde5cb6b3805670
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 24 12:45:38 2015 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Sep 24 12:45:38 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c4e01ae
sci-physics/root: x86 stable wrt bug #546258
Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"
sci-physics/root/root-5.34.26.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/root-5.34.26.ebuild b/sci-physics/root/root-5.34.26.ebuild
index 67bffb8..b498a18 100644
--- a/sci-physics/root/root-5.34.26.ebuild
+++ b/sci-physics/root/root-5.34.26.ebuild
@@ -9,7 +9,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="http://root.cern.ch/git/root.git"
else
SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz"
- KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+ KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
fi
PYTHON_COMPAT=( python2_7 )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2015-11-20 16:45 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2015-11-20 16:45 UTC (permalink / raw
To: gentoo-commits
commit: b0aeab3eeede114262a57f26d29736ae1ac4362e
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 20 14:42:33 2015 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Nov 20 16:45:55 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0aeab3e
sci-physics/root: Remove workaround to install some examples
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=564576
sci-physics/root/root-6.04.06.ebuild | 5 -----
1 file changed, 5 deletions(-)
diff --git a/sci-physics/root/root-6.04.06.ebuild b/sci-physics/root/root-6.04.06.ebuild
index 1ccb466..90f9f5e 100644
--- a/sci-physics/root/root-6.04.06.ebuild
+++ b/sci-physics/root/root-6.04.06.ebuild
@@ -448,11 +448,6 @@ src_install() {
python_optimize "${D}/usr/$(get_libdir)/root"
fi
use emacs && elisp-install ${PN} build/misc/*.{el,elc}
- if use examples; then
- # these should really be taken care of by the root make install
- insinto ${DOC_DIR}/examples/tutorials/tmva
- doins -r tmva/test
- fi
doenvd 99root
# The build system installs Emacs support unconditionally in the wrong
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2015-11-20 16:45 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2015-11-20 16:45 UTC (permalink / raw
To: gentoo-commits
commit: 7d29a1675caa8c990854c552ccf3cb594ee7c7c0
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 20 16:41:17 2015 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Nov 20 16:45:55 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d29a167
sci-physics/root: install distributed INSTALL file
PS: workaround with cat created a sandbox violation.
Package-Manager: portage-2.2.25
sci-physics/root/root-6.04.06.ebuild | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/sci-physics/root/root-6.04.06.ebuild b/sci-physics/root/root-6.04.06.ebuild
index 90f9f5e..f498a73 100644
--- a/sci-physics/root/root-6.04.06.ebuild
+++ b/sci-physics/root/root-6.04.06.ebuild
@@ -421,7 +421,7 @@ cleanup_install() {
rm -r etc/root/daemons || die
# these should be in PATH
mv etc/root/proof/utils/pq2/pq2* usr/bin/ || die
- rm ${DOC_DIR#/}/{INSTALL,LICENSE} || die
+ rm ${DOC_DIR#/}/INSTALL || die
use examples || rm -r ${DOC_DIR#/}/examples || die
# clean hardcoded sandbox paths
@@ -460,12 +460,6 @@ src_install() {
# do not copress files used by ROOT's CLI (.credit, .demo, .license)
docompress -x "${DOC_DIR}"/{CREDITS,examples/tutorials}
- # needed for .license command to work
- cat > "${DOC_DIR}/LICENSE" <<- EOF
- Please visit
- https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
- for the full license test
- EOF
}
pkg_postinst() {
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2016-01-16 10:21 Andrew Savchenko
0 siblings, 0 replies; 196+ messages in thread
From: Andrew Savchenko @ 2016-01-16 10:21 UTC (permalink / raw
To: gentoo-commits
commit: 78e301088323f0655e506654adc48ae22470d86b
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 16 10:20:03 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Jan 16 10:21:29 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78e30108
sci-physics/root: fix compiler check
Previously compiler check was performed only against provided
clang++ version, which is wrong.
Package-Manager: portage-2.2.26
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
sci-physics/root/root-5.34.26.ebuild | 9 ++++++---
sci-physics/root/root-5.34.32.ebuild | 9 ++++++---
sci-physics/root/root-6.02.05-r2.ebuild | 9 ++++++---
sci-physics/root/root-6.04.06.ebuild | 9 ++++++---
4 files changed, 24 insertions(+), 12 deletions(-)
diff --git a/sci-physics/root/root-5.34.26.ebuild b/sci-physics/root/root-5.34.26.ebuild
index b498a18..80feeae 100644
--- a/sci-physics/root/root-5.34.26.ebuild
+++ b/sci-physics/root/root-5.34.26.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -132,16 +132,19 @@ die_compiler() {
# $3 - clang++
# $4 - icc/icpc
check_compiler() {
- local ver
+ local cur ver
case "$(tc-getCXX)" in
*clang++*)
ver="$(best_version sys-devel/clang | sed 's:sys-devel/clang-::')"
+ cur="$3"
;;
*g++*)
ver="$(gcc-version)"
+ cur="$2"
;;
*icc*|*icpc*)
ver="$(best_version dev-lang/icc | sed 's:dev-lang/icc-::')"
+ cur="$4"
;;
*)
ewarn "You are using an unsupported compiler."
@@ -149,7 +152,7 @@ check_compiler() {
return 0
;;
esac
- version_is_at_least "$3" "${ver}" || die_compiler "$1" "$2" "$3" "$4" "${ver}"
+ version_is_at_least "${cur}" "${ver}" || die_compiler "$1" "$2" "$3" "$4" "${ver}"
}
pkg_setup() {
diff --git a/sci-physics/root/root-5.34.32.ebuild b/sci-physics/root/root-5.34.32.ebuild
index 915e712..2fb31dc 100644
--- a/sci-physics/root/root-5.34.32.ebuild
+++ b/sci-physics/root/root-5.34.32.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -126,16 +126,19 @@ die_compiler() {
# $3 - clang++
# $4 - icc/icpc
check_compiler() {
- local ver
+ local cur ver
case "$(tc-getCXX)" in
*clang++*)
ver="$(best_version sys-devel/clang | sed 's:sys-devel/clang-::')"
+ cur="$3"
;;
*g++*)
ver="$(gcc-version)"
+ cur="$2"
;;
*icc*|*icpc*)
ver="$(best_version dev-lang/icc | sed 's:dev-lang/icc-::')"
+ cur="$4"
;;
*)
ewarn "You are using an unsupported compiler."
@@ -143,7 +146,7 @@ check_compiler() {
return 0
;;
esac
- version_is_at_least "$3" "${ver}" || die_compiler "$1" "$2" "$3" "$4" "${ver}"
+ version_is_at_least "${cur}" "${ver}" || die_compiler "$1" "$2" "$3" "$4" "${ver}"
}
pkg_setup() {
diff --git a/sci-physics/root/root-6.02.05-r2.ebuild b/sci-physics/root/root-6.02.05-r2.ebuild
index 0ce7393..5bb8741 100644
--- a/sci-physics/root/root-6.02.05-r2.ebuild
+++ b/sci-physics/root/root-6.02.05-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -132,18 +132,21 @@ die_compiler() {
# $3 - clang++
# $4 - icc/icpc
check_compiler() {
- local ver
+ local cur ver
case "$(tc-getCXX)" in
*clang++*)
ver="$(best_version sys-devel/clang | sed 's:sys-devel/clang-::')"
+ cur="$3"
;;
*g++*)
ver="$(gcc-version)"
+ cur="$2"
;;
*icc*|*icpc*)
ver="$(best_version dev-lang/icc | sed 's:dev-lang/icc-::')"
eerror "ROOT-6 is known not to build with ICC."
eerror "Please report any isuses upstream."
+ cur="$4"
;;
*)
ewarn "You are using an unsupported compiler."
@@ -151,7 +154,7 @@ check_compiler() {
return 0
;;
esac
- version_is_at_least "$3" "${ver}" || die_compiler "$1" "$2" "$3" "$4" "${ver}"
+ version_is_at_least "${cur}" "${ver}" || die_compiler "$1" "$2" "$3" "$4" "${ver}"
}
pkg_setup() {
diff --git a/sci-physics/root/root-6.04.06.ebuild b/sci-physics/root/root-6.04.06.ebuild
index f498a73..093ad9f 100644
--- a/sci-physics/root/root-6.04.06.ebuild
+++ b/sci-physics/root/root-6.04.06.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -127,18 +127,21 @@ die_compiler() {
# $3 - clang++
# $4 - icc/icpc
check_compiler() {
- local ver
+ local cur ver
case "$(tc-getCXX)" in
*clang++*)
ver="$(best_version sys-devel/clang | sed 's:sys-devel/clang-::')"
+ cur="$3"
;;
*g++*)
ver="$(gcc-version)"
+ cur="$2"
;;
*icc*|*icpc*)
ver="$(best_version dev-lang/icc | sed 's:dev-lang/icc-::')"
eerror "ROOT-6 is known not to build with ICC."
eerror "Please report any isuses upstream."
+ cur="$4"
;;
*)
ewarn "You are using an unsupported compiler."
@@ -146,7 +149,7 @@ check_compiler() {
return 0
;;
esac
- version_is_at_least "$3" "${ver}" || die_compiler "$1" "$2" "$3" "$4" "${ver}"
+ version_is_at_least "${cur}" "${ver}" || die_compiler "$1" "$2" "$3" "$4" "${ver}"
}
pkg_setup() {
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2016-01-16 12:37 Andrew Savchenko
0 siblings, 0 replies; 196+ messages in thread
From: Andrew Savchenko @ 2016-01-16 12:37 UTC (permalink / raw
To: gentoo-commits
commit: b58b23376de0416297be0d927973ff12e9befd6e
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 16 12:36:09 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sat Jan 16 12:36:09 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b58b2337
sci-physics/root: refuse to build with gcc-5
ROOT-6 is not yet ready for gcc-5 due to lack of ABI tags support,
see bug 564306 and root issues 7285, 7319, 7654, 7721, 7818, 7895.
Package-Manager: portage-2.2.26
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
sci-physics/root/root-6.02.05-r2.ebuild | 18 ++++++++++++++++++
sci-physics/root/root-6.04.06.ebuild | 17 +++++++++++++++++
2 files changed, 35 insertions(+)
diff --git a/sci-physics/root/root-6.02.05-r2.ebuild b/sci-physics/root/root-6.02.05-r2.ebuild
index 5bb8741..a410d12 100644
--- a/sci-physics/root/root-6.02.05-r2.ebuild
+++ b/sci-physics/root/root-6.02.05-r2.ebuild
@@ -140,6 +140,24 @@ check_compiler() {
;;
*g++*)
ver="$(gcc-version)"
+ # gcc-5 is not yet supported, bug 564306
+ if version_is_at_least "5" "${ver}"; then
+ eerror ""
+ eerror "GCC-5 is not yet supported in ROOT-6."
+ eerror "The code may build for you, but will have run-time failures."
+ eerror "See the following bugs:"
+ eerror "https://sft.its.cern.ch/jira/browse/ROOT-7285"
+ eerror "https://sft.its.cern.ch/jira/browse/ROOT-7319"
+ eerror "https://sft.its.cern.ch/jira/browse/ROOT-7654"
+ eerror "https://sft.its.cern.ch/jira/browse/ROOT-7721"
+ eerror "https://sft.its.cern.ch/jira/browse/ROOT-7818"
+ eerror "https://sft.its.cern.ch/jira/browse/ROOT-7895"
+ eerror "https://bugs.gentoo.org/show_bug.cgi?id=564306"
+ eerror ""
+ eerror "Please use GCC-4.9 for now."
+ eerror ""
+ die "gcc-5 is not yet supported"
+ fi
cur="$2"
;;
*icc*|*icpc*)
diff --git a/sci-physics/root/root-6.04.06.ebuild b/sci-physics/root/root-6.04.06.ebuild
index 093ad9f..c3ef6fb 100644
--- a/sci-physics/root/root-6.04.06.ebuild
+++ b/sci-physics/root/root-6.04.06.ebuild
@@ -135,6 +135,23 @@ check_compiler() {
;;
*g++*)
ver="$(gcc-version)"
+ if version_is_at_least "5" "${ver}"; then
+ eerror ""
+ eerror "GCC-5 is not yet supported in ROOT-6."
+ eerror "The code may build for you, but will have run-time failures."
+ eerror "See the following bugs:"
+ eerror "https://sft.its.cern.ch/jira/browse/ROOT-7285"
+ eerror "https://sft.its.cern.ch/jira/browse/ROOT-7319"
+ eerror "https://sft.its.cern.ch/jira/browse/ROOT-7654"
+ eerror "https://sft.its.cern.ch/jira/browse/ROOT-7721"
+ eerror "https://sft.its.cern.ch/jira/browse/ROOT-7818"
+ eerror "https://sft.its.cern.ch/jira/browse/ROOT-7895"
+ eerror "https://bugs.gentoo.org/show_bug.cgi?id=564306"
+ eerror ""
+ eerror "Please use GCC-4.9 for now."
+ eerror ""
+ die "gcc-5 is not yet supported"
+ fi
cur="$2"
;;
*icc*|*icpc*)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2016-04-15 8:02 Andrew Savchenko
0 siblings, 0 replies; 196+ messages in thread
From: Andrew Savchenko @ 2016-04-15 8:02 UTC (permalink / raw
To: gentoo-commits
commit: 4f27c7d98592a43445463be3695ff4c569273113
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 15 07:44:28 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 08:01:47 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f27c7d9
sci-physics/root: ftp -> https SRC_URI move
Upstream disabled ftp service, so https should be used now.
https://sft.its.cern.ch/jira/browse/ROOT-8114
Package-Manager: portage-2.2.28
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
sci-physics/root/root-5.34.26.ebuild | 2 +-
sci-physics/root/root-5.34.32.ebuild | 2 +-
sci-physics/root/root-6.02.05-r2.ebuild | 4 ++--
sci-physics/root/root-6.04.06.ebuild | 4 ++--
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/sci-physics/root/root-5.34.26.ebuild b/sci-physics/root/root-5.34.26.ebuild
index 80feeae..1d065a1 100644
--- a/sci-physics/root/root-5.34.26.ebuild
+++ b/sci-physics/root/root-5.34.26.ebuild
@@ -8,7 +8,7 @@ if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="http://root.cern.ch/git/root.git"
else
- SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz"
+ SRC_URI="https://root.cern.ch/download/${PN}_v${PV}.source.tar.gz"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
fi
diff --git a/sci-physics/root/root-5.34.32.ebuild b/sci-physics/root/root-5.34.32.ebuild
index 2fb31dc..4a526da 100644
--- a/sci-physics/root/root-5.34.32.ebuild
+++ b/sci-physics/root/root-5.34.32.ebuild
@@ -8,7 +8,7 @@ if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="http://root.cern.ch/git/root.git"
else
- SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz"
+ SRC_URI="https://root.cern.ch/download/${PN}_v${PV}.source.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
fi
diff --git a/sci-physics/root/root-6.02.05-r2.ebuild b/sci-physics/root/root-6.02.05-r2.ebuild
index a410d12..b5b1974 100644
--- a/sci-physics/root/root-6.02.05-r2.ebuild
+++ b/sci-physics/root/root-6.02.05-r2.ebuild
@@ -8,7 +8,7 @@ if [[ ${PV} == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="http://root.cern.ch/git/root.git"
else
- SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz"
+ SRC_URI="https://root.cern.ch/download/${PN}_v${PV}.source.tar.gz"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
fi
@@ -19,7 +19,7 @@ inherit elisp-common eutils fdo-mime fortran-2 multilib python-single-r1 \
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="http://root.cern.ch/"
-DOC_URI="ftp://root.cern.ch/${PN}/doc"
+DOC_URI="https://root.cern.ch/download/doc"
SLOT="0/$(get_version_component_range 1-3 ${PV})"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
diff --git a/sci-physics/root/root-6.04.06.ebuild b/sci-physics/root/root-6.04.06.ebuild
index c3ef6fb..1301a19 100644
--- a/sci-physics/root/root-6.04.06.ebuild
+++ b/sci-physics/root/root-6.04.06.ebuild
@@ -11,8 +11,8 @@ inherit elisp-common eutils fdo-mime fortran-2 multilib python-single-r1 \
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="http://root.cern.ch/"
-SRC_URI="ftp://root.cern.ch/${PN}/${PN}_v${PV}.source.tar.gz"
-DOC_URI="ftp://root.cern.ch/${PN}/doc"
+SRC_URI="https://root.cern.ch/download/${PN}_v${PV}.source.tar.gz"
+DOC_URI="https://root.cern.ch/download/doc"
SLOT="0/$(get_version_component_range 1-3 ${PV})"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2016-04-15 8:02 Andrew Savchenko
0 siblings, 0 replies; 196+ messages in thread
From: Andrew Savchenko @ 2016-04-15 8:02 UTC (permalink / raw
To: gentoo-commits
commit: 61d8fde56ccfb4fa95053974553f33c3e7a9a871
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 15 08:01:06 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 08:01:47 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61d8fde5
sci-physics/root: update homepage
Package-Manager: portage-2.2.28
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
sci-physics/root/root-5.34.26.ebuild | 2 +-
sci-physics/root/root-5.34.32.ebuild | 2 +-
sci-physics/root/root-6.02.05-r2.ebuild | 2 +-
sci-physics/root/root-6.04.06.ebuild | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sci-physics/root/root-5.34.26.ebuild b/sci-physics/root/root-5.34.26.ebuild
index 1d065a1..f81b9ba 100644
--- a/sci-physics/root/root-5.34.26.ebuild
+++ b/sci-physics/root/root-5.34.26.ebuild
@@ -18,7 +18,7 @@ inherit elisp-common eutils fdo-mime fortran-2 multilib python-single-r1 \
toolchain-funcs user versionator
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="http://root.cern.ch/"
+HOMEPAGE="https://root.cern.ch"
SLOT="0/$(get_version_component_range 1-3 ${PV})"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
diff --git a/sci-physics/root/root-5.34.32.ebuild b/sci-physics/root/root-5.34.32.ebuild
index 4a526da..5464aec 100644
--- a/sci-physics/root/root-5.34.32.ebuild
+++ b/sci-physics/root/root-5.34.32.ebuild
@@ -18,7 +18,7 @@ inherit elisp-common eutils fdo-mime fortran-2 multilib python-single-r1 \
toolchain-funcs user versionator
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="http://root.cern.ch/"
+HOMEPAGE="https://root.cern.ch"
SLOT="0/$(get_version_component_range 1-3 ${PV})"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
diff --git a/sci-physics/root/root-6.02.05-r2.ebuild b/sci-physics/root/root-6.02.05-r2.ebuild
index df35983..59b81a5 100644
--- a/sci-physics/root/root-6.02.05-r2.ebuild
+++ b/sci-physics/root/root-6.02.05-r2.ebuild
@@ -18,7 +18,7 @@ inherit elisp-common eutils fdo-mime fortran-2 multilib python-single-r1 \
toolchain-funcs user versionator
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="http://root.cern.ch/"
+HOMEPAGE="https://root.cern.ch"
SLOT="0/$(get_version_component_range 1-3 ${PV})"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
diff --git a/sci-physics/root/root-6.04.06.ebuild b/sci-physics/root/root-6.04.06.ebuild
index 9fd9817..dea3114 100644
--- a/sci-physics/root/root-6.04.06.ebuild
+++ b/sci-physics/root/root-6.04.06.ebuild
@@ -10,7 +10,7 @@ inherit elisp-common eutils fdo-mime fortran-2 multilib python-single-r1 \
toolchain-funcs user versionator
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="http://root.cern.ch/"
+HOMEPAGE="https://root.cern.ch"
SRC_URI="https://root.cern.ch/download/${PN}_v${PV}.source.tar.gz"
SLOT="0/$(get_version_component_range 1-3 ${PV})"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2016-04-15 8:02 Andrew Savchenko
0 siblings, 0 replies; 196+ messages in thread
From: Andrew Savchenko @ 2016-04-15 8:02 UTC (permalink / raw
To: gentoo-commits
commit: 5525060e1be2aea1899c287b1c88e0fe9f5be995
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 15 07:49:00 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 08:01:47 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5525060e
sci-physics/root: remove unused variable
Package-Manager: portage-2.2.28
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
sci-physics/root/root-6.02.05-r2.ebuild | 1 -
sci-physics/root/root-6.04.06.ebuild | 1 -
2 files changed, 2 deletions(-)
diff --git a/sci-physics/root/root-6.02.05-r2.ebuild b/sci-physics/root/root-6.02.05-r2.ebuild
index b5b1974..df35983 100644
--- a/sci-physics/root/root-6.02.05-r2.ebuild
+++ b/sci-physics/root/root-6.02.05-r2.ebuild
@@ -19,7 +19,6 @@ inherit elisp-common eutils fdo-mime fortran-2 multilib python-single-r1 \
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="http://root.cern.ch/"
-DOC_URI="https://root.cern.ch/download/doc"
SLOT="0/$(get_version_component_range 1-3 ${PV})"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
diff --git a/sci-physics/root/root-6.04.06.ebuild b/sci-physics/root/root-6.04.06.ebuild
index 1301a19..9fd9817 100644
--- a/sci-physics/root/root-6.04.06.ebuild
+++ b/sci-physics/root/root-6.04.06.ebuild
@@ -12,7 +12,6 @@ inherit elisp-common eutils fdo-mime fortran-2 multilib python-single-r1 \
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="http://root.cern.ch/"
SRC_URI="https://root.cern.ch/download/${PN}_v${PV}.source.tar.gz"
-DOC_URI="https://root.cern.ch/download/doc"
SLOT="0/$(get_version_component_range 1-3 ${PV})"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2016-05-19 4:55 Benda XU
0 siblings, 0 replies; 196+ messages in thread
From: Benda XU @ 2016-05-19 4:55 UTC (permalink / raw
To: gentoo-commits
commit: 63082aaab0088aae7e3286c449c6da9140686fb2
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu May 19 04:54:23 2016 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu May 19 04:54:45 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63082aaa
sci-physics/root: workaround for parallel make jobs.
Bug: 571638
Package-Manager: portage-2.2.28
sci-physics/root/root-5.34.32.ebuild | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/sci-physics/root/root-5.34.32.ebuild b/sci-physics/root/root-5.34.32.ebuild
index 5464aec..659aee7 100644
--- a/sci-physics/root/root-5.34.32.ebuild
+++ b/sci-physics/root/root-5.34.32.ebuild
@@ -340,6 +340,10 @@ src_configure() {
}
src_compile() {
+ # The build system does not handle the dependency of bin/rmkdepend correctly,
+ # preventing it to be called in parallel. Build bin/rmkdepend explicitly
+ # first to circumvent the problem.
+ emake bin/rmkdepend
emake \
OPT="${CXXFLAGS}" \
F77OPT="${FFLAGS}" \
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2016-06-19 8:53 Andrew Savchenko
0 siblings, 0 replies; 196+ messages in thread
From: Andrew Savchenko @ 2016-06-19 8:53 UTC (permalink / raw
To: gentoo-commits
commit: 4061d02628704ead1625fd9034ddbaafbf5a547b
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 19 08:52:38 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Sun Jun 19 08:52:38 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4061d026
sci-physics/root: fix bug 586326
While bug itself is of questionable validity (see parent bug 586238),
affected dependencies have neither subslots nor multiple slots, thus
:= can be safely dropped.
Package-Manager: portage-2.3.0_rc1
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
sci-physics/root/root-5.34.26.ebuild | 6 +++---
sci-physics/root/root-5.34.32.ebuild | 6 +++---
sci-physics/root/root-6.02.05-r2.ebuild | 6 +++---
sci-physics/root/root-6.04.06.ebuild | 6 +++---
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/sci-physics/root/root-5.34.26.ebuild b/sci-physics/root/root-5.34.26.ebuild
index f81b9ba..ccb4898 100644
--- a/sci-physics/root/root-5.34.26.ebuild
+++ b/sci-physics/root/root-5.34.26.ebuild
@@ -57,8 +57,8 @@ CDEPEND="
x11-libs/libXpm:0=
!minimal? (
|| (
- media-libs/libafterimage:0=[gif,jpeg,png,tiff]
- >=x11-wm/afterstep-2.2.11:0=[gif,jpeg,png,tiff]
+ media-libs/libafterimage[gif,jpeg,png,tiff]
+ >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff]
)
opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps:0= )
qt4? (
@@ -88,7 +88,7 @@ CDEPEND="
mpi? ( virtual/mpi )
)
mysql? ( virtual/mysql )
- odbc? ( || ( dev-db/libiodbc:0= dev-db/unixODBC:0= ) )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
oracle? ( dev-db/oracle-instantclient-basic:0= )
postgres? ( dev-db/postgresql:= )
pythia6? ( sci-physics/pythia:6= )
diff --git a/sci-physics/root/root-5.34.32.ebuild b/sci-physics/root/root-5.34.32.ebuild
index 659aee7..b888d83 100644
--- a/sci-physics/root/root-5.34.32.ebuild
+++ b/sci-physics/root/root-5.34.32.ebuild
@@ -52,8 +52,8 @@ CDEPEND="
x11-libs/libXext:0=
x11-libs/libXpm:0=
|| (
- media-libs/libafterimage:0=[gif,jpeg,png,tiff?]
- >=x11-wm/afterstep-2.2.11:0=[gif,jpeg,png,tiff?]
+ media-libs/libafterimage[gif,jpeg,png,tiff?]
+ >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
)
opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps:0= )
qt4? (
@@ -81,7 +81,7 @@ CDEPEND="
mpi? ( virtual/mpi )
)
mysql? ( virtual/mysql )
- odbc? ( || ( dev-db/libiodbc:0= dev-db/unixODBC:0= ) )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
oracle? ( dev-db/oracle-instantclient-basic:0= )
postgres? ( dev-db/postgresql:= )
pythia6? ( sci-physics/pythia:6= )
diff --git a/sci-physics/root/root-6.02.05-r2.ebuild b/sci-physics/root/root-6.02.05-r2.ebuild
index 59b81a5..9a072ee 100644
--- a/sci-physics/root/root-6.02.05-r2.ebuild
+++ b/sci-physics/root/root-6.02.05-r2.ebuild
@@ -55,8 +55,8 @@ CDEPEND="
x11-libs/libXext:0=
x11-libs/libXpm:0=
|| (
- media-libs/libafterimage:0=[gif,jpeg,png,tiff?]
- >=x11-wm/afterstep-2.2.11:0=[gif,jpeg,png,tiff?]
+ media-libs/libafterimage[gif,jpeg,png,tiff?]
+ >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
)
opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps:0= )
qt4? (
@@ -85,7 +85,7 @@ CDEPEND="
mpi? ( virtual/mpi )
)
mysql? ( virtual/mysql )
- odbc? ( || ( dev-db/libiodbc:0= dev-db/unixODBC:0= ) )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
oracle? ( dev-db/oracle-instantclient-basic:0= )
postgres? ( dev-db/postgresql:= )
pythia6? ( sci-physics/pythia:6= )
diff --git a/sci-physics/root/root-6.04.06.ebuild b/sci-physics/root/root-6.04.06.ebuild
index dea3114..38e6f29 100644
--- a/sci-physics/root/root-6.04.06.ebuild
+++ b/sci-physics/root/root-6.04.06.ebuild
@@ -49,8 +49,8 @@ CDEPEND="
x11-libs/libXext:0=
x11-libs/libXpm:0=
|| (
- media-libs/libafterimage:0=[gif,jpeg,png,tiff?]
- >=x11-wm/afterstep-2.2.11:0=[gif,jpeg,png,tiff?]
+ media-libs/libafterimage[gif,jpeg,png,tiff?]
+ >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
)
opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps:0= )
qt4? (
@@ -79,7 +79,7 @@ CDEPEND="
mpi? ( virtual/mpi )
)
mysql? ( virtual/mysql )
- odbc? ( || ( dev-db/libiodbc:0= dev-db/unixODBC:0= ) )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
oracle? ( dev-db/oracle-instantclient-basic:0= )
postgres? ( dev-db/postgresql:= )
pythia6? ( sci-physics/pythia:6= )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2016-07-23 14:03 Benda XU
0 siblings, 0 replies; 196+ messages in thread
From: Benda XU @ 2016-07-23 14:03 UTC (permalink / raw
To: gentoo-commits
commit: e01381dcae5993fa972fcd311caeb4ad2b9105bd
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 23 12:38:00 2016 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Jul 23 14:03:04 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e01381dc
sci-physics/root: bump to 5.34.36.
Support c++11.
replace sed with hprefixify.
Also bump root-docs.
Package-Manager: portage-2.3.0
sci-physics/root/Manifest | 1 +
sci-physics/root/root-5.34.36.ebuild | 441 +++++++++++++++++++++++++++++++++++
2 files changed, 442 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index cc37278..f8d3d49 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,3 +1,4 @@
DIST root_v5.34.26.source.tar.gz 75171961 SHA256 c1fd2a249bb7210914b42e35dba4f1262cfa46b79ef7a41f73d7f08f8c54a643 SHA512 f5da5e20d1763608a32d78c48581e574a3f51aef47ecf6987a4064d1fb3234dfc9f626e041a17213f881f52f807ed6a6da60bf1d24951fa7dc2cadd94f8dd8b4 WHIRLPOOL 77b48b815c971642da68b71732a0ea3372648634281be634037b13cb58488f7075ec8bfc9a684e55d85cd9b038f229be29b19a15dfc829f0ce63a5f17241c23c
DIST root_v5.34.32.source.tar.gz 75170203 SHA256 939c7592802a54b6cbc593efb6e51699bf52e92baf6d6b20f486aaa08480fc5f SHA512 6485f2bb544947173e1feb2cfb41d6a176020027f1193d9388700a797ba4badbf497022e6129fdc4879e709460bf1efabf3e51c51840f0c781fa12e631419afc WHIRLPOOL 695147a519415b99e73fdad1cd61bb1944e292628236b5a7cbf1835174c950fa9cb068431a8164f24663323163012ea652db84d082f9f1eb1fcae79489575d9e
+DIST root_v5.34.36.source.tar.gz 75427331 SHA256 fc868e5f4905544c3f392cc9e895ef5571a08e48682e7fe173bd44c0ba0c7dcd SHA512 2cc0c8f8b63b2a3ce01c49c41704483548a7324d92c21a63e3e36a00f4d6f5656a7844fdf48cb71a6f2a2c974112527300ffd3bb5502d8365ffaf138e6ae4c7a WHIRLPOOL 137c054874645913372edca3e02087c0c4f2a3c4d662b488eedaec517f75a8ab956ade418e2942aee925e58da804b325bbd6756be653bd767cc1c82cb7a650c9
DIST root_v6.04.06.source.tar.gz 99180724 SHA256 6deac9cd71fe2d7a48ea2bcbd793639222c4743275dbc946c158295b1e1fe330 SHA512 ac96ac998ed4894587b7d286d79bcbea7b33f15764cc2513ae089e86c584e2dcb064cd135d44a4bfd2bede368eb772ccbffcd6bf426857a1236f5d7e9f5ce6fd WHIRLPOOL 7ffca036917d798ade31e1a22e9518d567e4267af5d1db555ea0e82c1bc2c7a1f665c8cd76d3ce6511507ab7befea4881580259c6142f1e668edafbcbc5e496e
diff --git a/sci-physics/root/root-5.34.36.ebuild b/sci-physics/root/root-5.34.36.ebuild
new file mode 100644
index 0000000..cb13f8f
--- /dev/null
+++ b/sci-physics/root/root-5.34.36.ebuild
@@ -0,0 +1,441 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="http://root.cern.ch/git/root.git"
+else
+ SRC_URI="https://root.cern.ch/download/${PN}_v${PV}.source.tar.gz"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit elisp-common eutils fdo-mime fortran-2 multilib python-single-r1 \
+ toolchain-funcs user versionator prefix
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern.ch"
+
+SLOT="0/$(get_version_component_range 1-3 ${PV})"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+IUSE="+X afs avahi c++11 c++14 doc emacs examples fits fftw gdml
+ graphviz http kerberos ldap +math +memstat mpi mysql odbc
+ +opengl openmp oracle postgres prefix pythia6 pythia8
+ python qt4 +reflex ruby shadow sqlite ssl table +tiff xinetd xml xrootd"
+
+# TODO: add support for: davix
+# TODO: unbundle: vdt
+
+REQUIRED_USE="
+ !X? ( !opengl !qt4 !tiff )
+ mpi? ( math !openmp )
+ openmp? ( math !mpi )
+ python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+CDEPEND="
+ app-arch/xz-utils:0=
+ >=dev-lang/cfortran-4.4-r2
+ dev-libs/libpcre:3=
+ media-fonts/dejavu
+ media-libs/freetype:2=
+ media-libs/libpng:0=
+ sys-libs/zlib:0=
+ X? (
+ media-libs/ftgl:0=
+ media-libs/glew:0=
+ x11-libs/libX11:0=
+ x11-libs/libXext:0=
+ x11-libs/libXpm:0=
+ || (
+ media-libs/libafterimage[gif,jpeg,png,tiff?]
+ >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
+ )
+ opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps:0= )
+ qt4? (
+ dev-qt/qtgui:4=
+ dev-qt/qtopengl:4=
+ dev-qt/qt3support:4=
+ dev-qt/qtsvg:4=
+ dev-qt/qtwebkit:4=
+ dev-qt/qtxmlpatterns:4=
+ )
+ x11-libs/libXft:0=
+ )
+ afs? ( net-fs/openafs )
+ avahi? ( net-dns/avahi:0= )
+ emacs? ( virtual/emacs )
+ fits? ( sci-libs/cfitsio:0= )
+ fftw? ( sci-libs/fftw:3.0= )
+ graphviz? ( media-gfx/graphviz:0= )
+ http? ( dev-libs/fcgi:0= )
+ kerberos? ( virtual/krb5 )
+ ldap? ( net-nds/openldap:0= )
+ math? (
+ sci-libs/gsl:0=
+ sci-mathematics/unuran:0=
+ mpi? ( virtual/mpi )
+ )
+ mysql? ( virtual/mysql )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic:0= )
+ postgres? ( dev-db/postgresql:= )
+ pythia6? ( sci-physics/pythia:6= )
+ pythia8? ( >=sci-physics/pythia-8.1.80:8= <sci-physics/pythia-8.2.0:8= )
+ python? ( ${PYTHON_DEPS} )
+ ruby? (
+ dev-lang/ruby:=
+ dev-ruby/rubygems:=
+ )
+ shadow? ( virtual/shadow )
+ sqlite? ( dev-db/sqlite:3= )
+ ssl? ( dev-libs/openssl:0= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( >=net-libs/xrootd-3.3.5:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}
+ reflex? ( dev-cpp/gccxml )
+ xinetd? ( sys-apps/xinetd )"
+
+PDEPEND="doc? ( ~app-doc/root-docs-${PV}[http=,math=] )"
+
+S="${WORKDIR}/${PN}"
+
+# install stuff in ${P} and not ${PF} for easier tracking in root-docs
+DOC_DIR="/usr/share/doc/${P}"
+
+die_compiler() {
+ eerror "You are using a $(tc-getCXX)-$5 without C++$1 capabilities"
+ die "Need one of the following C++$1 capable compilers:\n"\
+ " >=sys-devel/gcc[cxx]-$2\n"\
+ " >=sys-devel/clang-$3\n"\
+ " >=dev-lang/icc-$4"
+}
+
+# check compiler to satisfy minimal versions
+# $1 - std version
+# $2 - g++
+# $3 - clang++
+# $4 - icc/icpc
+check_compiler() {
+ local cur ver
+ case "$(tc-getCXX)" in
+ *clang++*)
+ ver="$(best_version sys-devel/clang | sed 's:sys-devel/clang-::')"
+ cur="$3"
+ ;;
+ *g++*)
+ ver="$(gcc-version)"
+ cur="$2"
+ ;;
+ *icc*|*icpc*)
+ ver="$(best_version dev-lang/icc | sed 's:dev-lang/icc-::')"
+ cur="$4"
+ ;;
+ *)
+ ewarn "You are using an unsupported compiler."
+ ewarn "Please report any issues upstream."
+ return 0
+ ;;
+ esac
+ version_is_at_least "${cur}" "${ver}" || die_compiler "$1" "$2" "$3" "$4" "${ver}"
+}
+
+pkg_setup() {
+ fortran-2_pkg_setup
+ use python && python-single-r1_pkg_setup
+ echo
+ elog "There are extra options on packages not yet in Gentoo:"
+ elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
+ elog "HDFS, Monalisa, MaxDB/SapDB, SRP."
+ elog "You can use the env variable EXTRA_ECONF variable for this."
+ elog "For example, for SRP, you would set: "
+ elog "EXTRA_ECONF=\"--enable-srp --with-srp-libdir=${EROOT%/}/usr/$(get_libdir)\""
+ echo
+
+ enewgroup rootd
+ enewuser rootd -1 -1 /var/spool/rootd rootd
+
+ if use math; then
+ if use openmp; then
+ if [[ "$(tc-getCXX)" == *g++* && "$(tc-getCXX)" != *clang++* ]] && ! tc-has-openmp; then
+ ewarn "You are using a g++ without OpenMP capabilities"
+ die "Need an OpenMP capable compiler"
+ else
+ export USE_OPENMP=1 USE_PARALLEL_MINUIT2=1
+ fi
+ elif use mpi; then
+ export USE_MPI=1 USE_PARALLEL_MINUIT2=1
+ fi
+ fi
+
+ use c++11 && check_compiler "11" "4.8" "3.3" "13"
+ use c++14 && check_compiler "14" "4.9" "3.4" "15"
+}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-5.28.00b-glibc212.patch \
+ "${FILESDIR}"/${PN}-5.32.00-cfitsio.patch \
+ "${FILESDIR}"/${PN}-5.32.00-chklib64.patch \
+ "${FILESDIR}"/${PN}-5.32.00-dotfont.patch \
+ "${FILESDIR}"/${PN}-5.34.05-nobyte-compile.patch \
+ "${FILESDIR}"/${PN}-5.34.13-unuran.patch \
+ "${FILESDIR}"/${PN}-5.34.26-ldflags.patch
+
+ # make sure we use system libs and headers
+ rm montecarlo/eg/inc/cfortran.h README/cfortran.doc || die
+ rm -r graf2d/asimage/src/libAfterImage || die
+ rm -r graf3d/ftgl/{inc,src} || die
+ rm -r graf2d/freetype/src || die
+ rm -r graf3d/glew/{inc,src} || die
+ rm -r core/pcre/src || die
+ rm -r math/unuran/src/unuran-*.tar.gz || die
+ LANG=C LC_ALL=C find core/zip -type f -name "[a-z]*" -print0 | \
+ xargs -0 rm || die
+ rm -r core/lzma/src/*.tar.gz || die
+ rm graf3d/gl/{inc,src}/gl2ps.* || die
+ sed -i -e 's/^GLLIBS *:= .* $(OPENGLLIB)/& -lgl2ps/' \
+ graf3d/gl/Module.mk || die
+
+ # In Gentoo, libPythia6 is called libpythia6
+ # iodbc is in /usr/include/iodbc
+ # pg_config.h is checked instead of libpq-fe.h
+ sed -i \
+ -e 's:libPythia6:libpythia6:g' \
+ -e 's:$ODBCINCDIR:$ODBCINCDIR /usr/include/iodbc:' \
+ -e 's:libpq-fe.h:pg_config.h:' \
+ configure || die "adjusting configure for Gentoo failed"
+
+ hprefixify configure
+ hprefixify -e "s,I/usr/include,I${EPREFIX}/usr/include," config/Makefile.in
+
+ # CSS should use local images
+ sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
+
+ # fix reflex path (bug #497280)
+ sed -i -e 's|${ROOTSYS}/lib|@libdir@|' config/genreflex.in || die
+
+ # QTDIR only used for qt3 in gentoo, and configure looks for it.
+ unset QTDIR
+}
+
+src_configure() {
+ local -a myconf
+ # Some compilers need special care
+ case "$(tc-getCXX)" in
+ *clang++*)
+ myconf=(
+ --with-clang
+ --with-f77="$(tc-getFC)"
+ )
+ ;;
+ *icc*|*icpc*)
+ # For icc we need to provide architecture manually
+ # and not to tamper with tc-get*
+ use x86 && myconf=( linuxicc )
+ use amd64 && myconf=( linuxx8664icc )
+ ;;
+ *) # gcc goes here too
+ myconf=(
+ --with-cc="$(tc-getCC)"
+ --with-cxx="$(tc-getCXX)"
+ --with-f77="$(tc-getFC)"
+ --with-ld="$(tc-getCXX)"
+ )
+ ;;
+ esac
+
+ # the configure script is not the standard autotools
+ myconf+=(
+ --prefix="${EPREFIX}/usr"
+ --etcdir="${EPREFIX}/etc/root"
+ --libdir="${EPREFIX}/usr/$(get_libdir)/${PN}"
+ --docdir="${EPREFIX}${DOC_DIR}"
+ --tutdir="${EPREFIX}${DOC_DIR}/examples/tutorials"
+ --testdir="${EPREFIX}${DOC_DIR}/examples/tests"
+ --cflags='${CFLAGS}'
+ --cxxflags='${CXXFLAGS}'
+ --disable-builtin-afterimage
+ --disable-builtin-ftgl
+ --disable-builtin-freetype
+ --disable-builtin-glew
+ --disable-builtin-lzma
+ --disable-builtin-pcre
+ --disable-builtin-zlib
+ --disable-cling
+ --disable-werror
+ --enable-explicitlink
+ --enable-shared
+ --enable-soversion
+ --fail-on-missing
+ --nohowto
+ --with-afs-shared=yes
+ --with-sys-iconpath="${EPREFIX}/usr/share/pixmaps"
+ $(use_enable X x11)
+ $(use_enable X asimage)
+ $(use_enable X xft)
+ $(use_enable afs)
+ $(use_enable avahi bonjour)
+ $(use_enable c++11 cxx11)
+ $(use_enable c++14 cxx14)
+ $(use_enable fits fitsio)
+ $(use_enable fftw fftw3)
+ $(use_enable gdml)
+ $(use_enable graphviz gviz)
+ $(use_enable http)
+ $(use_enable kerberos krb5)
+ $(use_enable ldap)
+ $(use_enable math genvector)
+ $(use_enable math gsl-shared)
+ $(use_enable math mathmore)
+ $(use_enable math minuit2)
+ $(use_enable math roofit)
+ $(use_enable math tmva)
+ $(use_enable math vc)
+ $(use_enable math vdt)
+ $(use_enable math unuran)
+ $(use_enable memstat)
+ $(use_enable mysql)
+ $(usex mysql "--with-mysql-incdir=${EPREFIX}/usr/include/mysql" "")
+ $(use_enable odbc)
+ $(use_enable opengl)
+ $(use_enable oracle)
+ $(use_enable postgres pgsql)
+ $(use_enable prefix rpath)
+ $(use_enable pythia6)
+ $(use_enable pythia8)
+ $(use_enable python)
+ $(use_enable qt4 qt)
+ $(use_enable qt4 qtgsi)
+ $(use_enable reflex cintex)
+ $(use_enable reflex)
+ $(use_enable ruby)
+ $(use_enable shadow shadowpw)
+ $(use_enable sqlite)
+ $(use_enable ssl)
+ $(use_enable table)
+ $(use_enable tiff astiff)
+ $(use_enable xml)
+ $(use_enable xrootd)
+ ${EXTRA_ECONF}
+ )
+
+ # usex can't be used here, because pg_config may be not
+ # installed with USE="-postgres"
+ use postgres && myconf+=( --with-pgsql-incdir=$(pg_config --includedir) )
+
+ ./configure ${myconf[@]} || die "configure failed"
+}
+
+src_compile() {
+ # The build system does not handle the dependency of bin/rmkdepend correctly,
+ # preventing it to be called in parallel. Build bin/rmkdepend explicitly
+ # first to circumvent the problem.
+ emake bin/rmkdepend
+ emake \
+ OPT="${CXXFLAGS}" \
+ F77OPT="${FFLAGS}" \
+ ROOTSYS="${S}" \
+ LD_LIBRARY_PATH="${S}/lib"
+ use emacs && elisp-compile build/misc/*.el
+}
+
+daemon_install() {
+ local daemons="rootd proofd"
+ dodir /var/spool/rootd
+ fowners rootd:rootd /var/spool/rootd
+ dodir /var/spool/rootd/{pub,tmp}
+ fperms 1777 /var/spool/rootd/{pub,tmp}
+
+ local i
+ for i in ${daemons}; do
+ newinitd "${FILESDIR}"/${i}.initd ${i}
+ newconfd "${FILESDIR}"/${i}.confd ${i}
+ done
+ if use xinetd; then
+ insinto /etc/xinetd
+ doins "${S}"/etc/daemons/{rootd,proofd}.xinetd
+ fi
+}
+
+desktop_install() {
+ cd "${S}"
+ echo "Icon=root-system-bin" >> etc/root.desktop
+ domenu etc/root.desktop
+ doicon build/package/debian/root-system-bin.png
+
+ insinto /usr/share/icons/hicolor/48x48/mimetypes
+ doins build/package/debian/application-x-root.png
+
+ insinto /usr/share/icons/hicolor/48x48/apps
+ doicon build/package/debian/root-system-bin.xpm
+}
+
+cleanup_install() {
+ # Cleanup of files either already distributed or unused on Gentoo
+ pushd "${ED}" > /dev/null
+ rm usr/share/root/fonts/LICENSE || die
+ rm etc/root/proof/*.sample || die
+ rm -r etc/root/daemons || die
+ # these should be in PATH
+ mv etc/root/proof/utils/pq2/pq2* usr/bin/ || die
+ rm ${DOC_DIR#/}/{INSTALL,LICENSE,COPYING.CINT} || die
+ use examples || rm -r ${DOC_DIR#/}/examples || die
+ cd usr/$(get_libdir)/root/cint/cint
+ rm lib/posix/mktypes lib/dll_stl/setup lib/G__* || die
+ rm lib/dll_stl/G__* lib/dll_stl/rootcint_* lib/posix/exten.o || die
+ rm include/makehpib || die
+ popd > /dev/null
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+
+ echo "LDPATH=${EPREFIX%/}/usr/$(get_libdir)/root" > 99root
+
+ use pythia8 && echo "PYTHIA8=${EPREFIX%/}/usr" >> 99root
+ if use python; then
+ echo "PYTHONPATH=${EPREFIX%/}/usr/$(get_libdir)/root" >> 99root
+ python_optimize "${D}/usr/$(get_libdir)/root"
+ use reflex && python_optimize "${D}/usr/$(get_libdir)/root/python/genreflex/"
+ fi
+ use ruby && \
+ echo "RUBYLIB=${EPREFIX%/}/usr/$(get_libdir)/root" >> 99root
+ use emacs && elisp-install ${PN} build/misc/*.{el,elc}
+ if use examples; then
+ # these should really be taken care of by the root make install
+ insinto ${DOC_DIR}/examples/tutorials/tmva
+ doins -r tmva/test
+ fi
+ doenvd 99root
+
+ # The build system installs Emacs support unconditionally in the wrong
+ # directory. Remove it and call elisp-install in case of USE=emacs.
+ rm -r "${ED}"/usr/share/emacs || die
+
+ daemon_install
+ desktop_install
+ cleanup_install
+
+ # do not copress files used by ROOT's CLI (.credit, .demo, .license)
+ docompress -x "${DOC_DIR}"/{CREDITS,examples/tutorials}
+ # needed for .license command to work
+ dosym "${ED}"usr/portage/licenses/LGPL-2.1 "${DOC_DIR}/LICENSE"
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2016-10-02 12:37 Pacho Ramos
0 siblings, 0 replies; 196+ messages in thread
From: Pacho Ramos @ 2016-10-02 12:37 UTC (permalink / raw
To: gentoo-commits
commit: 495a1565899f013a02e68ee6e9f325b1ed9f3233
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 2 12:16:48 2016 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct 2 12:37:21 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=495a1565
sci-physics/root: Use zeroconf instead of avahi USE flag (#477620)
Package-Manager: portage-2.3.1
sci-physics/root/root-6.04.06.ebuild | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/sci-physics/root/root-6.04.06.ebuild b/sci-physics/root/root-6.04.06.ebuild
index 7fee45a..0866c6d 100644
--- a/sci-physics/root/root-6.04.06.ebuild
+++ b/sci-physics/root/root-6.04.06.ebuild
@@ -16,10 +16,11 @@ SRC_URI="https://root.cern.ch/download/${PN}_v${PV}.source.tar.gz"
SLOT="0/$(get_version_component_range 1-3 ${PV})"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+X afs avahi doc emacs examples fits fftw gdml geocad
+IUSE="+X afs doc emacs examples fits fftw gdml geocad
graphviz http kerberos ldap +math +memstat mpi mysql odbc
+opengl openmp oracle postgres prefix pythia6 pythia8
- python qt4 R shadow sqlite ssl table +tiff xinetd xml xrootd"
+ python qt4 R shadow sqlite ssl table +tiff xinetd xml xrootd
+ zeroconf"
# TODO: add support for: davix
# TODO: ROOT-6 supports x32 ABI, but half of its dependencies doesn't
@@ -64,7 +65,6 @@ CDEPEND="
x11-libs/libXft:0=
)
afs? ( net-fs/openafs )
- avahi? ( net-dns/avahi:0= )
emacs? ( virtual/emacs )
fits? ( sci-libs/cfitsio:0= )
fftw? ( sci-libs/fftw:3.0= )
@@ -91,6 +91,7 @@ CDEPEND="
ssl? ( dev-libs/openssl:0= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( >=net-libs/xrootd-3.3.5:0= )
+ zeroconf? ( net-dns/avahi:0= )
"
# TODO: ruby is not yet ported to ROOT-6, reenable when (if?) ready
@@ -343,7 +344,6 @@ src_configure() {
$(use_enable X asimage)
$(use_enable X xft)
$(use_enable afs)
- $(use_enable avahi bonjour)
$(use_enable fits fitsio)
$(use_enable fftw fftw3)
$(use_enable gdml)
@@ -382,6 +382,7 @@ src_configure() {
$(use_enable tiff astiff)
$(use_enable xml)
$(use_enable xrootd)
+ $(use_enable zeroconf bonjour)
${EXTRA_ECONF}
)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2016-12-05 22:41 Andrew Savchenko
0 siblings, 0 replies; 196+ messages in thread
From: Andrew Savchenko @ 2016-12-05 22:41 UTC (permalink / raw
To: gentoo-commits
commit: 9ceb49004ed4abc74a166dc20d65fd9e6dd17090
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 5 22:24:17 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Mon Dec 5 22:41:55 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ceb4900
sci-physics/root: rename USE flag avahi -> zeroconf
As suggested by pacho in bug 601682.
Package-Manager: portage-2.3.3
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
sci-physics/root/root-5.34.26.ebuild | 8 ++++----
sci-physics/root/root-5.34.32.ebuild | 9 +++++----
sci-physics/root/root-5.34.36.ebuild | 9 +++++----
3 files changed, 14 insertions(+), 12 deletions(-)
diff --git a/sci-physics/root/root-5.34.26.ebuild b/sci-physics/root/root-5.34.26.ebuild
index ccb4898..a99893b 100644
--- a/sci-physics/root/root-5.34.26.ebuild
+++ b/sci-physics/root/root-5.34.26.ebuild
@@ -22,10 +22,10 @@ HOMEPAGE="https://root.cern.ch"
SLOT="0/$(get_version_component_range 1-3 ${PV})"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-IUSE="+X afs avahi c++11 c++14 doc emacs examples fits fftw
+IUSE="+X afs c++11 c++14 doc emacs examples fits fftw
graphviz http kerberos ldap +math minimal mpi mysql odbc
+opengl openmp oracle postgres prefix pythia6 pythia8
- python qt4 +reflex ruby sqlite ssl xinetd xml xrootd"
+ python qt4 +reflex ruby sqlite ssl xinetd xml xrootd zeroconf"
# TODO: add support for: davix
# TODO: unbundle: vdt
@@ -74,7 +74,6 @@ CDEPEND="
)
!minimal? (
afs? ( net-fs/openafs )
- avahi? ( net-dns/avahi:0= )
emacs? ( virtual/emacs )
fits? ( sci-libs/cfitsio:0= )
fftw? ( sci-libs/fftw:3.0= )
@@ -102,6 +101,7 @@ CDEPEND="
ssl? ( dev-libs/openssl:0= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( >=net-libs/xrootd-3.3.5:0= )
+ zeroconf? ( net-dns/avahi:0= )
)"
DEPEND="${CDEPEND}
@@ -307,7 +307,6 @@ src_configure() {
$(use_enable X asimage)
$(use_enable X xft)
$(use_enable afs)
- $(use_enable avahi bonjour)
$(use_enable c++11 cxx11)
$(use_enable c++14 cxx14)
$(use_enable fits fitsio)
@@ -342,6 +341,7 @@ src_configure() {
$(use_enable ssl)
$(use_enable xml)
$(use_enable xrootd)
+ $(use_enable zeroconf bonjour)
${EXTRA_ECONF}
)
fi
diff --git a/sci-physics/root/root-5.34.32.ebuild b/sci-physics/root/root-5.34.32.ebuild
index b888d83..fe92a83 100644
--- a/sci-physics/root/root-5.34.32.ebuild
+++ b/sci-physics/root/root-5.34.32.ebuild
@@ -22,10 +22,11 @@ HOMEPAGE="https://root.cern.ch"
SLOT="0/$(get_version_component_range 1-3 ${PV})"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-IUSE="+X afs avahi c++11 c++14 doc emacs examples fits fftw gdml
+IUSE="+X afs c++11 c++14 doc emacs examples fits fftw gdml
graphviz http kerberos ldap +math +memstat mpi mysql odbc
+opengl openmp oracle postgres prefix pythia6 pythia8
- python qt4 +reflex ruby shadow sqlite ssl table +tiff xinetd xml xrootd"
+ python qt4 +reflex ruby shadow sqlite ssl table +tiff xinetd
+ xml xrootd zeroconf"
# TODO: add support for: davix
# TODO: unbundle: vdt
@@ -67,7 +68,6 @@ CDEPEND="
x11-libs/libXft:0=
)
afs? ( net-fs/openafs )
- avahi? ( net-dns/avahi:0= )
emacs? ( virtual/emacs )
fits? ( sci-libs/cfitsio:0= )
fftw? ( sci-libs/fftw:3.0= )
@@ -96,6 +96,7 @@ CDEPEND="
ssl? ( dev-libs/openssl:0= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( >=net-libs/xrootd-3.3.5:0= )
+ zeroconf? ( net-dns/avahi:0= )
"
DEPEND="${CDEPEND}
@@ -287,7 +288,6 @@ src_configure() {
$(use_enable X asimage)
$(use_enable X xft)
$(use_enable afs)
- $(use_enable avahi bonjour)
$(use_enable c++11 cxx11)
$(use_enable c++14 cxx14)
$(use_enable fits fitsio)
@@ -329,6 +329,7 @@ src_configure() {
$(use_enable tiff astiff)
$(use_enable xml)
$(use_enable xrootd)
+ $(use_enable zeroconf bonjour)
${EXTRA_ECONF}
)
diff --git a/sci-physics/root/root-5.34.36.ebuild b/sci-physics/root/root-5.34.36.ebuild
index cb13f8f..0872b4d 100644
--- a/sci-physics/root/root-5.34.36.ebuild
+++ b/sci-physics/root/root-5.34.36.ebuild
@@ -22,10 +22,11 @@ HOMEPAGE="https://root.cern.ch"
SLOT="0/$(get_version_component_range 1-3 ${PV})"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-IUSE="+X afs avahi c++11 c++14 doc emacs examples fits fftw gdml
+IUSE="+X afs c++11 c++14 doc emacs examples fits fftw gdml
graphviz http kerberos ldap +math +memstat mpi mysql odbc
+opengl openmp oracle postgres prefix pythia6 pythia8
- python qt4 +reflex ruby shadow sqlite ssl table +tiff xinetd xml xrootd"
+ python qt4 +reflex ruby shadow sqlite ssl table +tiff xinetd
+ xml xrootd zeroconf"
# TODO: add support for: davix
# TODO: unbundle: vdt
@@ -67,7 +68,6 @@ CDEPEND="
x11-libs/libXft:0=
)
afs? ( net-fs/openafs )
- avahi? ( net-dns/avahi:0= )
emacs? ( virtual/emacs )
fits? ( sci-libs/cfitsio:0= )
fftw? ( sci-libs/fftw:3.0= )
@@ -96,6 +96,7 @@ CDEPEND="
ssl? ( dev-libs/openssl:0= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( >=net-libs/xrootd-3.3.5:0= )
+ zeroconf? ( net-dns/avahi:0= )
"
DEPEND="${CDEPEND}
@@ -284,7 +285,6 @@ src_configure() {
$(use_enable X asimage)
$(use_enable X xft)
$(use_enable afs)
- $(use_enable avahi bonjour)
$(use_enable c++11 cxx11)
$(use_enable c++14 cxx14)
$(use_enable fits fitsio)
@@ -326,6 +326,7 @@ src_configure() {
$(use_enable tiff astiff)
$(use_enable xml)
$(use_enable xrootd)
+ $(use_enable zeroconf bonjour)
${EXTRA_ECONF}
)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2016-12-07 2:11 Andrew Savchenko
0 siblings, 0 replies; 196+ messages in thread
From: Andrew Savchenko @ 2016-12-07 2:11 UTC (permalink / raw
To: gentoo-commits
commit: 22ccf03eab00043ccd6ade493746a4173d9fdef4
Author: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 7 02:02:34 2016 +0000
Commit: Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Wed Dec 7 02:11:19 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22ccf03e
sci-physics/root: remove old
Package-Manager: portage-2.3.3
Signed-off-by: Andrew Savchenko <bircoph <AT> gentoo.org>
sci-physics/root/Manifest | 1 -
sci-physics/root/root-5.34.32.ebuild | 445 -----------------------------------
2 files changed, 446 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index f8d3d49..96a9507 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,4 +1,3 @@
DIST root_v5.34.26.source.tar.gz 75171961 SHA256 c1fd2a249bb7210914b42e35dba4f1262cfa46b79ef7a41f73d7f08f8c54a643 SHA512 f5da5e20d1763608a32d78c48581e574a3f51aef47ecf6987a4064d1fb3234dfc9f626e041a17213f881f52f807ed6a6da60bf1d24951fa7dc2cadd94f8dd8b4 WHIRLPOOL 77b48b815c971642da68b71732a0ea3372648634281be634037b13cb58488f7075ec8bfc9a684e55d85cd9b038f229be29b19a15dfc829f0ce63a5f17241c23c
-DIST root_v5.34.32.source.tar.gz 75170203 SHA256 939c7592802a54b6cbc593efb6e51699bf52e92baf6d6b20f486aaa08480fc5f SHA512 6485f2bb544947173e1feb2cfb41d6a176020027f1193d9388700a797ba4badbf497022e6129fdc4879e709460bf1efabf3e51c51840f0c781fa12e631419afc WHIRLPOOL 695147a519415b99e73fdad1cd61bb1944e292628236b5a7cbf1835174c950fa9cb068431a8164f24663323163012ea652db84d082f9f1eb1fcae79489575d9e
DIST root_v5.34.36.source.tar.gz 75427331 SHA256 fc868e5f4905544c3f392cc9e895ef5571a08e48682e7fe173bd44c0ba0c7dcd SHA512 2cc0c8f8b63b2a3ce01c49c41704483548a7324d92c21a63e3e36a00f4d6f5656a7844fdf48cb71a6f2a2c974112527300ffd3bb5502d8365ffaf138e6ae4c7a WHIRLPOOL 137c054874645913372edca3e02087c0c4f2a3c4d662b488eedaec517f75a8ab956ade418e2942aee925e58da804b325bbd6756be653bd767cc1c82cb7a650c9
DIST root_v6.04.06.source.tar.gz 99180724 SHA256 6deac9cd71fe2d7a48ea2bcbd793639222c4743275dbc946c158295b1e1fe330 SHA512 ac96ac998ed4894587b7d286d79bcbea7b33f15764cc2513ae089e86c584e2dcb064cd135d44a4bfd2bede368eb772ccbffcd6bf426857a1236f5d7e9f5ce6fd WHIRLPOOL 7ffca036917d798ade31e1a22e9518d567e4267af5d1db555ea0e82c1bc2c7a1f665c8cd76d3ce6511507ab7befea4881580259c6142f1e668edafbcbc5e496e
diff --git a/sci-physics/root/root-5.34.32.ebuild b/sci-physics/root/root-5.34.32.ebuild
deleted file mode 100644
index fe92a83..00000000
--- a/sci-physics/root/root-5.34.32.ebuild
+++ /dev/null
@@ -1,445 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-if [[ ${PV} == "9999" ]] ; then
- inherit git-r3
- EGIT_REPO_URI="http://root.cern.ch/git/root.git"
-else
- SRC_URI="https://root.cern.ch/download/${PN}_v${PV}.source.tar.gz"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-fi
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit elisp-common eutils fdo-mime fortran-2 multilib python-single-r1 \
- toolchain-funcs user versionator
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern.ch"
-
-SLOT="0/$(get_version_component_range 1-3 ${PV})"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-IUSE="+X afs c++11 c++14 doc emacs examples fits fftw gdml
- graphviz http kerberos ldap +math +memstat mpi mysql odbc
- +opengl openmp oracle postgres prefix pythia6 pythia8
- python qt4 +reflex ruby shadow sqlite ssl table +tiff xinetd
- xml xrootd zeroconf"
-
-# TODO: add support for: davix
-# TODO: unbundle: vdt
-
-REQUIRED_USE="
- !X? ( !opengl !qt4 !tiff )
- mpi? ( math !openmp )
- openmp? ( math !mpi )
- python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-CDEPEND="
- app-arch/xz-utils:0=
- >=dev-lang/cfortran-4.4-r2
- dev-libs/libpcre:3=
- media-fonts/dejavu
- media-libs/freetype:2=
- media-libs/libpng:0=
- sys-libs/zlib:0=
- X? (
- media-libs/ftgl:0=
- media-libs/glew:0=
- x11-libs/libX11:0=
- x11-libs/libXext:0=
- x11-libs/libXpm:0=
- || (
- media-libs/libafterimage[gif,jpeg,png,tiff?]
- >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
- )
- opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps:0= )
- qt4? (
- dev-qt/qtgui:4=
- dev-qt/qtopengl:4=
- dev-qt/qt3support:4=
- dev-qt/qtsvg:4=
- dev-qt/qtwebkit:4=
- dev-qt/qtxmlpatterns:4=
- )
- x11-libs/libXft:0=
- )
- afs? ( net-fs/openafs )
- emacs? ( virtual/emacs )
- fits? ( sci-libs/cfitsio:0= )
- fftw? ( sci-libs/fftw:3.0= )
- graphviz? ( media-gfx/graphviz:0= )
- http? ( dev-libs/fcgi:0= )
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap:0= )
- math? (
- sci-libs/gsl:0=
- sci-mathematics/unuran:0=
- mpi? ( virtual/mpi )
- )
- mysql? ( virtual/mysql )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
- oracle? ( dev-db/oracle-instantclient-basic:0= )
- postgres? ( dev-db/postgresql:= )
- pythia6? ( sci-physics/pythia:6= )
- pythia8? ( >=sci-physics/pythia-8.1.80:8= <sci-physics/pythia-8.2.0:8= )
- python? ( ${PYTHON_DEPS} )
- ruby? (
- dev-lang/ruby:=
- dev-ruby/rubygems:=
- )
- shadow? ( virtual/shadow )
- sqlite? ( dev-db/sqlite:3= )
- ssl? ( dev-libs/openssl:0= )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( >=net-libs/xrootd-3.3.5:0= )
- zeroconf? ( net-dns/avahi:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}
- reflex? ( dev-cpp/gccxml )
- xinetd? ( sys-apps/xinetd )"
-
-PDEPEND="doc? ( ~app-doc/root-docs-${PV}[http=,math=] )"
-
-S="${WORKDIR}/${PN}"
-
-# install stuff in ${P} and not ${PF} for easier tracking in root-docs
-DOC_DIR="/usr/share/doc/${P}"
-
-die_compiler() {
- eerror "You are using a $(tc-getCXX)-$5 without C++$1 capabilities"
- die "Need one of the following C++$1 capable compilers:\n"\
- " >=sys-devel/gcc[cxx]-$2\n"\
- " >=sys-devel/clang-$3\n"\
- " >=dev-lang/icc-$4"
-}
-
-# check compiler to satisfy minimal versions
-# $1 - std version
-# $2 - g++
-# $3 - clang++
-# $4 - icc/icpc
-check_compiler() {
- local cur ver
- case "$(tc-getCXX)" in
- *clang++*)
- ver="$(best_version sys-devel/clang | sed 's:sys-devel/clang-::')"
- cur="$3"
- ;;
- *g++*)
- ver="$(gcc-version)"
- cur="$2"
- ;;
- *icc*|*icpc*)
- ver="$(best_version dev-lang/icc | sed 's:dev-lang/icc-::')"
- cur="$4"
- ;;
- *)
- ewarn "You are using an unsupported compiler."
- ewarn "Please report any issues upstream."
- return 0
- ;;
- esac
- version_is_at_least "${cur}" "${ver}" || die_compiler "$1" "$2" "$3" "$4" "${ver}"
-}
-
-pkg_setup() {
- fortran-2_pkg_setup
- use python && python-single-r1_pkg_setup
- echo
- elog "There are extra options on packages not yet in Gentoo:"
- elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
- elog "HDFS, Monalisa, MaxDB/SapDB, SRP."
- elog "You can use the env variable EXTRA_ECONF variable for this."
- elog "For example, for SRP, you would set: "
- elog "EXTRA_ECONF=\"--enable-srp --with-srp-libdir=${EROOT%/}/usr/$(get_libdir)\""
- echo
-
- enewgroup rootd
- enewuser rootd -1 -1 /var/spool/rootd rootd
-
- if use math; then
- if use openmp; then
- if [[ "$(tc-getCXX)" == *g++* && "$(tc-getCXX)" != *clang++* ]] && ! tc-has-openmp; then
- ewarn "You are using a g++ without OpenMP capabilities"
- die "Need an OpenMP capable compiler"
- else
- export USE_OPENMP=1 USE_PARALLEL_MINUIT2=1
- fi
- elif use mpi; then
- export USE_MPI=1 USE_PARALLEL_MINUIT2=1
- fi
- fi
-
- use c++11 && check_compiler "11" "4.8" "3.3" "13"
- use c++14 && check_compiler "14" "4.9" "3.4" "15"
-}
-
-src_prepare() {
- epatch \
- "${FILESDIR}"/${PN}-5.28.00b-glibc212.patch \
- "${FILESDIR}"/${PN}-5.32.00-afs.patch \
- "${FILESDIR}"/${PN}-5.32.00-cfitsio.patch \
- "${FILESDIR}"/${PN}-5.32.00-chklib64.patch \
- "${FILESDIR}"/${PN}-5.32.00-dotfont.patch \
- "${FILESDIR}"/${PN}-5.34.05-nobyte-compile.patch \
- "${FILESDIR}"/${PN}-5.34.13-unuran.patch \
- "${FILESDIR}"/${PN}-5.34.26-ldflags.patch
-
- # make sure we use system libs and headers
- rm montecarlo/eg/inc/cfortran.h README/cfortran.doc || die
- rm -r graf2d/asimage/src/libAfterImage || die
- rm -r graf3d/ftgl/{inc,src} || die
- rm -r graf2d/freetype/src || die
- rm -r graf3d/glew/{inc,src} || die
- rm -r core/pcre/src || die
- rm -r math/unuran/src/unuran-*.tar.gz || die
- LANG=C LC_ALL=C find core/zip -type f -name "[a-z]*" -print0 | \
- xargs -0 rm || die
- rm -r core/lzma/src/*.tar.gz || die
- rm graf3d/gl/{inc,src}/gl2ps.* || die
- sed -i -e 's/^GLLIBS *:= .* $(OPENGLLIB)/& -lgl2ps/' \
- graf3d/gl/Module.mk || die
-
- # In Gentoo, libPythia6 is called libpythia6
- # iodbc is in /usr/include/iodbc
- # pg_config.h is checked instead of libpq-fe.h
- sed -i \
- -e 's:libPythia6:libpythia6:g' \
- -e 's:$ODBCINCDIR:$ODBCINCDIR /usr/include/iodbc:' \
- -e 's:libpq-fe.h:pg_config.h:' \
- configure || die "adjusting configure for Gentoo failed"
-
- # prefixify the configure script
- sed -i \
- -e 's:/usr:${EPREFIX}/usr:g' \
- configure || die "prefixify configure failed"
-
- # CSS should use local images
- sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
-
- # fix reflex path (bug #497280)
- sed -i -e 's|${ROOTSYS}/lib|@libdir@|' config/genreflex.in || die
-
- # QTDIR only used for qt3 in gentoo, and configure looks for it.
- unset QTDIR
-}
-
-src_configure() {
- local -a myconf
- # Some compilers need special care
- case "$(tc-getCXX)" in
- *clang++*)
- myconf=(
- --with-clang
- --with-f77="$(tc-getFC)"
- )
- ;;
- *icc*|*icpc*)
- # For icc we need to provide architecture manually
- # and not to tamper with tc-get*
- use x86 && myconf=( linuxicc )
- use amd64 && myconf=( linuxx8664icc )
- ;;
- *) # gcc goes here too
- myconf=(
- --with-cc="$(tc-getCC)"
- --with-cxx="$(tc-getCXX)"
- --with-f77="$(tc-getFC)"
- --with-ld="$(tc-getCXX)"
- )
- ;;
- esac
-
- # the configure script is not the standard autotools
- myconf+=(
- --prefix="${EPREFIX}/usr"
- --etcdir="${EPREFIX}/etc/root"
- --libdir="${EPREFIX}/usr/$(get_libdir)/${PN}"
- --docdir="${EPREFIX}${DOC_DIR}"
- --tutdir="${EPREFIX}${DOC_DIR}/examples/tutorials"
- --testdir="${EPREFIX}${DOC_DIR}/examples/tests"
- --cflags='${CFLAGS}'
- --cxxflags='${CXXFLAGS}'
- --disable-builtin-afterimage
- --disable-builtin-ftgl
- --disable-builtin-freetype
- --disable-builtin-glew
- --disable-builtin-lzma
- --disable-builtin-pcre
- --disable-builtin-zlib
- --disable-cling
- --disable-werror
- --enable-explicitlink
- --enable-shared
- --enable-soversion
- --fail-on-missing
- --nohowto
- --with-afs-shared=yes
- --with-sys-iconpath="${EPREFIX}/usr/share/pixmaps"
- $(use_enable X x11)
- $(use_enable X asimage)
- $(use_enable X xft)
- $(use_enable afs)
- $(use_enable c++11 cxx11)
- $(use_enable c++14 cxx14)
- $(use_enable fits fitsio)
- $(use_enable fftw fftw3)
- $(use_enable gdml)
- $(use_enable graphviz gviz)
- $(use_enable http)
- $(use_enable kerberos krb5)
- $(use_enable ldap)
- $(use_enable math genvector)
- $(use_enable math gsl-shared)
- $(use_enable math mathmore)
- $(use_enable math minuit2)
- $(use_enable math roofit)
- $(use_enable math tmva)
- $(use_enable math vc)
- $(use_enable math vdt)
- $(use_enable math unuran)
- $(use_enable memstat)
- $(use_enable mysql)
- $(usex mysql "--with-mysql-incdir=${EPREFIX}/usr/include/mysql" "")
- $(use_enable odbc)
- $(use_enable opengl)
- $(use_enable oracle)
- $(use_enable postgres pgsql)
- $(use_enable prefix rpath)
- $(use_enable pythia6)
- $(use_enable pythia8)
- $(use_enable python)
- $(use_enable qt4 qt)
- $(use_enable qt4 qtgsi)
- $(use_enable reflex cintex)
- $(use_enable reflex)
- $(use_enable ruby)
- $(use_enable shadow shadowpw)
- $(use_enable sqlite)
- $(use_enable ssl)
- $(use_enable table)
- $(use_enable tiff astiff)
- $(use_enable xml)
- $(use_enable xrootd)
- $(use_enable zeroconf bonjour)
- ${EXTRA_ECONF}
- )
-
- # usex can't be used here, because pg_config may be not
- # installed with USE="-postgres"
- use postgres && myconf+=( --with-pgsql-incdir=$(pg_config --includedir) )
-
- ./configure ${myconf[@]} || die "configure failed"
-}
-
-src_compile() {
- # The build system does not handle the dependency of bin/rmkdepend correctly,
- # preventing it to be called in parallel. Build bin/rmkdepend explicitly
- # first to circumvent the problem.
- emake bin/rmkdepend
- emake \
- OPT="${CXXFLAGS}" \
- F77OPT="${FFLAGS}" \
- ROOTSYS="${S}" \
- LD_LIBRARY_PATH="${S}/lib"
- use emacs && elisp-compile build/misc/*.el
-}
-
-daemon_install() {
- local daemons="rootd proofd"
- dodir /var/spool/rootd
- fowners rootd:rootd /var/spool/rootd
- dodir /var/spool/rootd/{pub,tmp}
- fperms 1777 /var/spool/rootd/{pub,tmp}
-
- local i
- for i in ${daemons}; do
- newinitd "${FILESDIR}"/${i}.initd ${i}
- newconfd "${FILESDIR}"/${i}.confd ${i}
- done
- if use xinetd; then
- insinto /etc/xinetd
- doins "${S}"/etc/daemons/{rootd,proofd}.xinetd
- fi
-}
-
-desktop_install() {
- cd "${S}"
- echo "Icon=root-system-bin" >> etc/root.desktop
- domenu etc/root.desktop
- doicon build/package/debian/root-system-bin.png
-
- insinto /usr/share/icons/hicolor/48x48/mimetypes
- doins build/package/debian/application-x-root.png
-
- insinto /usr/share/icons/hicolor/48x48/apps
- doicon build/package/debian/root-system-bin.xpm
-}
-
-cleanup_install() {
- # Cleanup of files either already distributed or unused on Gentoo
- pushd "${ED}" > /dev/null
- rm usr/share/root/fonts/LICENSE || die
- rm etc/root/proof/*.sample || die
- rm -r etc/root/daemons || die
- # these should be in PATH
- mv etc/root/proof/utils/pq2/pq2* usr/bin/ || die
- rm ${DOC_DIR#/}/{INSTALL,LICENSE,COPYING.CINT} || die
- use examples || rm -r ${DOC_DIR#/}/examples || die
- cd usr/$(get_libdir)/root/cint/cint
- rm lib/posix/mktypes lib/dll_stl/setup lib/G__* || die
- rm lib/dll_stl/G__* lib/dll_stl/rootcint_* lib/posix/exten.o || die
- rm include/makehpib || die
- popd > /dev/null
-}
-
-src_install() {
- emake DESTDIR="${D}" install
-
- echo "LDPATH=${EPREFIX%/}/usr/$(get_libdir)/root" > 99root
-
- use pythia8 && echo "PYTHIA8=${EPREFIX%/}/usr" >> 99root
- if use python; then
- echo "PYTHONPATH=${EPREFIX%/}/usr/$(get_libdir)/root" >> 99root
- python_optimize "${D}/usr/$(get_libdir)/root"
- use reflex && python_optimize "${D}/usr/$(get_libdir)/root/python/genreflex/"
- fi
- use ruby && \
- echo "RUBYLIB=${EPREFIX%/}/usr/$(get_libdir)/root" >> 99root
- use emacs && elisp-install ${PN} build/misc/*.{el,elc}
- if use examples; then
- # these should really be taken care of by the root make install
- insinto ${DOC_DIR}/examples/tutorials/tmva
- doins -r tmva/test
- fi
- doenvd 99root
-
- # The build system installs Emacs support unconditionally in the wrong
- # directory. Remove it and call elisp-install in case of USE=emacs.
- rm -r "${ED}"/usr/share/emacs || die
-
- daemon_install
- desktop_install
- cleanup_install
-
- # do not copress files used by ROOT's CLI (.credit, .demo, .license)
- docompress -x "${DOC_DIR}"/{CREDITS,examples/tutorials}
- # needed for .license command to work
- dosym "${ED}"usr/portage/licenses/LGPL-2.1 "${DOC_DIR}/LICENSE"
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2016-12-19 14:11 Agostino Sarubbo
0 siblings, 0 replies; 196+ messages in thread
From: Agostino Sarubbo @ 2016-12-19 14:11 UTC (permalink / raw
To: gentoo-commits
commit: 6fe851ed5eaa9a9b5300b73142cd1af483f5a098
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 19 14:11:21 2016 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Dec 19 14:11:21 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fe851ed
sci-physics/root: amd64 stable wrt bug #601682
Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-physics/root/root-5.34.36.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/root-5.34.36.ebuild b/sci-physics/root/root-5.34.36.ebuild
index 0872b4d..722616e 100644
--- a/sci-physics/root/root-5.34.36.ebuild
+++ b/sci-physics/root/root-5.34.36.ebuild
@@ -9,7 +9,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="http://root.cern.ch/git/root.git"
else
SRC_URI="https://root.cern.ch/download/${PN}_v${PV}.source.tar.gz"
- KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+ KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
fi
PYTHON_COMPAT=( python2_7 )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2016-12-19 14:13 Agostino Sarubbo
0 siblings, 0 replies; 196+ messages in thread
From: Agostino Sarubbo @ 2016-12-19 14:13 UTC (permalink / raw
To: gentoo-commits
commit: 91d7c058b7af4945e8cca6728fe08fd5a594b2f8
Author: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 19 14:12:57 2016 +0000
Commit: Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Dec 19 14:12:57 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91d7c058
sci-physics/root: x86 stable wrt bug #601682
Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>
sci-physics/root/root-5.34.36.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/root-5.34.36.ebuild b/sci-physics/root/root-5.34.36.ebuild
index 722616e..8fcb69d 100644
--- a/sci-physics/root/root-5.34.36.ebuild
+++ b/sci-physics/root/root-5.34.36.ebuild
@@ -9,7 +9,7 @@ if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="http://root.cern.ch/git/root.git"
else
SRC_URI="https://root.cern.ch/download/${PN}_v${PV}.source.tar.gz"
- KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux"
+ KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
fi
PYTHON_COMPAT=( python2_7 )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2017-12-15 12:01 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2017-12-15 12:01 UTC (permalink / raw
To: gentoo-commits
commit: 94973dc4104f5e41e6852f9eddfe5d9e78fb58ff
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 14 14:37:37 2017 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 11:56:08 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94973dc4
sci-physics/root: update package maintainer
sci-physics/root/metadata.xml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml
index fc9965963e8..b621201035f 100644
--- a/sci-physics/root/metadata.xml
+++ b/sci-physics/root/metadata.xml
@@ -2,8 +2,8 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
- <email>bircoph@gentoo.org</email>
- <name>Andrew Savchenko</name>
+ <email>amadio@gentoo.org</email>
+ <name>Guilherme Amadio</name>
</maintainer>
<maintainer type="project">
<email>sci-physics@gentoo.org</email>
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2017-12-15 12:01 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2017-12-15 12:01 UTC (permalink / raw
To: gentoo-commits
commit: c5774780acec131c918d62b4008bd72599160d70
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 14 16:09:17 2017 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 11:56:10 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5774780
sci-physics/root: drop old 6.04.06 version
Package-Manager: Portage-2.3.18, Repoman-2.3.6
sci-physics/root/Manifest | 1 -
sci-physics/root/metadata.xml | 1 -
sci-physics/root/root-6.04.06.ebuild | 498 -----------------------------------
3 files changed, 500 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 16e83ab4a34..0f1fa9ef4b3 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,3 +1,2 @@
DIST root_v5.34.36.source.tar.gz 75427331 BLAKE2B 203af03e1459c7fe079fcb1b30da145b3262f90c074abb7ff8fb3b1b2b90ac24391ce51aa8afbd10e0db8d69549207f15176207bc30a13720e0ae94342a38dfa SHA512 2cc0c8f8b63b2a3ce01c49c41704483548a7324d92c21a63e3e36a00f4d6f5656a7844fdf48cb71a6f2a2c974112527300ffd3bb5502d8365ffaf138e6ae4c7a
-DIST root_v6.04.06.source.tar.gz 99180724 BLAKE2B 96416ff36bd8e3084ca3a89bb73bfd4750f25d1fbe132ffac0288a7bdebf0200e769efc5e7d5a0d138176db67cb7531cd28124d3b7c568028a125d8a79ec7669 SHA512 ac96ac998ed4894587b7d286d79bcbea7b33f15764cc2513ae089e86c584e2dcb064cd135d44a4bfd2bede368eb772ccbffcd6bf426857a1236f5d7e9f5ce6fd
DIST root_v6.12.04.source.tar.gz 162106020 BLAKE2B f27382cf748d4e31d71b460ecbf9b9f12294fb212bf23dc3d34c98737d8815b2eea2318247e56953ba184bb790bbb2f4b43c675dcb7a02b77c011f19e15d0d83 SHA512 67e400e9e7e8cabfb036a1eb1c262d462f613de7d6e18f8a17109c8eb52932e9ba77e69ab7b1f62c582d06b7f4d020cc888a0dfbefb4d3716743f142c3e3c063
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml
index 1999cbbbd3b..b57d99b68fc 100644
--- a/sci-physics/root/metadata.xml
+++ b/sci-physics/root/metadata.xml
@@ -27,7 +27,6 @@
<flag name="fits">Enable support for images and data from FITS files with <pkg>sci-libs/cfitsio</pkg></flag>
<flag name="fortran">Compile included Fortran programs</flag>
<flag name="gdml">Enable GDML writer and reader</flag>
- <flag name="geocad">Enable ROOT-CAD interface using <pkg>sci-libs/opencascade</pkg></flag>
<flag name="http">Enable http server support including but not limited to fastcgi support</flag>
<flag name="jemalloc">Enable support for <pkg>dev-libs/jemalloc</pkg></flag>
<flag name="libcxx">Build ROOT against <pkg>sys-libs/libcxx</pkg></flag>
diff --git a/sci-physics/root/root-6.04.06.ebuild b/sci-physics/root/root-6.04.06.ebuild
deleted file mode 100644
index 826af7a7fff..00000000000
--- a/sci-physics/root/root-6.04.06.ebuild
+++ /dev/null
@@ -1,498 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit elisp-common eutils fdo-mime fortran-2 multilib python-single-r1 \
- toolchain-funcs user versionator
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern.ch"
-SRC_URI="https://root.cern.ch/download/${PN}_v${PV}.source.tar.gz"
-
-SLOT="0/$(get_version_component_range 1-3 ${PV})"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="+X afs doc emacs examples fits fftw gdml geocad
- graphviz http kerberos ldap +math +memstat mpi mysql odbc
- +opengl openmp oracle postgres prefix pythia6 pythia8
- python qt4 R shadow sqlite ssl table +tiff xinetd xml xrootd
- zeroconf"
-
-# TODO: add support for: davix
-# TODO: ROOT-6 supports x32 ABI, but half of its dependencies doesn't
-# TODO: unbundle: cling, vdt
-
-REQUIRED_USE="
- !X? ( !opengl !qt4 !tiff )
- mpi? ( math !openmp )
- openmp? ( math !mpi )
- python? ( ${PYTHON_REQUIRED_USE} )
-"
-
-CDEPEND="
- app-arch/xz-utils:0=
- >=dev-lang/cfortran-4.4-r2
- dev-libs/libpcre:3=
- media-fonts/dejavu
- media-libs/freetype:2=
- media-libs/libpng:0=
- >=sys-devel/clang-3.4:=
- sys-libs/ncurses:=
- sys-libs/zlib:0=
- X? (
- media-libs/ftgl:0=
- media-libs/glew:0=
- x11-libs/libX11:0=
- x11-libs/libXext:0=
- x11-libs/libXpm:0=
- || (
- media-libs/libafterimage[gif,jpeg,png,tiff?]
- >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
- )
- opengl? ( virtual/opengl virtual/glu x11-libs/gl2ps:0= )
- qt4? (
- dev-qt/qtgui:4=
- dev-qt/qtopengl:4=
- dev-qt/qt3support:4=
- dev-qt/qtsvg:4=
- dev-qt/qtwebkit:4=
- dev-qt/qtxmlpatterns:4=
- )
- x11-libs/libXft:0=
- )
- afs? ( net-fs/openafs )
- emacs? ( virtual/emacs )
- fits? ( sci-libs/cfitsio:0= )
- fftw? ( sci-libs/fftw:3.0= )
- geocad? ( <sci-libs/opencascade-6.8.0:= )
- graphviz? ( media-gfx/graphviz:0= )
- http? ( dev-libs/fcgi:0= )
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap:0= )
- math? (
- sci-libs/gsl:0=
- sci-mathematics/unuran:0=
- mpi? ( virtual/mpi )
- )
- mysql? ( virtual/mysql )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
- oracle? ( dev-db/oracle-instantclient-basic:0= )
- postgres? ( dev-db/postgresql:= )
- pythia6? ( sci-physics/pythia:6= )
- pythia8? ( >=sci-physics/pythia-8.1.80:8= )
- python? ( ${PYTHON_DEPS} )
- R? ( dev-lang/R )
- shadow? ( virtual/shadow )
- sqlite? ( dev-db/sqlite:3= )
- ssl? ( dev-libs/openssl:0= )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( >=net-libs/xrootd-3.3.5:0= )
- zeroconf? ( net-dns/avahi:0= )
-"
-
-# TODO: ruby is not yet ported to ROOT-6, reenable when (if?) ready
-# ruby? (
-# dev-lang/ruby:=
-# dev-ruby/rubygems:=
-# )
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}
- xinetd? ( sys-apps/xinetd )"
-
-PDEPEND="doc? ( ~app-doc/root-docs-${PV}[http=,math=] )"
-
-# install stuff in ${P} and not ${PF} for easier tracking in root-docs
-DOC_DIR="/usr/share/doc/${P}"
-
-OC_UNSUPPORTED="6.8.0"
-
-die_compiler() {
- eerror "You are using a $(tc-getCXX)-$5 without C++$1 capabilities"
- die "Need one of the following C++$1 capable compilers:\n"\
- " >=sys-devel/gcc[cxx]-$2\n"\
- " >=sys-devel/clang-$3\n"\
- " >=dev-lang/icc-$4"
-}
-
-# check compiler to satisfy minimal versions
-# $1 - std version
-# $2 - g++
-# $3 - clang++
-# $4 - icc/icpc
-check_compiler() {
- local cur ver
- case "$(tc-getCXX)" in
- *clang++*)
- ver="$(best_version sys-devel/clang | sed 's:sys-devel/clang-::')"
- cur="$3"
- ;;
- *g++*)
- ver="$(gcc-version)"
- if version_is_at_least "5" "${ver}"; then
- eerror ""
- eerror "GCC-5 is not yet supported in ROOT-6."
- eerror "The code may build for you, but will have run-time failures."
- eerror "See the following bugs:"
- eerror "https://sft.its.cern.ch/jira/browse/ROOT-7285"
- eerror "https://sft.its.cern.ch/jira/browse/ROOT-7319"
- eerror "https://sft.its.cern.ch/jira/browse/ROOT-7654"
- eerror "https://sft.its.cern.ch/jira/browse/ROOT-7721"
- eerror "https://sft.its.cern.ch/jira/browse/ROOT-7818"
- eerror "https://sft.its.cern.ch/jira/browse/ROOT-7895"
- eerror "https://bugs.gentoo.org/show_bug.cgi?id=564306"
- eerror ""
- eerror "Please use GCC-4.9 for now."
- eerror ""
- die "gcc-5 is not yet supported"
- fi
- cur="$2"
- ;;
- *icc*|*icpc*)
- ver="$(best_version dev-lang/icc | sed 's:dev-lang/icc-::')"
- eerror "ROOT-6 is known not to build with ICC."
- eerror "Please report any isuses upstream."
- cur="$4"
- ;;
- *)
- ewarn "You are using an unsupported compiler."
- ewarn "Please report any issues upstream."
- return 0
- ;;
- esac
- version_is_at_least "${cur}" "${ver}" || die_compiler "$1" "$2" "$3" "$4" "${ver}"
-}
-
-pkg_setup() {
- fortran-2_pkg_setup
- use python && python-single-r1_pkg_setup
- echo
- elog "There are extra options on packages not yet in Gentoo:"
- elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
- elog "HDFS, Monalisa, MaxDB/SapDB, SRP."
- elog "You can use the env variable EXTRA_ECONF variable for this."
- elog "For example, for SRP, you would set: "
- elog "EXTRA_ECONF=\"--enable-srp --with-srp-libdir=${EROOT%/}/usr/$(get_libdir)\""
- echo
-
- enewgroup rootd
- enewuser rootd -1 -1 /var/spool/rootd rootd
-
- if use math; then
- if use openmp; then
- if [[ "$(tc-getCXX)" == *g++* && "$(tc-getCXX)" != *clang++* ]] && ! tc-has-openmp; then
- ewarn "You are using a g++ without OpenMP capabilities"
- die "Need an OpenMP capable compiler"
- else
- export USE_OPENMP=1 USE_PARALLEL_MINUIT2=1
- fi
- elif use mpi; then
- export USE_MPI=1 USE_PARALLEL_MINUIT2=1
- fi
- fi
-
- # c++11 support is mandatory
- check_compiler "11" "4.8" "3.4" "13"
-
- # Active version of opencascade may be >= $OC_UNSUPPORTED,
- # so we need to eselect proper version (it must exist due to DEPEND requirement)
- if use geocad; then
- oc_current=$(eselect opencascade show)
- # Proceed only if active version is unsupported
- if version_is_at_least "${OC_UNSUPPORTED}" "${oc_current}"; then
- local -a vlist
- vlist=( $(version_sort $(eselect opencascade list | awk '/^ / { print $2 }')) )
- local i
- # search for higehr version < $OC_UNSUPPORTED
- # list is sorted acsending, so loop backwards
- for (( i=$(( ${#vlist[@]} -1 )); i>=0; i-- )); do
- version_is_at_least "${OC_UNSUPPORTED}" "${vlist[i]}" || break
- done
- [[ $i == "-1" ]] && die "No suitable opencascade eselect slot is available (<${OC_UNSUPPORTED})"
-
- einfo "Switching opencascade to supported slot: ${oc_current} -> ${vlist[i]}"
- eselect opencascade set ${vlist[i]} > /dev/null || die "eselect opencascade set ${vlist[i]} failed!"
- else
- # forget it, effectively disabling eselect cleanup
- unset oc_current
- fi
- fi
-}
-
-src_prepare() {
- # Second version of makepch is required in order to generate
- # PCH file appropriate for Gentoo include headers layout.
- # This can be done only at install stage, when files are placed
- # as appropriate. Premature modification of makepch.sh will
- # broke build process, however.
- #cp "etc/dictpch/makepch.sh" "etc/dictpch/makepch-gentoo.sh" || die
-
- epatch \
- "${FILESDIR}"/${PN}-5.28.00b-glibc212.patch \
- "${FILESDIR}"/${PN}-5.32.00-afs.patch \
- "${FILESDIR}"/${PN}-5.32.00-cfitsio.patch \
- "${FILESDIR}"/${PN}-5.32.00-chklib64.patch \
- "${FILESDIR}"/${PN}-5.34.13-unuran.patch \
- "${FILESDIR}"/${PN}-6.00.01-dotfont.patch \
- "${FILESDIR}"/${PN}-6.00.01-llvm.patch \
- "${FILESDIR}"/${PN}-6.00.01-nobyte-compile.patch \
- "${FILESDIR}"/${PN}-6.04.06-prop-flags.patch \
- "${FILESDIR}"/${PN}-6.04.06-gsl2.patch
- # "${FILESDIR}"/${PN}-6.02.05-xrootd4.patch
- # "${FILESDIR}"/${PN}-6.02.05-dictpch.patch \
-
- # make sure we use system libs and headers
- rm montecarlo/eg/inc/cfortran.h README/cfortran.doc || die
- rm -r graf2d/asimage/src/libAfterImage || die
- rm -r graf3d/ftgl/{inc,src} || die
- rm -r graf2d/freetype/src || die
- rm -r graf3d/glew/{inc,src} || die
- rm -r core/pcre/src || die
- rm -r math/unuran/src/unuran-*.tar.gz || die
- LANG=C LC_ALL=C find core/zip -type f -name "[a-z]*" -print0 | \
- xargs -0 rm || die
- rm -r core/lzma/src/*.tar.gz || die
- rm graf3d/gl/{inc,src}/gl2ps.* || die
- sed -i -e 's/^GLLIBS *:= .* $(OPENGLLIB)/& -lgl2ps/' \
- graf3d/gl/Module.mk || die
-
- # In Gentoo, libPythia6 is called libpythia6
- # iodbc is in /usr/include/iodbc
- # pg_config.h is checked instead of libpq-fe.h
- sed -i \
- -e 's:libPythia6:libpythia6:g' \
- -e 's:$ODBCINCDIR:$ODBCINCDIR /usr/include/iodbc:' \
- -e 's:libpq-fe.h:pg_config.h:' \
- configure || die "adjusting configure for Gentoo failed"
-
- # prefixify the configure script
- sed -i \
- -e 's:/usr:${EPREFIX}/usr:g' \
- configure || die "prefixify configure failed"
-
- # CSS should use local images
- sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
-
- # QTDIR only used for qt3 in gentoo, and configure looks for it.
- unset QTDIR
-}
-
-# NB: ROOT uses bundled LLVM, because it is patched and API-incompatible with
-# system LLVM.
-# NB: As of 6.00.0.1 cmake is not ready as it can't fully replace configure,
-# e.g. for afs and geocad.
-
-src_configure() {
- local -a myconf
- # Some compilers need special care
- case "$(tc-getCXX)" in
- *clang++*)
- myconf=(
- --with-clang
- --with-f77="$(tc-getFC)"
- )
- ;;
- *icc*|*icpc*)
- # For icc we need to provide architecture manually
- # and not to tamper with tc-get*
- use x86 && myconf=( linuxicc )
- use amd64 && myconf=( linuxx8664icc )
- ;;
- *) # gcc goes here too
- myconf=(
- --with-cc="$(tc-getCC)"
- --with-cxx="$(tc-getCXX)"
- --with-f77="$(tc-getFC)"
- --with-ld="$(tc-getCXX)"
- )
- ;;
- esac
-
- # the configure script is not the standard autotools
- myconf+=(
- --prefix="${EPREFIX}/usr"
- --etcdir="${EPREFIX}/etc/root"
- --libdir="${EPREFIX}/usr/$(get_libdir)/${PN}"
- --docdir="${EPREFIX}${DOC_DIR}"
- --tutdir="${EPREFIX}${DOC_DIR}/examples/tutorials"
- --testdir="${EPREFIX}${DOC_DIR}/examples/tests"
- --disable-builtin-afterimage
- --disable-builtin-ftgl
- --disable-builtin-freetype
- --disable-builtin-glew
- --disable-builtin-lzma
- --disable-builtin-pcre
- --disable-builtin-zlib
- --disable-werror
- --enable-explicitlink
- --enable-shared
- --enable-soversion
- --fail-on-missing
- --nohowto
- --with-afs-shared=yes
- --with-sys-iconpath="${EPREFIX}/usr/share/pixmaps"
- # Invalid option '-mtune=native'. Try ./configure --help
- # --cflags=\"${CFLAGS}\"
- # --cxxflags=\"${CXXFLAGS}\"
- $(use_enable X x11)
- $(use_enable X asimage)
- $(use_enable X xft)
- $(use_enable afs)
- $(use_enable fits fitsio)
- $(use_enable fftw fftw3)
- $(use_enable gdml)
- $(use_enable geocad)
- $(use_enable graphviz gviz)
- $(use_enable http)
- $(use_enable kerberos krb5)
- $(use_enable ldap)
- $(use_enable math genvector)
- $(use_enable math gsl-shared)
- $(use_enable math mathmore)
- $(use_enable math minuit2)
- $(use_enable math roofit)
- $(use_enable math tmva)
- $(use_enable math vc)
- $(use_enable math vdt)
- $(use_enable math unuran)
- $(use_enable memstat)
- $(use_enable mysql)
- $(usex mysql "--with-mysql-incdir=${EPREFIX}/usr/include/mysql" "")
- $(use_enable odbc)
- $(use_enable opengl)
- $(use_enable oracle)
- $(use_enable postgres pgsql)
- $(use_enable prefix rpath)
- $(use_enable pythia6)
- $(use_enable pythia8)
- $(use_enable python)
- $(use_enable qt4 qt)
- $(use_enable qt4 qtgsi)
- $(use_enable R r)
- $(use_enable shadow shadowpw)
- $(use_enable sqlite)
- $(use_enable ssl)
- $(use_enable table)
- $(use_enable tiff astiff)
- $(use_enable xml)
- $(use_enable xrootd)
- $(use_enable zeroconf bonjour)
- ${EXTRA_ECONF}
- )
-
- # usex can't be used here, because pg_config may be not
- # installed with USE="-postgres"
- use postgres && myconf+=( --with-pgsql-incdir=$(pg_config --includedir) )
-
- einfo "Configuring with ${myconf[@]}"
- ./configure ${myconf[@]} || die "configure failed"
-}
-
-src_compile() {
- emake \
- OPT="${CXXFLAGS}" \
- F77OPT="${FFLAGS}" \
- ROOTSYS="${S}" \
- LD_LIBRARY_PATH="${S}/lib"
- use emacs && elisp-compile build/misc/*.el
-}
-
-daemon_install() {
- local daemons="rootd proofd"
- dodir /var/spool/rootd
- fowners rootd:rootd /var/spool/rootd
- dodir /var/spool/rootd/{pub,tmp}
- fperms 1777 /var/spool/rootd/{pub,tmp}
-
- local i
- for i in ${daemons}; do
- newinitd "${FILESDIR}"/${i}.initd ${i}
- newconfd "${FILESDIR}"/${i}.confd ${i}
- done
- if use xinetd; then
- insinto /etc/xinetd
- doins "${S}"/etc/daemons/{rootd,proofd}.xinetd
- fi
-}
-
-desktop_install() {
- cd "${S}"
- echo "Icon=root-system-bin" >> etc/root.desktop
- domenu etc/root.desktop
- doicon build/package/debian/root-system-bin.png
-
- insinto /usr/share/icons/hicolor/48x48/mimetypes
- doins build/package/debian/application-x-root.png
-
- insinto /usr/share/icons/hicolor/48x48/apps
- doicon build/package/debian/root-system-bin.xpm
-}
-
-cleanup_install() {
- # Cleanup of files either already distributed or unused on Gentoo
- pushd "${ED}" > /dev/null
- rm usr/share/root/fonts/LICENSE || die
- rm etc/root/proof/*.sample || die
- rm -r etc/root/daemons || die
- # these should be in PATH
- mv etc/root/proof/utils/pq2/pq2* usr/bin/ || die
- rm ${DOC_DIR#/}/INSTALL || die
- use examples || rm -r ${DOC_DIR#/}/examples || die
-
- # clean hardcoded sandbox paths
- #rm etc/root/dictpch/allCppflags.txt.tmp || die
- #sed -i "s|${S}/||" etc/root/cling/llvm/Config/llvm-config.h || die
- # regenerate pch for Gentoo headers layout
- #rm "etc/root/allDict.cxx.pch" || die
- #sed -i 's|etc/dictpch|etc/root/dictpch|' etc/root/dictpch/allLinkDefs.h || die
- #sed -i 's|etc/cling|etc/root/cling|' etc/root/dictpch/allHeaders.h || die
- #sed -i "s|ROOTDIR_TEMPLATE|${ED}|" etc/root/dictpch/makepch-gentoo.sh || die
- #etc/root/dictpch/makepch-gentoo.sh etc/root/allDict.cxx.pch || die "PCH generation failed"
-}
-
-src_install() {
- ROOTSYS="${S}" emake DESTDIR="${D}" install
- insinto "${DOC_DIR}"
- doins README.md
-
- echo "LDPATH=${EPREFIX%/}/usr/$(get_libdir)/root" > 99root
- use pythia8 && echo "PYTHIA8=${EPREFIX%/}/usr" >> 99root
-
- if use python; then
- echo "PYTHONPATH=${EPREFIX%/}/usr/$(get_libdir)/root" >> 99root
- python_optimize "${D}/usr/$(get_libdir)/root"
- fi
- use emacs && elisp-install ${PN} build/misc/*.{el,elc}
- doenvd 99root
-
- # The build system installs Emacs support unconditionally in the wrong
- # directory. Remove it and call elisp-install in case of USE=emacs.
- rm -r "${ED}"/usr/share/emacs || die
-
- daemon_install
- desktop_install
- cleanup_install
-
- # do not copress files used by ROOT's CLI (.credit, .demo, .license)
- docompress -x "${DOC_DIR}"/{CREDITS,examples/tutorials}
-}
-
-pkg_postinst() {
- fdo-mime_desktop_database_update
-
- # restort opencascade eselect slot
- if use geocad && [[ -n ${oc_current} ]]; then
- einfo "Switching to user set slot: $(eselect opencascade show) -> ${oc_current}"
- eselect opencascade set ${oc_current} > /dev/null || eerror "eselect opencascade set ${vlist[i]} failed!"
- unset oc_current
- fi
-}
-
-pkg_postrm() {
- fdo-mime_desktop_database_update
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2017-12-15 12:01 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2017-12-15 12:01 UTC (permalink / raw
To: gentoo-commits
commit: 7643aa20d171b00ca07051213913f3dafd51fa06
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 14 16:12:36 2017 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Dec 15 11:56:12 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7643aa20
sci-physics/root-5.34.36: move from fdo-mime to xdg-utils
Package-Manager: Portage-2.3.18, Repoman-2.3.6
sci-physics/root/root-5.34.36.ebuild | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/sci-physics/root/root-5.34.36.ebuild b/sci-physics/root/root-5.34.36.ebuild
index 86b4a8feaaa..3651637f2f5 100644
--- a/sci-physics/root/root-5.34.36.ebuild
+++ b/sci-physics/root/root-5.34.36.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@@ -13,8 +13,8 @@ fi
PYTHON_COMPAT=( python2_7 )
-inherit elisp-common eutils fdo-mime fortran-2 multilib python-single-r1 \
- toolchain-funcs user versionator prefix
+inherit elisp-common eutils fortran-2 multilib prefix python-single-r1 \
+ toolchain-funcs user versionator xdg-utils
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern.ch"
@@ -433,9 +433,9 @@ src_install() {
}
pkg_postinst() {
- fdo-mime_desktop_database_update
+ xdg_desktop_database_update
}
pkg_postrm() {
- fdo-mime_desktop_database_update
+ xdg_desktop_database_update
}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2017-12-18 13:13 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2017-12-18 13:13 UTC (permalink / raw
To: gentoo-commits
commit: b4ae38c1b1982e8ff1812c639c785f1835e46d04
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 09:08:55 2017 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 13:11:57 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4ae38c1
sci-physics/root: set ROOTPATH so that portage finds ROOT, bug 641422
As mentioned in the bug, this is needed for building packages that
depend on ROOT, like sci-physics/{geant-vmc,gentfit,vgm}.
Closes: https://bugs.gentoo.org/641422
Package-Manager: Portage-2.3.18, Repoman-2.3.6
sci-physics/root/root-6.12.04.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/sci-physics/root/root-6.12.04.ebuild b/sci-physics/root/root-6.12.04.ebuild
index a3a12846bd4..4a5da3db24e 100644
--- a/sci-physics/root/root-6.12.04.ebuild
+++ b/sci-physics/root/root-6.12.04.ebuild
@@ -302,6 +302,7 @@ src_install() {
use emacs && elisp-install ${PN} "${BUILD_DIR}"/root-help.el
echo "PATH=${EPREFIX}/${MY_PREFIX}/bin" > 99root || die
+ echo "ROOTPATH=${EPREFIX}/${MY_PREFIX}/bin" > 99root || die
echo "LDPATH=${EPREFIX}/${MY_PREFIX}/$(get_libdir)" >> 99root || die
if use pythia8; then
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2017-12-18 13:13 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2017-12-18 13:13 UTC (permalink / raw
To: gentoo-commits
commit: c34ba3610f73d9d3f0752d16160cd5921994c1f1
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 09:04:51 2017 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 13:11:55 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c34ba361
sci-physics/root: do not restrict Pythia versions, bug 641420
The use restriction is not necessary, as there are no conflicts
between Pythia from slots 6 and 8.
Closes: https://bugs.gentoo.org/641420
Package-Manager: Portage-2.3.18, Repoman-2.3.6
sci-physics/root/root-6.12.04.ebuild | 2 --
1 file changed, 2 deletions(-)
diff --git a/sci-physics/root/root-6.12.04.ebuild b/sci-physics/root/root-6.12.04.ebuild
index 4fb0c10e18f..a3a12846bd4 100644
--- a/sci-physics/root/root-6.12.04.ebuild
+++ b/sci-physics/root/root-6.12.04.ebuild
@@ -31,8 +31,6 @@ KEYWORDS="~amd64 ~x86"
REQUIRED_USE="
!X? ( !asimage !opengl !qt4 !tiff )
python? ( ${PYTHON_REQUIRED_USE} )
- pythia6? ( !pythia8 )
- pythia8? ( !pythia6 )
tmva? ( math gsl )
davix? ( ssl )
"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2017-12-18 13:13 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2017-12-18 13:13 UTC (permalink / raw
To: gentoo-commits
commit: 6c1ce7728875740fdfda64c1e80387d9fe298dc2
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 12:52:52 2017 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 13:12:02 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c1ce772
sci-physics/root: revision bump
Package-Manager: Portage-2.3.19, Repoman-2.3.6
sci-physics/root/{root-6.12.04.ebuild => root-6.12.04-r1.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/sci-physics/root/root-6.12.04.ebuild b/sci-physics/root/root-6.12.04-r1.ebuild
similarity index 100%
rename from sci-physics/root/root-6.12.04.ebuild
rename to sci-physics/root/root-6.12.04-r1.ebuild
^ permalink raw reply [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-01-19 16:38 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-01-19 16:38 UTC (permalink / raw
To: gentoo-commits
commit: 24372ea7f292da93a8da1fff33f6b4b1e98b6b1d
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 16 14:07:05 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Jan 19 16:35:12 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24372ea7
sci-physics/root: set PATH and ROOTPATH, bug 641422
The previous commit had a bug that overwrote the file with
PATH setting. Now both PATH and ROOTPATH are properly set.
Closes: https://bugs.gentoo.org/641422
Package-Manager: Portage-2.3.19, Repoman-2.3.6
sci-physics/root/{root-6.12.04-r1.ebuild => root-6.12.04-r2.ebuild} | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/root-6.12.04-r1.ebuild b/sci-physics/root/root-6.12.04-r2.ebuild
similarity index 98%
rename from sci-physics/root/root-6.12.04-r1.ebuild
rename to sci-physics/root/root-6.12.04-r2.ebuild
index 7bb076d3556..144d2eaaf83 100644
--- a/sci-physics/root/root-6.12.04-r1.ebuild
+++ b/sci-physics/root/root-6.12.04-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -299,7 +299,7 @@ src_install() {
use emacs && elisp-install ${PN} "${BUILD_DIR}"/root-help.el
echo "PATH=${EPREFIX}/${MY_PREFIX}/bin" > 99root || die
- echo "ROOTPATH=${EPREFIX}/${MY_PREFIX}/bin" > 99root || die
+ echo "ROOTPATH=${EPREFIX}/${MY_PREFIX}/bin" >> 99root || die
echo "LDPATH=${EPREFIX}/${MY_PREFIX}/$(get_libdir)" >> 99root || die
if use pythia8; then
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-02-23 23:37 Michał Górny
0 siblings, 0 replies; 196+ messages in thread
From: Michał Górny @ 2018-02-23 23:37 UTC (permalink / raw
To: gentoo-commits
commit: 7e217105be81f6811e6813b956caf78f60bced3a
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 23 22:34:30 2018 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 23 23:37:01 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e217105
sci-physics/root: Force CMAKE_MAKEFILE_GENERATOR=emake
sci-physics/root/root-6.12.04-r2.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sci-physics/root/root-6.12.04-r2.ebuild b/sci-physics/root/root-6.12.04-r2.ebuild
index 144d2eaaf83..15613207ee7 100644
--- a/sci-physics/root/root-6.12.04-r2.ebuild
+++ b/sci-physics/root/root-6.12.04-r2.ebuild
@@ -4,6 +4,8 @@
EAPI=6
CMAKE_BUILD_TYPE=Release
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-03-06 14:43 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-03-06 14:43 UTC (permalink / raw
To: gentoo-commits
commit: 6d025b67ef35ebad7e08b3ba6f70a470ccfbf4c1
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 6 11:00:28 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Mar 6 14:43:06 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d025b67
sci-physics/root: keep directories needed by rootd daemon
Closes: https://bugs.gentoo.org/648692
Package-Manager: Portage-2.3.24, Repoman-2.3.6
sci-physics/root/root-6.12.04-r3.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/sci-physics/root/root-6.12.04-r3.ebuild b/sci-physics/root/root-6.12.04-r3.ebuild
index 54a2507bc98..9ff4f451b92 100644
--- a/sci-physics/root/root-6.12.04-r3.ebuild
+++ b/sci-physics/root/root-6.12.04-r3.ebuild
@@ -267,6 +267,7 @@ daemon_install() {
fowners rootd:rootd /var/spool/rootd
dodir /var/spool/rootd/{pub,tmp}
fperms 1777 /var/spool/rootd/{pub,tmp}
+ keepdir /var/spool/rootd/{pub,tmp}
local i
for i in ${daemons}; do
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-03-06 14:43 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-03-06 14:43 UTC (permalink / raw
To: gentoo-commits
commit: 3c919926eb18a4dfe8ef58172405949498ab2aad
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 6 07:06:18 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Mar 6 14:43:04 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c919926
sci-physics/root: update GTK+ icon cache
Closes: https://bugs.gentoo.org/648694
Package-Manager: Portage-2.3.24, Repoman-2.3.6
sci-physics/root/{root-6.12.04-r2.ebuild => root-6.12.04-r3.ebuild} | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/root-6.12.04-r2.ebuild b/sci-physics/root/root-6.12.04-r3.ebuild
similarity index 98%
rename from sci-physics/root/root-6.12.04-r2.ebuild
rename to sci-physics/root/root-6.12.04-r3.ebuild
index 15613207ee7..54a2507bc98 100644
--- a/sci-physics/root/root-6.12.04-r2.ebuild
+++ b/sci-physics/root/root-6.12.04-r3.ebuild
@@ -9,8 +9,8 @@ CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-inherit cmake-utils elisp-common eutils fortran-2 python-single-r1 \
- toolchain-funcs user versionator xdg-utils
+inherit cmake-utils elisp-common eutils fortran-2 gnome2-utils \
+ python-single-r1 toolchain-funcs user versionator xdg-utils
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
@@ -336,8 +336,10 @@ src_install() {
pkg_postinst() {
xdg_desktop_database_update
+ gnome2_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
+ gnome2_icon_cache_update
}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-03-19 18:06 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-03-19 18:06 UTC (permalink / raw
To: gentoo-commits
commit: 2b88251f9663817d14bfa834805e36290c626e46
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 18:01:22 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 18:05:11 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b88251f
sci-physics/root: use newly added davix and xxhash
Package-Manager: Portage-2.3.24, Repoman-2.3.6
sci-physics/root/{root-6.12.06.ebuild => root-6.12.06-r1.ebuild} | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/root-6.12.06.ebuild b/sci-physics/root/root-6.12.06-r1.ebuild
similarity index 98%
rename from sci-physics/root/root-6.12.06.ebuild
rename to sci-physics/root/root-6.12.06-r1.ebuild
index c875fb4bddf..c0815302e7d 100644
--- a/sci-physics/root/root-6.12.06.ebuild
+++ b/sci-physics/root/root-6.12.06-r1.ebuild
@@ -16,7 +16,7 @@ DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-IUSE="+X avahi aqua +asimage davix emacs +examples fits fftw fortran +gdml
+IUSE="+X avahi aqua +asimage +davix emacs +examples fits fftw fortran +gdml
graphviz +gsl http jemalloc kerberos ldap libcxx +math memstat +minuit
mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python qt4
R +roofit root7 shadow sqlite ssl table +tbb test +threads +tiff +tmva
@@ -42,6 +42,7 @@ CDEPEND="
app-arch/xz-utils
fortran? ( dev-lang/cfortran )
dev-libs/libpcre:3=
+ dev-libs/xxhash
media-fonts/dejavu
media-libs/freetype:2=
media-libs/libpng:0=
@@ -70,6 +71,7 @@ CDEPEND="
>=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
) )
avahi? ( net-dns/avahi[mdnsresponder-compat] )
+ davix? ( net-libs/davix )
fftw? ( sci-libs/fftw:3.0= )
fits? ( sci-libs/cfitsio:0= )
graphviz? ( media-gfx/graphviz:0= )
@@ -168,18 +170,20 @@ src_configure() {
-Dbuiltin_llvm=ON
-Dbuiltin_afterimage=OFF
-Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=$(usex davix) # not in Gentoo yet
+ -Dbuiltin_davix=OFF
-Dbuiltin_fftw3=OFF
-Dbuiltin_freetype=OFF
-Dbuiltin_ftgl=OFF
-Dbuiltin_glew=OFF
-Dbuiltin_gsl=OFF
+ -Dbuiltin_lz4=OFF
-Dbuiltin_lzma=OFF
-Dbuiltin_pcre=OFF
-Dbuiltin_tbb=OFF
-Dbuiltin_unuran=OFF
-Dbuiltin_vc=OFF
-Dbuiltin_xrootd=OFF
+ -Dbuiltin_xxhash=OFF
-Dbuiltin_zlib=OFF
-Dx11=$(usex X)
-Dxft=$(usex X)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-03-22 14:24 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-03-22 14:24 UTC (permalink / raw
To: gentoo-commits
commit: 557ed1f0edcbae46df9684bff6c4405b50891f0b
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 22 12:48:17 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Mar 22 14:23:33 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=557ed1f0
sci-physics/root: prefix support
Package-Manager: Portage-2.3.24, Repoman-2.3.6
sci-physics/root/root-6.12.06-r1.ebuild | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/sci-physics/root/root-6.12.06-r1.ebuild b/sci-physics/root/root-6.12.06-r1.ebuild
index 1908822d66c..2369e76b68b 100644
--- a/sci-physics/root/root-6.12.06-r1.ebuild
+++ b/sci-physics/root/root-6.12.06-r1.ebuild
@@ -9,7 +9,7 @@ CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-inherit cmake-utils elisp-common eutils fortran-2 gnome2-utils \
+inherit cmake-utils elisp-common eutils fortran-2 gnome2-utils prefix \
python-single-r1 toolchain-funcs user versionator xdg-utils
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
@@ -150,6 +150,8 @@ src_prepare() {
rm -r core/lzma/src/*.tar.gz || die
LANG=C LC_ALL=C find core/zip -type f -name "[a-z]*" -print0 | xargs -0 rm || die
+ hprefixify build/CMakeLists.txt core/clingutils/CMakeLists.txt
+
# CSS should use local images
sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
}
@@ -163,6 +165,9 @@ src_configure() {
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/${MY_PREFIX}"
+ -DDEFAULT_SYSROOT="${EPREFIX}"
+ -DGCC_INSTALL_PREFIX="${EPREFIX}/usr"
+ -DC_INCLUDE_DIRS="${EPREFIX}/usr/local/include:${EPREFIX}/include:${EPREFIX}/usr/include"
-Dexplicitlink=ON
-Dexceptions=ON
-Dfail-on-missing=ON
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-03-22 14:24 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-03-22 14:24 UTC (permalink / raw
To: gentoo-commits
commit: 576725059c049d8abce31c1104e0def7311789ba
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 22 13:12:19 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Mar 22 14:23:34 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57672505
sci-physics/root: drop old workarounds for bundled packages
Currently -Dfail-on-missing=ON should be enough to prevent usage of
bundled packages. Also, these workarounds would fail in the next version
bump since the builtins are being restructured upstream.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
sci-physics/root/root-6.12.06-r1.ebuild | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r1.ebuild b/sci-physics/root/root-6.12.06-r1.ebuild
index 2369e76b68b..1c75f07e2f9 100644
--- a/sci-physics/root/root-6.12.06-r1.ebuild
+++ b/sci-physics/root/root-6.12.06-r1.ebuild
@@ -138,18 +138,6 @@ pkg_setup() {
src_prepare() {
cmake-utils_src_prepare
- # make sure we use system libs and headers
- rm montecarlo/eg/inc/cfortran.h README/cfortran.doc || die
- rm -r graf2d/asimage/src/libAfterImage || die
- rm -r graf3d/ftgl/{inc,src} || die
- rm -r graf2d/freetype/src || die
- rm -r graf3d/gl/src/gl2ps* || die
- rm -r graf3d/glew/{inc,src} || die
- rm -r core/pcre/src || die
- rm -r math/unuran/src/unuran-*.tar.gz || die
- rm -r core/lzma/src/*.tar.gz || die
- LANG=C LC_ALL=C find core/zip -type f -name "[a-z]*" -print0 | xargs -0 rm || die
-
hprefixify build/CMakeLists.txt core/clingutils/CMakeLists.txt
# CSS should use local images
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-03-22 14:24 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-03-22 14:24 UTC (permalink / raw
To: gentoo-commits
commit: fcf3b7b11b6651916bfd82a7be28ac7d1100eec5
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 22 13:14:46 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Mar 22 14:23:35 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcf3b7b1
sci-physics/root: drop unnecessary patches
Dropped patches were for the old configure/make build system.
The new ebuilds now use CMake to build ROOT.
Package-Manager: Portage-2.3.24, Repoman-2.3.6
sci-physics/root/root-6.12.06-r1.ebuild | 5 -----
1 file changed, 5 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r1.ebuild b/sci-physics/root/root-6.12.06-r1.ebuild
index 1c75f07e2f9..75d553a6be1 100644
--- a/sci-physics/root/root-6.12.06-r1.ebuild
+++ b/sci-physics/root/root-6.12.06-r1.ebuild
@@ -107,11 +107,6 @@ RDEPEND="${CDEPEND}
xinetd? ( sys-apps/xinetd )"
PATCHES=(
- "${FILESDIR}"/${PN}-5.28.00b-glibc212.patch
- "${FILESDIR}"/${PN}-5.32.00-afs.patch
- "${FILESDIR}"/${PN}-5.32.00-cfitsio.patch
- "${FILESDIR}"/${PN}-5.32.00-chklib64.patch
- "${FILESDIR}"/${PN}-6.00.01-dotfont.patch
"${FILESDIR}"/${PN}-6.11.02-hsimple.patch
"${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
"${FILESDIR}"/${PN}-6.12.04-no-opengl.patch
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-03-22 14:24 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-03-22 14:24 UTC (permalink / raw
To: gentoo-commits
commit: c645ba3963bd25e0c6d01225dcaa855966387459
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 22 13:08:32 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Mar 22 14:23:37 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c645ba39
sci-physics/root: disable all builtins by force, update CMake options
Package-Manager: Portage-2.3.24, Repoman-2.3.6
sci-physics/root/root-6.12.06-r1.ebuild | 134 +++++++++++++++++---------------
1 file changed, 73 insertions(+), 61 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r1.ebuild b/sci-physics/root/root-6.12.06-r1.ebuild
index 75d553a6be1..03a1a841308 100644
--- a/sci-physics/root/root-6.12.06-r1.ebuild
+++ b/sci-physics/root/root-6.12.06-r1.ebuild
@@ -163,88 +163,100 @@ src_configure() {
-Dbuiltin_fftw3=OFF
-Dbuiltin_freetype=OFF
-Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
-Dbuiltin_glew=OFF
-Dbuiltin_gsl=OFF
-Dbuiltin_lz4=OFF
-Dbuiltin_lzma=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_zlib=OFF
-Dx11=$(usex X)
-Dxft=$(usex X)
- # -Dafs=$(usex afs) # option not implemented
+ -Dafdsmgrd=OFF
+ -Dafs=OFF # option not implemented
+ -Dalien=OFF
-Dasimage=$(usex asimage)
-Dastiff=$(usex tiff)
-Dbonjour=$(usex avahi)
- -Dlibcxx=$(usex libcxx) # default OFF
-Dccache=OFF # use ccache via portage
- -Dcastor=OFF # default ON
- -Dchirp=OFF # default ON
- # -Dcling=$(usex cling) # default ON
- -Dcocoa=$(usex aqua) # default *
- -Dcxx14=$(usex root7) # default OFF
- -Ddavix=$(usex davix) # default *
- -Ddcache=OFF # $(usex dcache) # default ON
- -Dfftw3=$(usex fftw) # default ON
- -Dfitsio=$(usex fits) # default ON
- -Dfortran=$(usex fortran) # default *
- -Dgdml=$(usex gdml) # default *
+ -Dcastor=OFF
+ -Dchirp=OFF
+ # -Dcling=ON # cling=OFF is broken
+ -Dcocoa=$(usex aqua)
+ -Dcxx14=$(usex root7)
+ # -Dcxxmodules=OFF # use clang C++ modules
+ -Ddavix=$(usex davix)
+ -Ddcache=OFF # not in Gentoo
+ -Dfftw3=$(usex fftw)
+ -Dfitsio=$(usex fits)
+ -Dfortran=$(usex fortran)
+ -Dftgl=$(usex opengl)
+ -Dgdml=$(usex gdml)
+ -Dgl2ps=$(usex opengl)
-Dgeocad=OFF # default OFF
-Dgenvector=$(usex math) # default ON
- -Dgfal=OFF # $(usex gfal) # default ON
- -Dglite=OFF #$(usex glite) # default ON (unimplemented option)
- -Dglobus=OFF #$(usex globus) # default OFF
- -Dgminimal=OFF # default OFF
- -Dgnuinstall=OFF # default OFF
- -Dgsl_shared=$(usex gsl) # default OFF
- -Dgviz=$(usex graphviz) # default ON
- -Dhdfs=OFF # $(usex hdfs) # default ON
- -Dhttp=$(usex http) # default *
- -Dimt=$(usex tbb) # default OFF
- -Djemalloc=$(usex jemalloc) # default OFF
- -Dkrb5=$(usex kerberos) # default ON
- -Dldap=$(usex ldap) # default ON
- -Dmathmore=$(usex math) # default ON
- -Dmemstat=$(usex memstat) # default *
+ -Dgfal=OFF # not in Gentoo
+ -Dglite=OFF # option not implemented
+ -Dglobus=OFF
+ -Dgminimal=OFF
+ -Dgnuinstall=OFF
+ -Dgsl_shared=$(usex gsl)
+ -Dgviz=$(usex graphviz)
+ -Dhdfs=OFF # deps not in Gentoo
+ -Dhttp=$(usex http)
+ -Dimt=$(usex tbb)
+ -Djemalloc=$(usex jemalloc)
+ -Dkrb5=$(usex kerberos)
+ -Dldap=$(usex ldap)
+ -Dlibcxx=$(usex libcxx)
+ -Dmathmore=$(usex math)
+ -Dmemstat=$(usex memstat)
#-Dminimal=$(usex minimal) # default OFF
-Dminuit=$(usex minuit)
- -Dminuit2=$(usex minuit) # default * (broken)
- -Dmonalisa=OFF # default ON
- -Dmysql=$(usex mysql) # default ON
- -Dodbc=$(usex odbc) # default ON
- -Dopengl=$(usex opengl) # default ON
- -Doracle=$(usex oracle) # default ON
- -Dpgsql=$(usex postgres) # default ON
- -Dpythia6=$(usex pythia6) # default ON
- -Dpythia8=$(usex pythia8) # default ON
- -Dpython=$(usex python) # default ON
- -Dqt=$(usex qt4) # default Qt
- -Dqtgsi=$(usex qt4) # default *
- -Droofit=$(usex roofit) # default *
- -Droot7=$(usex root7) # default OFF
- -Droottest=OFF # default OFF
- -Druby=OFF # default OFF
- -Dr=$(usex R) # default OFF
- -Drfio=OFF # default ON
- -Drpath=$(usex prefix) # default OFF
- -Dsapdb=OFF # default ON
- -Dshadowpw=$(usex shadow) # default ON
- -Dsqlite=$(usex sqlite) # default ON
- -Dsrp=OFF # default ON (unimplemented option)
- -Dssl=$(usex ssl) # default ON
- -Dtbb=$(usex tbb) # default OFF
- -Dtable=$(usex table) # default *
- -Dtcmalloc=OFF # $(usex tcmalloc) # default OFF
- -Dtesting=$(usex test) # default OFF
- -Dthread=$(usex threads) # default ON
- -Dtmva=$(usex tmva) # default ON
- -Dunuran=$(usex unuran) # default *
- -Dvc=$(usex vc) # default *
- -Dvdt=OFF # $(usex math) # default ON
+ -Dminuit2=$(usex minuit)
+ -Dmonalisa=OFF # not in Gentoo
+ -Dmysql=$(usex mysql)
+ -Dodbc=$(usex odbc)
+ -Dopengl=$(usex opengl)
+ -Doracle=$(usex oracle)
+ # -Dpch=$(usex pch) # needs cling
+ -Dpgsql=$(usex postgres)
+ -Dpythia6=$(usex pythia6)
+ -Dpythia8=$(usex pythia8)
+ -Dpython=$(usex python)
+ -Dqt=$(usex qt4)
+ -Dqtgsi=$(usex qt4)
+ -Dr=$(usex R) # requires Rcpp and RInside
+ -Drfio=OFF
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7) # requires C++14
+ -Droottest=OFF # requires network
+ -Drpath=$(usex prefix)
+ -Druby=OFF # unmantained upstream
+ # -Druntime_cxxmodules=OFF # use clang C++ modules
+ -Dsapdb=OFF # option not implemented
+ -Dshadowpw=$(usex shadow)
+ -Dsqlite=$(usex sqlite)
+ -Dsrp=OFF # option not implemented
+ -Dssl=$(usex ssl)
+ -Dtable=$(usex table)
+ -Dtbb=$(usex tbb)
+ -Dtcmalloc=OFF
+ -Dtesting=$(usex test)
+ -Dthread=$(usex threads)
+ -Dtmva=$(usex tmva)
+ -Dunuran=$(usex unuran)
+ -Dvc=$(usex vc)
+ -Dvdt=OFF # not in Gentoo
+ # -Dveccore=OFF # not in Gentoo
-Dxml=$(usex xml) # default ON
-Dxrootd=$(usex xrootd) # default ON
${EXTRA_ECONF}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-04-12 15:50 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-04-12 15:50 UTC (permalink / raw
To: gentoo-commits
commit: bad9f20be20140470cc6f3a5efd4baec22230ab4
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 12 15:49:31 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Apr 12 15:49:49 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bad9f20b
sci-physics/root: fix bug 652954
C_INCLUDE_DIRS+DEFAULT_SYSROOT lead to double prefix in include dirs.
Closes: https://bugs.gentoo.org/652954
Package-Manager: Portage-2.3.28, Repoman-2.3.9
sci-physics/root/root-6.12.06-r1.ebuild | 2 --
1 file changed, 2 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r1.ebuild b/sci-physics/root/root-6.12.06-r1.ebuild
index 03a1a841308..ab9b95a0ad4 100644
--- a/sci-physics/root/root-6.12.06-r1.ebuild
+++ b/sci-physics/root/root-6.12.06-r1.ebuild
@@ -149,8 +149,6 @@ src_configure() {
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-DCMAKE_INSTALL_PREFIX="${EPREFIX}/${MY_PREFIX}"
-DDEFAULT_SYSROOT="${EPREFIX}"
- -DGCC_INSTALL_PREFIX="${EPREFIX}/usr"
- -DC_INCLUDE_DIRS="${EPREFIX}/usr/local/include:${EPREFIX}/include:${EPREFIX}/usr/include"
-Dexplicitlink=ON
-Dexceptions=ON
-Dfail-on-missing=ON
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-07-05 11:15 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-07-05 11:15 UTC (permalink / raw
To: gentoo-commits
commit: 07b894710cc425e03d54562c56eab0731d333dc1
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 5 09:10:07 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Jul 5 11:04:59 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07b89471
sci-physics/root: add live ebuild
Package-Manager: Portage-2.3.41, Repoman-2.3.9
sci-physics/root/root-9999.ebuild | 324 ++++++++++++++++++++++++++++++++++++++
1 file changed, 324 insertions(+)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
new file mode 100644
index 00000000000..5b56c0cea83
--- /dev/null
+++ b/sci-physics/root/root-9999.ebuild
@@ -0,0 +1,324 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CMAKE_BUILD_TYPE=Release
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit cmake-utils eapi7-ver elisp-common eutils fortran-2 \
+ prefix python-single-r1 toolchain-funcs
+
+if [[ ${PV} == "9999" ]] ; then
+ inherit git-r3
+ KEYWORDS=""
+ EGIT_REPO_URI="http://root.cern/git/root.git"
+ SLOT=0
+else
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+ SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+fi
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+
+IUSE="+X avahi aqua +asimage +davix emacs +examples fits fftw fortran
+ +gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
+ +minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
+ +python qt4 qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
+ +threads +tiff +tmva +unuran vc xinetd +xml xrootd"
+
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+
+REQUIRED_USE="
+ !X? ( !asimage !opengl !qt4 !qt5 !tiff )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ tmva? ( gsl )
+ davix? ( ssl xml )
+"
+
+CDEPEND="
+ app-arch/lz4
+ app-arch/xz-utils
+ fortran? ( dev-lang/cfortran )
+ dev-libs/libpcre:3=
+ dev-libs/xxhash
+ media-fonts/dejavu
+ media-libs/freetype:2=
+ media-libs/libpng:0=
+ sys-devel/llvm:5=
+ 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=
+ )
+ qt4? (
+ dev-qt/qtcore:4=
+ dev-qt/qtgui:4=
+ )
+ qt5? (
+ dev-qt/qtcore:5=
+ dev-qt/qtgui:5=
+ dev-qt/qtwebengine:5=
+ )
+ )
+ asimage? ( || (
+ media-libs/libafterimage[gif,jpeg,png,tiff?]
+ >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
+ ) )
+ avahi? ( net-dns/avahi[mdnsresponder-compat] )
+ davix? ( net-libs/davix )
+ emacs? ( virtual/emacs )
+ fftw? ( sci-libs/fftw:3.0= )
+ fits? ( sci-libs/cfitsio:0= )
+ graphviz? ( media-gfx/graphviz:0= )
+ gsl? ( sci-libs/gsl )
+ http? ( dev-libs/fcgi:0= )
+ jemalloc? ( dev-libs/jemalloc )
+ kerberos? ( virtual/krb5 )
+ ldap? ( net-nds/openldap:0= )
+ libcxx? ( sys-libs/libcxx )
+ unuran? ( sci-mathematics/unuran:0= )
+ minuit? ( !sci-libs/minuit )
+ mysql? ( virtual/mysql )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ postgres? ( dev-db/postgresql:= )
+ pythia6? ( sci-physics/pythia:6= )
+ pythia8? ( sci-physics/pythia:8= )
+ python? ( ${PYTHON_DEPS} )
+ R? ( dev-lang/R )
+ shadow? ( virtual/shadow )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? ( dev-libs/openssl:0= )
+ tbb? ( dev-cpp/tbb )
+ vc? ( dev-libs/vc )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}
+ xinetd? ( sys-apps/xinetd )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
+ "${FILESDIR}"/${PN}-6.13.02-hsimple.patch
+)
+
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
+ use python && python-single-r1_pkg_setup
+
+ echo
+ elog "There are extra options on packages not yet in Gentoo:"
+ elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
+ elog "HDFS, Monalisa, MaxDB/SapDB, SRP, VecCore."
+ elog "You can use the env variable EXTRA_ECONF variable for this."
+ elog "For example, for Chirp, you would set: "
+ elog "EXTRA_ECONF=\"-Dchirp=ON\""
+ echo
+}
+
+src_prepare() {
+ cmake-utils_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"
+}
+
+# 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 small files into /etc (~100MB in total),
+# we install it into another directory to avoid making /etc too big.
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_C_FLAGS="${CFLAGS}"
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)"
+ -DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/share/man"
+ -DMCAKE_INSTALL_LIBDIR=$(get_libdir)
+ -DDEFAULT_SYSROOT="${EPREFIX}"
+ -DLLVM_CONFIG="${EPREFIX%/}/usr/lib/llvm/5/bin/llvm-config"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dexplicitlink=ON
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=OFF
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=OFF
+ -Dbuiltin_lz4=OFF
+ -Dbuiltin_lzma=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_zlib=OFF
+ -Dx11=$(usex X)
+ -Dxft=$(usex X)
+ -Dafdsmgrd=OFF
+ -Dafs=OFF # not implemented
+ -Dalien=OFF
+ -Dasimage=$(usex asimage)
+ -Dastiff=$(usex tiff)
+ -Dbonjour=$(usex avahi)
+ -Dlibcxx=$(usex libcxx)
+ -Dccache=OFF # use ccache via portage
+ -Dcastor=OFF
+ -Dchirp=OFF
+ -Dcling=ON # cling=OFF is broken
+ -Dcocoa=$(usex aqua)
+ -Dcxx14=$(usex root7)
+ -Dcxxmodules=OFF # requires clang, unstable
+ -Ddavix=$(usex davix)
+ -Ddcache=OFF
+ -Dfftw3=$(usex fftw)
+ -Dfitsio=$(usex fits)
+ -Dfortran=$(usex fortran)
+ -Dftgl=$(usex opengl)
+ -Dgdml=$(usex gdml)
+ -Dgenvector=ON # genvector=OFF ignored
+ -Dgeocad=OFF
+ -Dgfal=OFF
+ -Dgl2ps=$(usex opengl)
+ -Dglite=OFF # not implemented
+ -Dglobus=OFF
+ -Dgminimal=OFF
+ -Dgnuinstall=OFF
+ -Dgsl_shared=$(usex gsl)
+ -Dgviz=$(usex graphviz)
+ -Dhdfs=OFF
+ -Dhttp=$(usex http)
+ -Dimt=$(usex tbb)
+ -Djemalloc=$(usex jemalloc)
+ -Dkrb5=$(usex kerberos)
+ -Dldap=$(usex ldap)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=$(usex memstat)
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(usex minuit)
+ -Dmonalisa=OFF
+ -Dmysql=$(usex mysql)
+ -Dodbc=$(usex odbc)
+ -Dopengl=$(usex opengl)
+ -Doracle=$(usex oracle)
+ -Dpch=ON # pch=OFF is broken
+ -Dpgsql=$(usex postgres)
+ -Dpythia6=$(usex pythia6)
+ -Dpythia8=$(usex pythia8)
+ -Dpython=$(usex python)
+ -Dqt5web=$(usex qt5)
+ -Dqtgsi=$(usex qt4)
+ -Dqt=$(usex qt4)
+ -Drfio=OFF
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=$(usex test)
+ -Drpath=ON # needed for multi-slot to work
+ -Druby=OFF # deprecated and broken
+ -Druntime_cxxmodules=OFF # does not work yet
+ -Dr=$(usex R)
+ -Dsapdb=OFF # not implemented
+ -Dshadowpw=$(usex shadow)
+ -Dsqlite=$(usex sqlite)
+ -Dsrp=OFF # not implemented
+ -Dssl=$(usex ssl)
+ -Dtable=$(usex table)
+ -Dtbb=$(usex tbb)
+ -Dtcmalloc=OFF
+ -Dtesting=$(usex test)
+ -Dthread=$(usex threads)
+ -Dtmva-cpu=$(usex tmva)
+ -Dtmva-gpu=OFF
+ -Dtmva=$(usex tmva)
+ -Dunuran=$(usex unuran)
+ -Dvc=$(usex vc)
+ -Dvdt=OFF
+ -Dveccore=OFF
+ -Dxml=$(usex xml)
+ -Dxrootd=$(usex xrootd)
+ ${EXTRA_ECONF}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ ROOTSYS=${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)
+ ROOTENV=9999${PN}-$(ver_cut 1-2)
+
+ # ROOT fails without this symlink because it only looks in lib
+ if [[ ! -d ${D}/${ROOTSYS}/lib ]]; then
+ dosym $(get_libdir) /usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/lib
+ fi
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/$(get_libdir)"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=${ROOTSYS}/$(get_libdir)" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ if ! use gdml; then
+ rm -r geom || die
+ fi
+
+ if ! use examples; then
+ rm -r test tutorials || die
+ fi
+
+ if use tmva; then
+ rm -r tmva || die
+ fi
+
+ # clean up unnecessary files from installation
+ rm -r bin/clang* config emacs etc/vmc fonts || die
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-07-05 11:15 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-07-05 11:15 UTC (permalink / raw
To: gentoo-commits
commit: f7ffe67108dfa92834835b0fb61a03411dcdd963
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 5 08:40:31 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Jul 5 11:04:57 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7ffe671
sci-physics/root: revision bump
- Use eapi7-ver instead of versionator
- Update USE flags, add Qt5 support for new graphics
- Move installation from /opt/root to /usr/lib/root
- Drop installation of obsolete init scritps
- Preparation for multi-slot support
Package-Manager: Portage-2.3.41, Repoman-2.3.9
sci-physics/root/root-6.12.06-r3.ebuild | 313 ++++++++++++++++++++++++++++++++
1 file changed, 313 insertions(+)
diff --git a/sci-physics/root/root-6.12.06-r3.ebuild b/sci-physics/root/root-6.12.06-r3.ebuild
new file mode 100644
index 00000000000..8d281139227
--- /dev/null
+++ b/sci-physics/root/root-6.12.06-r3.ebuild
@@ -0,0 +1,313 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CMAKE_BUILD_TYPE=Release
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit cmake-utils eapi7-ver elisp-common eutils fortran-2 \
+ prefix python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+
+IUSE="+X avahi aqua +asimage +davix emacs +examples fits fftw fortran
+ +gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
+ +minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
+ +python qt4 qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
+ +threads +tiff +tmva +unuran vc xinetd +xml xrootd"
+
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="
+ !X? ( !asimage !opengl !qt4 !qt5 !tiff )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ tmva? ( gsl )
+ davix? ( ssl xml )
+"
+
+CDEPEND="
+ app-arch/lz4
+ app-arch/xz-utils
+ fortran? ( dev-lang/cfortran )
+ dev-libs/libpcre:3=
+ dev-libs/xxhash
+ media-fonts/dejavu
+ media-libs/freetype:2=
+ media-libs/libpng:0=
+ 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=
+ )
+ qt4? (
+ dev-qt/qtcore:4=
+ dev-qt/qtgui:4=
+ )
+ qt5? (
+ dev-qt/qtcore:5=
+ dev-qt/qtgui:5=
+ dev-qt/qtwebengine:5=
+ )
+ )
+ asimage? ( || (
+ media-libs/libafterimage[gif,jpeg,png,tiff?]
+ >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
+ ) )
+ avahi? ( net-dns/avahi[mdnsresponder-compat] )
+ davix? ( net-libs/davix )
+ emacs? ( virtual/emacs )
+ fftw? ( sci-libs/fftw:3.0= )
+ fits? ( sci-libs/cfitsio:0= )
+ graphviz? ( media-gfx/graphviz:0= )
+ gsl? ( sci-libs/gsl )
+ http? ( dev-libs/fcgi:0= )
+ jemalloc? ( dev-libs/jemalloc )
+ kerberos? ( virtual/krb5 )
+ ldap? ( net-nds/openldap:0= )
+ libcxx? ( sys-libs/libcxx )
+ unuran? ( sci-mathematics/unuran:0= )
+ minuit? ( !sci-libs/minuit )
+ mysql? ( virtual/mysql )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ postgres? ( dev-db/postgresql:= )
+ pythia6? ( sci-physics/pythia:6= )
+ pythia8? ( sci-physics/pythia:8= )
+ python? ( ${PYTHON_DEPS} )
+ R? ( dev-lang/R )
+ shadow? ( virtual/shadow )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? ( dev-libs/openssl:0= )
+ tbb? ( dev-cpp/tbb )
+ vc? ( dev-libs/vc )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}
+ xinetd? ( sys-apps/xinetd )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.11.02-hsimple.patch
+ "${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
+ "${FILESDIR}"/${PN}-6.12.04-no-opengl.patch
+ "${FILESDIR}"/${PN}-6.12.04-z3.patch
+)
+
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
+ use python && python-single-r1_pkg_setup
+
+ echo
+ elog "There are extra options on packages not yet in Gentoo:"
+ elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
+ elog "HDFS, Monalisa, MaxDB/SapDB, SRP, VecCore."
+ elog "You can use the env variable EXTRA_ECONF variable for this."
+ elog "For example, for Chirp, you would set: "
+ elog "EXTRA_ECONF=\"-Dchirp=ON\""
+ echo
+}
+
+src_prepare() {
+ cmake-utils_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"
+}
+
+# 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 small files into /etc (~100MB in total),
+# we install it into another directory to avoid making /etc too big.
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_C_FLAGS="${CFLAGS}"
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)"
+ -DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/share/man"
+ -DMCAKE_INSTALL_LIBDIR=$(get_libdir)
+ -DDEFAULT_SYSROOT="${EPREFIX}"
+ -Dexplicitlink=ON
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=ON
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=OFF
+ -Dbuiltin_lz4=OFF
+ -Dbuiltin_lzma=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_zlib=OFF
+ -Dx11=$(usex X)
+ -Dxft=$(usex X)
+ -Dafdsmgrd=OFF
+ -Dafs=OFF # not implemented
+ -Dalien=OFF
+ -Dasimage=$(usex asimage)
+ -Dastiff=$(usex tiff)
+ -Dbonjour=$(usex avahi)
+ -Dlibcxx=$(usex libcxx)
+ -Dccache=OFF # use ccache via portage
+ -Dcastor=OFF
+ -Dchirp=OFF
+ -Dcling=ON # cling=OFF is broken
+ -Dcocoa=$(usex aqua)
+ -Dcxx14=$(usex root7)
+ -Dcxxmodules=OFF # requires clang, unstable
+ -Ddavix=$(usex davix)
+ -Ddcache=OFF
+ -Dfftw3=$(usex fftw)
+ -Dfitsio=$(usex fits)
+ -Dfortran=$(usex fortran)
+ -Dftgl=$(usex opengl)
+ -Dgdml=$(usex gdml)
+ -Dgenvector=ON # genvector=OFF ignored
+ -Dgeocad=OFF
+ -Dgfal=OFF
+ -Dgl2ps=$(usex opengl)
+ -Dglite=OFF # not implemented
+ -Dglobus=OFF
+ -Dgminimal=OFF
+ -Dgnuinstall=OFF
+ -Dgsl_shared=$(usex gsl)
+ -Dgviz=$(usex graphviz)
+ -Dhdfs=OFF
+ -Dhttp=$(usex http)
+ -Dimt=$(usex tbb)
+ -Djemalloc=$(usex jemalloc)
+ -Dkrb5=$(usex kerberos)
+ -Dldap=$(usex ldap)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=$(usex memstat)
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(usex minuit)
+ -Dmonalisa=OFF
+ -Dmysql=$(usex mysql)
+ -Dodbc=$(usex odbc)
+ -Dopengl=$(usex opengl)
+ -Doracle=$(usex oracle)
+ -Dpch=ON # pch=OFF is broken
+ -Dpgsql=$(usex postgres)
+ -Dpythia6=$(usex pythia6)
+ -Dpythia8=$(usex pythia8)
+ -Dpython=$(usex python)
+ -Dqt5web=$(usex qt5)
+ -Dqtgsi=$(usex qt4)
+ -Dqt=$(usex qt4)
+ -Drfio=OFF
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=$(usex test)
+ -Drpath=ON # needed for multi-slot to work
+ -Druby=OFF # deprecated and broken
+ -Druntime_cxxmodules=OFF # does not work yet
+ -Dr=$(usex R)
+ -Dsapdb=OFF # not implemented
+ -Dshadowpw=$(usex shadow)
+ -Dsqlite=$(usex sqlite)
+ -Dsrp=OFF # not implemented
+ -Dssl=$(usex ssl)
+ -Dtable=$(usex table)
+ -Dtbb=$(usex tbb)
+ -Dtcmalloc=OFF
+ -Dtesting=$(usex test)
+ -Dthread=$(usex threads)
+ -Dtmva=$(usex tmva)
+ -Dunuran=$(usex unuran)
+ -Dvc=$(usex vc)
+ -Dvdt=OFF
+ -Dveccore=OFF
+ -Dxml=$(usex xml)
+ -Dxrootd=$(usex xrootd)
+ ${EXTRA_ECONF}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ ROOTSYS=${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)
+ ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
+
+ # ROOT fails without this symlink because it only looks in lib
+ if [[ ! -d ${D}/${ROOTSYS}/lib ]]; then
+ dosym $(get_libdir) /usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/lib
+ fi
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/$(get_libdir)"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=${ROOTSYS}/$(get_libdir)" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ if ! use gdml; then
+ rm -r geom || die
+ fi
+
+ if ! use examples; then
+ rm -r test tutorials || die
+ fi
+
+ if use tmva; then
+ rm -r tmva || die
+ fi
+
+ # clean up unnecessary files from installation
+ rm -r config emacs etc/vmc fonts || die
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-07-05 13:34 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-07-05 13:34 UTC (permalink / raw
To: gentoo-commits
commit: 6ba4809ee695f5370e66b6654e9915fabdcec775
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 5 13:24:42 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Jul 5 13:24:42 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ba4809e
sci-physics/root: add missing dependency on numpy with USE=tmva
Package-Manager: Portage-2.3.41, Repoman-2.3.9
sci-physics/root/root-6.12.06-r3.ebuild | 1 +
sci-physics/root/root-6.14.00.ebuild | 1 +
sci-physics/root/root-9999.ebuild | 1 +
3 files changed, 3 insertions(+)
diff --git a/sci-physics/root/root-6.12.06-r3.ebuild b/sci-physics/root/root-6.12.06-r3.ebuild
index 8d281139227..59f80613a0a 100644
--- a/sci-physics/root/root-6.12.06-r3.ebuild
+++ b/sci-physics/root/root-6.12.06-r3.ebuild
@@ -96,6 +96,7 @@ CDEPEND="
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
tbb? ( dev-cpp/tbb )
+ tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
vc? ( dev-libs/vc )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
diff --git a/sci-physics/root/root-6.14.00.ebuild b/sci-physics/root/root-6.14.00.ebuild
index d7fcd557dcc..5d633bb4e23 100644
--- a/sci-physics/root/root-6.14.00.ebuild
+++ b/sci-physics/root/root-6.14.00.ebuild
@@ -96,6 +96,7 @@ CDEPEND="
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
tbb? ( dev-cpp/tbb )
+ tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
vc? ( dev-libs/vc )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 5b56c0cea83..ee92ab58fa4 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -105,6 +105,7 @@ CDEPEND="
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
tbb? ( dev-cpp/tbb )
+ tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
vc? ( dev-libs/vc )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-07-06 9:28 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-07-06 9:28 UTC (permalink / raw
To: gentoo-commits
commit: e086ed2cf2fb64ff9c9a56cf9d1cbc8eb744e543
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 6 06:48:06 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Jul 6 09:27:29 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e086ed2c
sci-physics/root: keep fonts dir, bug 643562
Keep fonts directory until ROOT supports fontconfig.
Closes: https://bugs.gentoo.org/643562
Package-Manager: Portage-2.3.41, Repoman-2.3.9
sci-physics/root/{root-6.12.06-r3.ebuild => root-6.12.06-r4.ebuild} | 2 +-
sci-physics/root/{root-6.14.00.ebuild => root-6.14.00-r1.ebuild} | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r3.ebuild b/sci-physics/root/root-6.12.06-r4.ebuild
similarity index 99%
rename from sci-physics/root/root-6.12.06-r3.ebuild
rename to sci-physics/root/root-6.12.06-r4.ebuild
index 59f80613a0a..151a9f60739 100644
--- a/sci-physics/root/root-6.12.06-r3.ebuild
+++ b/sci-physics/root/root-6.12.06-r4.ebuild
@@ -310,5 +310,5 @@ src_install() {
fi
# clean up unnecessary files from installation
- rm -r config emacs etc/vmc fonts || die
+ rm -r config emacs etc/vmc || die
}
diff --git a/sci-physics/root/root-6.14.00.ebuild b/sci-physics/root/root-6.14.00-r1.ebuild
similarity index 99%
rename from sci-physics/root/root-6.14.00.ebuild
rename to sci-physics/root/root-6.14.00-r1.ebuild
index 5d633bb4e23..124bdd2658f 100644
--- a/sci-physics/root/root-6.14.00.ebuild
+++ b/sci-physics/root/root-6.14.00-r1.ebuild
@@ -312,5 +312,5 @@ src_install() {
fi
# clean up unnecessary files from installation
- rm -r config emacs etc/vmc fonts || die
+ rm -r config emacs etc/vmc || die
}
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index ee92ab58fa4..9231a3e5261 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -321,5 +321,5 @@ src_install() {
fi
# clean up unnecessary files from installation
- rm -r bin/clang* config emacs etc/vmc fonts || die
+ rm -r bin/clang* config emacs etc/vmc || die
}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-07-31 17:49 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-07-31 17:49 UTC (permalink / raw
To: gentoo-commits
commit: c6551549b4727c59ce82eff99eb2cf714a4964fb
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 31 17:27:00 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Jul 31 17:42:47 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6551549
sci-physics/root: version bump to 6.14/02
Package-Manager: Portage-2.3.44, Repoman-2.3.10
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.14.00-r1.ebuild => root-6.14.02.ebuild} | 5 ++---
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 4409b07a8de..2b73e555130 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff08cfa470e63be9a02b948a49ae088e8da72ce433a5071d9196bfd98f71e6861b1bda285354012620eee6c61cffcee71a0c8 SHA512 3d44749ccfc3d40a2f516ae53ef40fb244ed785eee0dbc18ff822bbb811a15b943039d30282ef5358a283d485e62531880c877ec77a86089503b06d6f37e42e1
-DIST root_v6.14.00.source.tar.gz 162436586 BLAKE2B 6047fe9fb898be9d4f00f2e6eb378d213996b49b9677f61ccc0250bb6d0801d8410850a39e0983534da2c6a307bd64b0ed6c03ab873a6c8b844500a96444a455 SHA512 2d4e754e3054018a53af28408b218bc52c0c60bea69a3c9e48f0d3feadbfebb559087fb453505b281fe01043f723e4b766cda8fca1e68dbf9e202c67d417e5b3
+DIST root_v6.14.02.source.tar.gz 162458882 BLAKE2B 70778819c6348f3fda9d7a224639da41f2a1522baec669e0cb88680f978fc64e98f87790d96b177e42ca5639e47f2646b94e65c112dd3b237bdd3dcfa9f6aeac SHA512 7117a74c622cc2d7d8b616abf8571444f6178c911dd768274af6def95e7cd7d1e39506a3b57f694fd4a687ad3bd1f6c68e64ff3eccdcd3236b0b59b08db6b934
diff --git a/sci-physics/root/root-6.14.00-r1.ebuild b/sci-physics/root/root-6.14.02.ebuild
similarity index 98%
rename from sci-physics/root/root-6.14.00-r1.ebuild
rename to sci-physics/root/root-6.14.02.ebuild
index 124bdd2658f..4d725bd70a5 100644
--- a/sci-physics/root/root-6.14.00-r1.ebuild
+++ b/sci-physics/root/root-6.14.02.ebuild
@@ -111,7 +111,6 @@ RDEPEND="${CDEPEND}
PATCHES=(
"${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
"${FILESDIR}"/${PN}-6.13.02-hsimple.patch
- "${FILESDIR}"/${PN}-6.14.00-http.patch
)
pkg_setup() {
@@ -154,6 +153,7 @@ src_configure() {
-Dexplicitlink=ON
-Dexceptions=ON
-Dfail-on-missing=ON
+ -Dgnuinstall=OFF
-Dshared=ON
-Dsoversion=ON
-Dbuiltin_llvm=ON
@@ -208,7 +208,6 @@ src_configure() {
-Dglite=OFF # not implemented
-Dglobus=OFF
-Dgminimal=OFF
- -Dgnuinstall=OFF
-Dgsl_shared=$(usex gsl)
-Dgviz=$(usex graphviz)
-Dhdfs=OFF
@@ -240,7 +239,7 @@ src_configure() {
-Droot7=$(usex root7)
-Drootbench=OFF
-Droottest=$(usex test)
- -Drpath=ON # needed for multi-slot to work
+ # -Drpath=ON # needed for multi-slot to work
-Druby=OFF # deprecated and broken
-Druntime_cxxmodules=OFF # does not work yet
-Dr=$(usex R)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-08-24 12:57 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-08-24 12:57 UTC (permalink / raw
To: gentoo-commits
commit: 9062efb79e0ac0461017d0040c2b7c3ab215c31d
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 24 12:33:02 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Aug 24 12:57:30 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9062efb7
sci-physics/root: revision bump for ROOT 6.12
Package-Manager: Portage-2.3.48, Repoman-2.3.10
sci-physics/root/{root-6.12.06-r4.ebuild => root-6.12.06-r5.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r4.ebuild b/sci-physics/root/root-6.12.06-r5.ebuild
similarity index 100%
rename from sci-physics/root/root-6.12.06-r4.ebuild
rename to sci-physics/root/root-6.12.06-r5.ebuild
^ permalink raw reply [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-08-24 12:57 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-08-24 12:57 UTC (permalink / raw
To: gentoo-commits
commit: 438c4ca001630f5965af1f7720535e38621a26bd
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 24 11:36:03 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Aug 24 12:57:26 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=438c4ca0
sci-physics/root: drop old version
Package-Manager: Portage-2.3.48, Repoman-2.3.10
sci-physics/root/metadata.xml | 1 -
sci-physics/root/root-6.12.06-r1.ebuild | 349 --------------------------------
2 files changed, 350 deletions(-)
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml
index da893cfc0e6..46ddf2da381 100644
--- a/sci-physics/root/metadata.xml
+++ b/sci-physics/root/metadata.xml
@@ -28,7 +28,6 @@
<flag name="http">Enable http server support including but not limited to fastcgi support</flag>
<flag name="jemalloc">Enable support for <pkg>dev-libs/jemalloc</pkg></flag>
<flag name="libcxx">Build ROOT against <pkg>sys-libs/libcxx</pkg></flag>
- <flag name="math">Build all math related libraries plugins, needs <pkg>sci-libs/gsl</pkg> </flag>
<flag name="memstat">Build memory statistics library, helps to detect memory leaks</flag>
<flag name="minuit">Build ROOT's internal versions of minuit (fortran) and minuit2 (C++)</flag>
<flag name="pythia6">Build the interface for <pkg>sci-physics/pythia</pkg> version 6.x </flag>
diff --git a/sci-physics/root/root-6.12.06-r1.ebuild b/sci-physics/root/root-6.12.06-r1.ebuild
deleted file mode 100644
index f3b7aeca416..00000000000
--- a/sci-physics/root/root-6.12.06-r1.ebuild
+++ /dev/null
@@ -1,349 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-CMAKE_BUILD_TYPE=Release
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-
-inherit cmake-utils elisp-common eutils fortran-2 gnome2-utils prefix \
- python-single-r1 toolchain-funcs user versionator xdg-utils
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-
-IUSE="+X avahi aqua +asimage +davix emacs +examples fits fftw fortran +gdml
- graphviz +gsl http jemalloc kerberos ldap libcxx +math memstat +minuit
- mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python qt4
- R +roofit root7 shadow sqlite ssl table +tbb test +threads +tiff +tmva
- +unuran vc xinetd +xml xrootd"
-
-MY_PV="$(get_version_component_range 1-2 ${PV})"
-MY_P="${PN}/$(get_version_component_range 1-2 ${PV})"
-MY_PREFIX=opt/${MY_P}
-
-SLOT="${MY_PV}/$(get_version_component_range 3 ${PV})"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="
- !X? ( !asimage !opengl !qt4 !tiff )
- python? ( ${PYTHON_REQUIRED_USE} )
- tmva? ( math gsl )
- davix? ( ssl )
-"
-
-CDEPEND="
- app-arch/lz4
- app-arch/xz-utils
- fortran? ( dev-lang/cfortran )
- dev-libs/libpcre:3=
- dev-libs/xxhash
- media-fonts/dejavu
- media-libs/freetype:2=
- media-libs/libpng:0=
- sys-libs/ncurses:=
- sys-libs/zlib:0=
- 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=
- )
- qt4? (
- dev-qt/qtcore:4=
- dev-qt/qtgui:4=
- opengl? ( dev-qt/qtopengl:4= )
- )
- )
- asimage? ( || (
- media-libs/libafterimage[gif,jpeg,png,tiff?]
- >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
- ) )
- avahi? ( net-dns/avahi[mdnsresponder-compat] )
- davix? ( net-libs/davix )
- fftw? ( sci-libs/fftw:3.0= )
- fits? ( sci-libs/cfitsio:0= )
- graphviz? ( media-gfx/graphviz:0= )
- gsl? ( sci-libs/gsl )
- http? ( dev-libs/fcgi:0= )
- jemalloc? ( dev-libs/jemalloc )
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap:0= )
- libcxx? ( sys-libs/libcxx )
- unuran? ( sci-mathematics/unuran:0= )
- minuit? ( !sci-libs/minuit )
- mysql? ( virtual/mysql )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
- oracle? ( dev-db/oracle-instantclient-basic )
- postgres? ( dev-db/postgresql:= )
- pythia6? ( sci-physics/pythia:6= )
- pythia8? ( sci-physics/pythia:8= )
- python? ( ${PYTHON_DEPS} )
- R? ( dev-lang/R )
- shadow? ( virtual/shadow )
- sqlite? ( dev-db/sqlite:3= )
- ssl? ( dev-libs/openssl:0= )
- tbb? ( dev-cpp/tbb )
- vc? ( dev-libs/vc )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}
- xinetd? ( sys-apps/xinetd )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.11.02-hsimple.patch
- "${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
- "${FILESDIR}"/${PN}-6.12.04-no-opengl.patch
- "${FILESDIR}"/${PN}-6.12.04-z3.patch
-)
-
-pkg_setup() {
- use fortran && fortran-2_pkg_setup
- use python && python-single-r1_pkg_setup
-
- echo
- elog "There are extra options on packages not yet in Gentoo:"
- elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
- elog "HDFS, Monalisa, MaxDB/SapDB, SRP, VecCore."
- elog "You can use the env variable EXTRA_ECONF variable for this."
- elog "For example, for Chirp, you would set: "
- elog "EXTRA_ECONF=\"-Dchirp=ON\""
- echo
-
- enewgroup rootd
- enewuser rootd -1 -1 /var/spool/rootd rootd
-}
-
-src_prepare() {
- cmake-utils_src_prepare
-
- hprefixify build/CMakeLists.txt core/clingutils/CMakeLists.txt
- eapply "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
-
- # CSS should use local images
- sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
-}
-
-# Note: ROOT uses bundled LLVM, because it is patched and API-incompatible with system LLVM.
-# Note: ROOT will install many compiler headers and other files into suboptimal places, so
-# we install it into /opt due to QA concerns over the files installed into <prefix>/etc
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_C_FLAGS="${CFLAGS}"
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -DCMAKE_INSTALL_PREFIX="${EPREFIX}/${MY_PREFIX}"
- -DDEFAULT_SYSROOT="${EPREFIX}"
- -Dexplicitlink=ON
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=OFF
- -Dbuiltin_lz4=OFF
- -Dbuiltin_lzma=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_zlib=OFF
- -Dx11=$(usex X)
- -Dxft=$(usex X)
- -Dafdsmgrd=OFF
- -Dafs=OFF # option not implemented
- -Dalien=OFF
- -Dasimage=$(usex asimage)
- -Dastiff=$(usex tiff)
- -Dbonjour=$(usex avahi)
- -Dccache=OFF # use ccache via portage
- -Dcastor=OFF
- -Dchirp=OFF
- # -Dcling=ON # cling=OFF is broken
- -Dcocoa=$(usex aqua)
- -Dcxx14=$(usex root7)
- # -Dcxxmodules=OFF # use clang C++ modules
- -Ddavix=$(usex davix)
- -Ddcache=OFF # not in Gentoo
- -Dfftw3=$(usex fftw)
- -Dfitsio=$(usex fits)
- -Dfortran=$(usex fortran)
- -Dftgl=$(usex opengl)
- -Dgdml=$(usex gdml)
- -Dgl2ps=$(usex opengl)
- -Dgeocad=OFF # default OFF
- -Dgenvector=$(usex math) # default ON
- -Dgfal=OFF # not in Gentoo
- -Dglite=OFF # option not implemented
- -Dglobus=OFF
- -Dgminimal=OFF
- -Dgnuinstall=OFF
- -Dgsl_shared=$(usex gsl)
- -Dgviz=$(usex graphviz)
- -Dhdfs=OFF # deps not in Gentoo
- -Dhttp=$(usex http)
- -Dimt=$(usex tbb)
- -Djemalloc=$(usex jemalloc)
- -Dkrb5=$(usex kerberos)
- -Dldap=$(usex ldap)
- -Dlibcxx=$(usex libcxx)
- -Dmathmore=$(usex math)
- -Dmemstat=$(usex memstat)
- #-Dminimal=$(usex minimal) # default OFF
- -Dminuit=$(usex minuit)
- -Dminuit2=$(usex minuit)
- -Dmonalisa=OFF # not in Gentoo
- -Dmysql=$(usex mysql)
- -Dodbc=$(usex odbc)
- -Dopengl=$(usex opengl)
- -Doracle=$(usex oracle)
- # -Dpch=$(usex pch) # needs cling
- -Dpgsql=$(usex postgres)
- -Dpythia6=$(usex pythia6)
- -Dpythia8=$(usex pythia8)
- -Dpython=$(usex python)
- -Dqt=$(usex qt4)
- -Dqtgsi=$(usex qt4)
- -Dr=$(usex R) # requires Rcpp and RInside
- -Drfio=OFF
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7) # requires C++14
- -Droottest=OFF # requires network
- -Drpath=$(usex prefix)
- -Druby=OFF # unmantained upstream
- # -Druntime_cxxmodules=OFF # use clang C++ modules
- -Dsapdb=OFF # option not implemented
- -Dshadowpw=$(usex shadow)
- -Dsqlite=$(usex sqlite)
- -Dsrp=OFF # option not implemented
- -Dssl=$(usex ssl)
- -Dtable=$(usex table)
- -Dtbb=$(usex tbb)
- -Dtcmalloc=OFF
- -Dtesting=$(usex test)
- -Dthread=$(usex threads)
- -Dtmva=$(usex tmva)
- -Dunuran=$(usex unuran)
- -Dvc=$(usex vc)
- -Dvdt=OFF # not in Gentoo
- # -Dveccore=OFF # not in Gentoo
- -Dxml=$(usex xml) # default ON
- -Dxrootd=$(usex xrootd) # default ON
- ${EXTRA_ECONF}
- )
-
- cmake-utils_src_configure
-}
-
-daemon_install() {
- local daemons="rootd proofd"
- dodir /var/spool/rootd
- fowners rootd:rootd /var/spool/rootd
- dodir /var/spool/rootd/{pub,tmp}
- fperms 1777 /var/spool/rootd/{pub,tmp}
- keepdir /var/spool/rootd/{pub,tmp}
-
- local i
- for i in ${daemons}; do
- newinitd "${FILESDIR}"/${i}.initd ${i}
- newconfd "${FILESDIR}"/${i}.confd ${i}
- done
- if use xinetd; then
- insinto /etc/xinetd
- doins "${BUILD_DIR}"/etc/daemons/{rootd,proofd}.xinetd
- fi
-}
-
-desktop_install() {
- pushd "${S}" > /dev/null
- echo "Icon=root-system-bin" >> etc/root.desktop
- domenu etc/root.desktop
- doicon build/package/debian/root-system-bin.png
-
- insinto /usr/share/icons/hicolor/48x48/mimetypes
- doins build/package/debian/application-x-root.png
-
- insinto /usr/share/icons/hicolor/48x48/apps
- doicon build/package/debian/root-system-bin.xpm
-}
-
-src_install() {
- cmake-utils_src_install
-
- # root fails without this symlink, because it looks only into lib
- [[ -d lib ]] || dosym $(get_libdir) /${MY_PREFIX}/lib
-
- use emacs && elisp-install ${PN} "${BUILD_DIR}"/root-help.el
-
- echo "PATH=${EPREFIX}/${MY_PREFIX}/bin" > 99root || die
- echo "ROOTPATH=${EPREFIX}/${MY_PREFIX}/bin" >> 99root || die
- echo "LDPATH=${EPREFIX}/${MY_PREFIX}/$(get_libdir)" >> 99root || die
-
- if use pythia8; then
- echo "PYTHIA8=${EPREFIX}/usr" >> 99root || die
- fi
-
- if use python; then
- echo "PYTHONPATH=${EPREFIX}/${MY_PREFIX}/lib" >> 99root
- python_optimize "${ED}/${MY_PREFIX}/lib"
- fi
-
- doenvd 99root
-
- daemon_install
- desktop_install
-
- pushd "${ED}" > /dev/null
- rm -r ${MY_PREFIX}/{config,emacs,etc/vmc,fonts} || die
-
- if ! use examples; then
- rm -r ${MY_PREFIX}/{test,tutorials} || die
- fi
-
- if use tmva; then
- rm -r ${MY_PREFIX}/tmva || die
- fi
-
- # do not copress files used by ROOT's CLI (.credit, .demo, .license)
- docompress -x "${MY_PREFIX}/README/CREDITS"
- use examples && docompress -x "${MY_PREFIX}/tutorials"
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- gnome2_icon_cache_update
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-08-24 12:57 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-08-24 12:57 UTC (permalink / raw
To: gentoo-commits
commit: 4b42c99db172146da240cb8588ef046702eca5c8
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 24 12:06:42 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Aug 24 12:57:27 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b42c99d
sci-physics/root: drop support for Qt4
Support for Qt4 is deprecated upstream,
and Qt4 is no longer in the main tree.
Bug: https://bugs.gentoo.org/620754
Package-Manager: Portage-2.3.48, Repoman-2.3.10
sci-physics/root/root-6.12.06-r4.ebuild | 12 ++++--------
sci-physics/root/root-6.14.02.ebuild | 12 ++++--------
sci-physics/root/root-9999.ebuild | 12 ++++--------
3 files changed, 12 insertions(+), 24 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r4.ebuild b/sci-physics/root/root-6.12.06-r4.ebuild
index 151a9f60739..71738a81dbc 100644
--- a/sci-physics/root/root-6.12.06-r4.ebuild
+++ b/sci-physics/root/root-6.12.06-r4.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
IUSE="+X avahi aqua +asimage +davix emacs +examples fits fftw fortran
+gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
+minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
- +python qt4 qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
+ +python qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
+threads +tiff +tmva +unuran vc xinetd +xml xrootd"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
@@ -27,7 +27,7 @@ LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
KEYWORDS="~amd64 ~x86"
REQUIRED_USE="
- !X? ( !asimage !opengl !qt4 !qt5 !tiff )
+ !X? ( !asimage !opengl !qt5 !tiff )
python? ( ${PYTHON_REQUIRED_USE} )
tmva? ( gsl )
davix? ( ssl xml )
@@ -56,10 +56,6 @@ CDEPEND="
virtual/glu
x11-libs/gl2ps:0=
)
- qt4? (
- dev-qt/qtcore:4=
- dev-qt/qtgui:4=
- )
qt5? (
dev-qt/qtcore:5=
dev-qt/qtgui:5=
@@ -233,8 +229,8 @@ src_configure() {
-Dpythia8=$(usex pythia8)
-Dpython=$(usex python)
-Dqt5web=$(usex qt5)
- -Dqtgsi=$(usex qt4)
- -Dqt=$(usex qt4)
+ -Dqtgsi=OFF
+ -Dqt=OFF
-Drfio=OFF
-Droofit=$(usex roofit)
-Droot7=$(usex root7)
diff --git a/sci-physics/root/root-6.14.02.ebuild b/sci-physics/root/root-6.14.02.ebuild
index 4d725bd70a5..7397f23d0d2 100644
--- a/sci-physics/root/root-6.14.02.ebuild
+++ b/sci-physics/root/root-6.14.02.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
IUSE="+X avahi aqua +asimage +davix emacs +examples fits fftw fortran
+gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
+minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
- +python qt4 qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
+ +python qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
+threads +tiff +tmva +unuran vc xinetd +xml xrootd"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
@@ -27,7 +27,7 @@ LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
KEYWORDS="~amd64 ~x86"
REQUIRED_USE="
- !X? ( !asimage !opengl !qt4 !qt5 !tiff )
+ !X? ( !asimage !opengl !qt5 !tiff )
python? ( ${PYTHON_REQUIRED_USE} )
tmva? ( gsl )
davix? ( ssl xml )
@@ -56,10 +56,6 @@ CDEPEND="
virtual/glu
x11-libs/gl2ps:0=
)
- qt4? (
- dev-qt/qtcore:4=
- dev-qt/qtgui:4=
- )
qt5? (
dev-qt/qtcore:5=
dev-qt/qtgui:5=
@@ -232,8 +228,8 @@ src_configure() {
-Dpythia8=$(usex pythia8)
-Dpython=$(usex python)
-Dqt5web=$(usex qt5)
- -Dqtgsi=$(usex qt4)
- -Dqt=$(usex qt4)
+ -Dqtgsi=OFF
+ -Dqt=OFF
-Drfio=OFF
-Droofit=$(usex roofit)
-Droot7=$(usex root7)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 9231a3e5261..1c079990b6c 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -29,13 +29,13 @@ HOMEPAGE="https://root.cern"
IUSE="+X avahi aqua +asimage +davix emacs +examples fits fftw fortran
+gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
+minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
- +python qt4 qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
+ +python qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
+threads +tiff +tmva +unuran vc xinetd +xml xrootd"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
REQUIRED_USE="
- !X? ( !asimage !opengl !qt4 !qt5 !tiff )
+ !X? ( !asimage !opengl !qt5 !tiff )
python? ( ${PYTHON_REQUIRED_USE} )
tmva? ( gsl )
davix? ( ssl xml )
@@ -65,10 +65,6 @@ CDEPEND="
virtual/glu
x11-libs/gl2ps:0=
)
- qt4? (
- dev-qt/qtcore:4=
- dev-qt/qtgui:4=
- )
qt5? (
dev-qt/qtcore:5=
dev-qt/qtgui:5=
@@ -242,8 +238,8 @@ src_configure() {
-Dpythia8=$(usex pythia8)
-Dpython=$(usex python)
-Dqt5web=$(usex qt5)
- -Dqtgsi=$(usex qt4)
- -Dqt=$(usex qt4)
+ -Dqtgsi=OFF
+ -Dqt=OFF
-Drfio=OFF
-Droofit=$(usex roofit)
-Droot7=$(usex root7)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-08-24 12:57 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-08-24 12:57 UTC (permalink / raw
To: gentoo-commits
commit: cccdcc6be767853b136dc5e2cbda15e170d030e6
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 24 12:29:11 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Aug 24 12:57:29 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cccdcc6b
sci-physics/root: enable support for nVidia CUDA
Package-Manager: Portage-2.3.48, Repoman-2.3.10
sci-physics/root/metadata.xml | 1 +
sci-physics/root/root-6.14.02.ebuild | 10 ++++++----
sci-physics/root/root-9999.ebuild | 10 ++++++----
3 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml
index 46ddf2da381..baf90a1a37b 100644
--- a/sci-physics/root/metadata.xml
+++ b/sci-physics/root/metadata.xml
@@ -21,6 +21,7 @@
</longdescription>
<use>
<flag name="asimage">Enable support for <pkg>media-libs/libafterimage</pkg></flag>
+ <flag name="cuda">Enable support for nVidia CUDA</flag>
<flag name="davix">Enable support for DAVIX Data Management Client (https://cern.ch/davix)</flag>
<flag name="fits">Enable support for images and data from FITS files with <pkg>sci-libs/cfitsio</pkg></flag>
<flag name="fortran">Compile included Fortran programs</flag>
diff --git a/sci-physics/root/root-6.14.02.ebuild b/sci-physics/root/root-6.14.02.ebuild
index da5c9512498..24d19074d97 100644
--- a/sci-physics/root/root-6.14.02.ebuild
+++ b/sci-physics/root/root-6.14.02.ebuild
@@ -9,14 +9,14 @@ CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-inherit cmake-utils eapi7-ver elisp-common eutils fortran-2 \
+inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-IUSE="+X avahi aqua +asimage +davix emacs +examples fits fftw fortran
+IUSE="+X avahi aqua +asimage cuda +davix emacs +examples fits fftw fortran
+gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
+minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
+python qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
@@ -68,6 +68,7 @@ CDEPEND="
>=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
) )
avahi? ( net-dns/avahi[mdnsresponder-compat] )
+ cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
davix? ( net-libs/davix )
emacs? ( virtual/emacs )
fftw? ( sci-libs/fftw:3.0= )
@@ -189,6 +190,7 @@ src_configure() {
-Dchirp=OFF
-Dcling=ON # cling=OFF is broken
-Dcocoa=$(usex aqua)
+ -Dcuda=$(usex cuda)
-Dcxx14=$(usex root7)
-Dcxxmodules=OFF # requires clang, unstable
-Ddavix=$(usex davix)
@@ -250,9 +252,9 @@ src_configure() {
-Dtcmalloc=OFF
-Dtesting=$(usex test)
-Dthread=$(usex threads)
- -Dtmva-cpu=$(usex tmva)
- -Dtmva-gpu=OFF
-Dtmva=$(usex tmva)
+ -Dtmva-cpu=$(usex tmva)
+ -Dtmva-gpu=$(usex cuda)
-Dunuran=$(usex unuran)
-Dvc=$(usex vc)
-Dvdt=OFF
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index efb10900765..b9e470282f8 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -9,7 +9,7 @@ CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-inherit cmake-utils eapi7-ver elisp-common eutils fortran-2 \
+inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
if [[ ${PV} == "9999" ]] ; then
@@ -26,7 +26,7 @@ fi
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
-IUSE="+X avahi aqua +asimage +davix emacs +examples fits fftw fortran
+IUSE="+X avahi aqua +asimage cuda +davix emacs +examples fits fftw fortran
+gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
+minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
+python qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
@@ -77,6 +77,7 @@ CDEPEND="
>=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
) )
avahi? ( net-dns/avahi[mdnsresponder-compat] )
+ cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
davix? ( net-libs/davix )
emacs? ( virtual/emacs )
fftw? ( sci-libs/fftw:3.0= )
@@ -198,6 +199,7 @@ src_configure() {
-Dchirp=OFF
-Dcling=ON # cling=OFF is broken
-Dcocoa=$(usex aqua)
+ -Dcuda=$(usex cuda)
-Dcxx14=$(usex root7)
-Dcxxmodules=OFF # requires clang, unstable
-Ddavix=$(usex davix)
@@ -260,9 +262,9 @@ src_configure() {
-Dtcmalloc=OFF
-Dtesting=$(usex test)
-Dthread=$(usex threads)
- -Dtmva-cpu=$(usex tmva)
- -Dtmva-gpu=OFF
-Dtmva=$(usex tmva)
+ -Dtmva-cpu=$(usex tmva)
+ -Dtmva-gpu=$(usex cuda)
-Dunuran=$(usex unuran)
-Dvc=$(usex vc)
-Dvdt=OFF
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-08-24 12:57 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-08-24 12:57 UTC (permalink / raw
To: gentoo-commits
commit: d5e7e15ae7c16b26c4103a675a15851bd869f664
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 24 12:14:32 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Aug 24 12:57:28 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5e7e15a
sci-physics/root: update REQUIRED_USE
Qt5 support gets silently disabled if USE=-root7.
Package-Manager: Portage-2.3.48, Repoman-2.3.10
sci-physics/root/root-6.12.06-r4.ebuild | 3 ++-
sci-physics/root/root-6.14.02.ebuild | 3 ++-
sci-physics/root/root-9999.ebuild | 3 ++-
3 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r4.ebuild b/sci-physics/root/root-6.12.06-r4.ebuild
index 71738a81dbc..3d0a62781de 100644
--- a/sci-physics/root/root-6.12.06-r4.ebuild
+++ b/sci-physics/root/root-6.12.06-r4.ebuild
@@ -28,9 +28,10 @@ KEYWORDS="~amd64 ~x86"
REQUIRED_USE="
!X? ( !asimage !opengl !qt5 !tiff )
+ davix? ( ssl xml )
python? ( ${PYTHON_REQUIRED_USE} )
+ qt5? ( root7 )
tmva? ( gsl )
- davix? ( ssl xml )
"
CDEPEND="
diff --git a/sci-physics/root/root-6.14.02.ebuild b/sci-physics/root/root-6.14.02.ebuild
index 7397f23d0d2..da5c9512498 100644
--- a/sci-physics/root/root-6.14.02.ebuild
+++ b/sci-physics/root/root-6.14.02.ebuild
@@ -28,9 +28,10 @@ KEYWORDS="~amd64 ~x86"
REQUIRED_USE="
!X? ( !asimage !opengl !qt5 !tiff )
+ davix? ( ssl xml )
python? ( ${PYTHON_REQUIRED_USE} )
+ qt5? ( root7 )
tmva? ( gsl )
- davix? ( ssl xml )
"
CDEPEND="
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 1c079990b6c..efb10900765 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -36,9 +36,10 @@ LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
REQUIRED_USE="
!X? ( !asimage !opengl !qt5 !tiff )
+ davix? ( ssl xml )
python? ( ${PYTHON_REQUIRED_USE} )
+ qt5? ( root7 )
tmva? ( gsl )
- davix? ( ssl xml )
"
CDEPEND="
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-08-24 12:57 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-08-24 12:57 UTC (permalink / raw
To: gentoo-commits
commit: 143741d9cc38a3716aab3a2274d2f4f9036fe684
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 24 12:53:43 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Aug 24 12:57:31 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=143741d9
sci-physics/root: version bump to 6.14.04
Package-Manager: Portage-2.3.48, Repoman-2.3.10
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.14.02.ebuild => root-6.14.04.ebuild} | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 2b73e555130..91e7e9b5c73 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff08cfa470e63be9a02b948a49ae088e8da72ce433a5071d9196bfd98f71e6861b1bda285354012620eee6c61cffcee71a0c8 SHA512 3d44749ccfc3d40a2f516ae53ef40fb244ed785eee0dbc18ff822bbb811a15b943039d30282ef5358a283d485e62531880c877ec77a86089503b06d6f37e42e1
-DIST root_v6.14.02.source.tar.gz 162458882 BLAKE2B 70778819c6348f3fda9d7a224639da41f2a1522baec669e0cb88680f978fc64e98f87790d96b177e42ca5639e47f2646b94e65c112dd3b237bdd3dcfa9f6aeac SHA512 7117a74c622cc2d7d8b616abf8571444f6178c911dd768274af6def95e7cd7d1e39506a3b57f694fd4a687ad3bd1f6c68e64ff3eccdcd3236b0b59b08db6b934
+DIST root_v6.14.04.source.tar.gz 162451369 BLAKE2B c7af9cf18736c900f71c35b7f9df91784058406c738ac49cf93aa6d1caee13b79e1f68be53ea600fc7311a5af76207f9de71f8438bf6eb43681c93f1815b39a7 SHA512 eb8f3fe89f70b222962ecec7bb7a1ff107dd600bc7ad63cbefc5d4e00561cc80b6430da90d1e59f70dbff69158929eec54614bb5df9894d342482b41c051353f
diff --git a/sci-physics/root/root-6.14.02.ebuild b/sci-physics/root/root-6.14.04.ebuild
similarity index 99%
rename from sci-physics/root/root-6.14.02.ebuild
rename to sci-physics/root/root-6.14.04.ebuild
index 24d19074d97..e34bbf30b94 100644
--- a/sci-physics/root/root-6.14.02.ebuild
+++ b/sci-physics/root/root-6.14.04.ebuild
@@ -155,6 +155,7 @@ src_configure() {
-Dshared=ON
-Dsoversion=ON
-Dbuiltin_llvm=ON
+ -Dbuiltin_clang=ON
-Dbuiltin_afterimage=OFF
-Dbuiltin_cfitsio=OFF
-Dbuiltin_davix=OFF
@@ -238,7 +239,7 @@ src_configure() {
-Droot7=$(usex root7)
-Drootbench=OFF
-Droottest=$(usex test)
- # -Drpath=ON # needed for multi-slot to work
+ -Drpath=OFF
-Druby=OFF # deprecated and broken
-Druntime_cxxmodules=OFF # does not work yet
-Dr=$(usex R)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-08-28 11:04 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-08-28 11:04 UTC (permalink / raw
To: gentoo-commits
commit: f6176fcb239a4f69789a8d2157aa6dd2d26aeb50
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 28 11:02:09 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Aug 28 11:03:52 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6176fcb
sci-physics/root: remove config/ from cleanup dirs
Some of these files are needed by dependent projects.
Package-Manager: Portage-2.3.48, Repoman-2.3.10
sci-physics/root/{root-6.12.06-r5.ebuild => root-6.12.06-r6.ebuild} | 2 +-
sci-physics/root/{root-6.14.04.ebuild => root-6.14.04-r1.ebuild} | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r5.ebuild b/sci-physics/root/root-6.12.06-r6.ebuild
similarity index 99%
rename from sci-physics/root/root-6.12.06-r5.ebuild
rename to sci-physics/root/root-6.12.06-r6.ebuild
index 3d0a62781de..307ec1356b4 100644
--- a/sci-physics/root/root-6.12.06-r5.ebuild
+++ b/sci-physics/root/root-6.12.06-r6.ebuild
@@ -307,5 +307,5 @@ src_install() {
fi
# clean up unnecessary files from installation
- rm -r config emacs etc/vmc || die
+ rm -r emacs || die
}
diff --git a/sci-physics/root/root-6.14.04.ebuild b/sci-physics/root/root-6.14.04-r1.ebuild
similarity index 99%
rename from sci-physics/root/root-6.14.04.ebuild
rename to sci-physics/root/root-6.14.04-r1.ebuild
index e34bbf30b94..d7cbcaa7059 100644
--- a/sci-physics/root/root-6.14.04.ebuild
+++ b/sci-physics/root/root-6.14.04-r1.ebuild
@@ -311,5 +311,5 @@ src_install() {
fi
# clean up unnecessary files from installation
- rm -r config emacs etc/vmc || die
+ rm -r emacs || die
}
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index b9e470282f8..717498866e1 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -320,5 +320,5 @@ src_install() {
fi
# clean up unnecessary files from installation
- rm -r bin/clang* config emacs etc/vmc || die
+ rm -r bin/clang* emacs || die
}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-08-29 15:07 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-08-29 15:07 UTC (permalink / raw
To: gentoo-commits
commit: 30e10c187fd8c24ad9d865218d9fb8fb9099cc28
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 29 13:48:45 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Aug 29 15:06:55 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30e10c18
sci-physics/root: add back patch for bug 653124
The patch was dropped by mistake on a revision bump.
Bug: https://bugs.gentoo.org/653124
Package-Manager: Portage-2.3.48, Repoman-2.3.10
sci-physics/root/{root-6.12.06-r6.ebuild => root-6.12.06-r7.ebuild} | 1 +
sci-physics/root/{root-6.14.04-r1.ebuild => root-6.14.04-r2.ebuild} | 1 +
sci-physics/root/root-9999.ebuild | 1 +
3 files changed, 3 insertions(+)
diff --git a/sci-physics/root/root-6.12.06-r6.ebuild b/sci-physics/root/root-6.12.06-r7.ebuild
similarity index 99%
rename from sci-physics/root/root-6.12.06-r6.ebuild
rename to sci-physics/root/root-6.12.06-r7.ebuild
index 307ec1356b4..87b5d83bd4f 100644
--- a/sci-physics/root/root-6.12.06-r6.ebuild
+++ b/sci-physics/root/root-6.12.06-r7.ebuild
@@ -110,6 +110,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
"${FILESDIR}"/${PN}-6.12.04-no-opengl.patch
"${FILESDIR}"/${PN}-6.12.04-z3.patch
+ "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
)
pkg_setup() {
diff --git a/sci-physics/root/root-6.14.04-r1.ebuild b/sci-physics/root/root-6.14.04-r2.ebuild
similarity index 99%
rename from sci-physics/root/root-6.14.04-r1.ebuild
rename to sci-physics/root/root-6.14.04-r2.ebuild
index d7cbcaa7059..cc9edde9d8d 100644
--- a/sci-physics/root/root-6.14.04-r1.ebuild
+++ b/sci-physics/root/root-6.14.04-r2.ebuild
@@ -108,6 +108,7 @@ RDEPEND="${CDEPEND}
PATCHES=(
"${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
+ "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
"${FILESDIR}"/${PN}-6.13.02-hsimple.patch
)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 717498866e1..41a7e18306a 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -117,6 +117,7 @@ RDEPEND="${CDEPEND}
PATCHES=(
"${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
+ "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
"${FILESDIR}"/${PN}-6.13.02-hsimple.patch
)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-08-30 9:39 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-08-30 9:39 UTC (permalink / raw
To: gentoo-commits
commit: f29fcac9d15f2dbd130190c2a8880c8c7bb58e8c
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 30 09:37:55 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Aug 30 09:38:51 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29fcac9
sci-physics/root: add Python 3.7 to PYTHON_COMPAT
Package-Manager: Portage-2.3.48, Repoman-2.3.10
sci-physics/root/root-6.14.04-r2.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/root-6.14.04-r2.ebuild b/sci-physics/root/root-6.14.04-r2.ebuild
index cc9edde9d8d..55de392a705 100644
--- a/sci-physics/root/root-6.14.04-r2.ebuild
+++ b/sci-physics/root/root-6.14.04-r2.ebuild
@@ -7,7 +7,7 @@ CMAKE_BUILD_TYPE=Release
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 41a7e18306a..ebbfb3fcd52 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -7,7 +7,7 @@ CMAKE_BUILD_TYPE=Release
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-09-17 15:53 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-09-17 15:53 UTC (permalink / raw
To: gentoo-commits
commit: 22932baae7058f656cbf63a3f484b499e3275e21
Author: Jochen Klein <jochen.klein <AT> cern <DOT> ch>
AuthorDate: Mon Sep 17 15:18:00 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Sep 17 15:53:26 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22932baa
sci-physics/root: Fix clean-up code and compile options
Closes: https://github.com/gentoo/gentoo/pull/9894
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index ebbfb3fcd52..12ada06493f 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -198,6 +198,7 @@ src_configure() {
-Dccache=OFF # use ccache via portage
-Dcastor=OFF
-Dchirp=OFF
+ -Dclad=OFF
-Dcling=ON # cling=OFF is broken
-Dcocoa=$(usex aqua)
-Dcuda=$(usex cuda)
@@ -308,15 +309,11 @@ src_install() {
elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
fi
- if ! use gdml; then
- rm -r geom || die
- fi
-
if ! use examples; then
rm -r test tutorials || die
fi
- if use tmva; then
+ if ! use tmva; then
rm -r tmva || die
fi
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-09-17 15:53 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-09-17 15:53 UTC (permalink / raw
To: gentoo-commits
commit: 6be13978ac72e2dc3afb16c2df180cb163ad7327
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 17 15:43:43 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Sep 17 15:53:28 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6be13978
sci-physics/root: apply fixes from live ebuild to 6.14
Package-Manager: Portage-2.3.49, Repoman-2.3.10
sci-physics/root/{root-6.14.04-r2.ebuild => root-6.14.04-r3.ebuild} | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/sci-physics/root/root-6.14.04-r2.ebuild b/sci-physics/root/root-6.14.04-r3.ebuild
similarity index 99%
rename from sci-physics/root/root-6.14.04-r2.ebuild
rename to sci-physics/root/root-6.14.04-r3.ebuild
index 55de392a705..0a144e280c7 100644
--- a/sci-physics/root/root-6.14.04-r2.ebuild
+++ b/sci-physics/root/root-6.14.04-r3.ebuild
@@ -299,15 +299,11 @@ src_install() {
elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
fi
- if ! use gdml; then
- rm -r geom || die
- fi
-
if ! use examples; then
rm -r test tutorials || die
fi
- if use tmva; then
+ if ! use tmva; then
rm -r tmva || die
fi
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-11-19 16:25 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-11-19 16:25 UTC (permalink / raw
To: gentoo-commits
commit: 7f482115392c335e9c7a8ee523d3a15710a2f0b8
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 19 12:54:11 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Nov 19 16:25:16 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f482115
sci-physics/root: update live ebuild
* Drop patches added upstream
* Sync USE flags with 6.14/06 ebuild
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 51 +++++++++++++++++++++++----------------
1 file changed, 30 insertions(+), 21 deletions(-)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 12ada06493f..3fcff6ba7bf 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -26,19 +26,22 @@ fi
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
-IUSE="+X avahi aqua +asimage cuda +davix emacs +examples fits fftw fortran
- +gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
- +minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
- +python qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
- +threads +tiff +tmva +unuran vc xinetd +xml xrootd"
+IUSE="+X avahi aqua +asimage c++11 +c++14 c++17 cuda +davix emacs
+ +examples fits fftw fortran +gdml graphviz +gsl http jemalloc
+ kerberos ldap libcxx memstat +minuit mysql odbc +opengl oracle
+ postgres prefix pythia6 pythia8 +python qt5 R +roofit root7
+ shadow sqlite +ssl table +tbb test +threads +tiff +tmva +unuran
+ vc xinetd +xml xrootd"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
REQUIRED_USE="
+ ^^ ( c++11 c++14 c++17 )
!X? ( !asimage !opengl !qt5 !tiff )
davix? ( ssl xml )
python? ( ${PYTHON_REQUIRED_USE} )
qt5? ( root7 )
+ root7? ( || ( c++14 c++17 ) )
tmva? ( gsl )
"
@@ -116,23 +119,19 @@ RDEPEND="${CDEPEND}
xinetd? ( sys-apps/xinetd )"
PATCHES=(
- "${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
"${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
- "${FILESDIR}"/${PN}-6.13.02-hsimple.patch
)
pkg_setup() {
use fortran && fortran-2_pkg_setup
use python && python-single-r1_pkg_setup
- echo
elog "There are extra options on packages not yet in Gentoo:"
elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
elog "HDFS, Monalisa, MaxDB/SapDB, SRP, VecCore."
- elog "You can use the env variable EXTRA_ECONF variable for this."
+ elog "You can use the environment variable EXTRA_ECONF for this."
elog "For example, for Chirp, you would set: "
elog "EXTRA_ECONF=\"-Dchirp=ON\""
- echo
}
src_prepare() {
@@ -146,25 +145,29 @@ 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 small files into /etc (~100MB in total),
-# we install it into another directory to avoid making /etc too big.
+# 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=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
+ -DPYTHON_EXECUTABLE="${PYTHON}"
-DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)"
-DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/share/man"
- -DMCAKE_INSTALL_LIBDIR=$(get_libdir)
+ -DCMAKE_INSTALL_LIBDIR=$(get_libdir)
-DDEFAULT_SYSROOT="${EPREFIX}"
-DLLVM_CONFIG="${EPREFIX%/}/usr/lib/llvm/5/bin/llvm-config"
-DCLING_BUILD_PLUGINS=OFF
-Dexplicitlink=ON
-Dexceptions=ON
-Dfail-on-missing=ON
+ -Dgnuinstall=OFF
-Dshared=ON
-Dsoversion=ON
-Dbuiltin_llvm=OFF
+ -Dbuiltin_clang=ON
-Dbuiltin_afterimage=OFF
-Dbuiltin_cfitsio=OFF
-Dbuiltin_davix=OFF
@@ -202,7 +205,9 @@ src_configure() {
-Dcling=ON # cling=OFF is broken
-Dcocoa=$(usex aqua)
-Dcuda=$(usex cuda)
- -Dcxx14=$(usex root7)
+ -Dcxx11=$(usex c++11)
+ -Dcxx14=$(usex c++14)
+ -Dcxx17=$(usex c++17)
-Dcxxmodules=OFF # requires clang, unstable
-Ddavix=$(usex davix)
-Ddcache=OFF
@@ -218,7 +223,6 @@ src_configure() {
-Dglite=OFF # not implemented
-Dglobus=OFF
-Dgminimal=OFF
- -Dgnuinstall=OFF
-Dgsl_shared=$(usex gsl)
-Dgviz=$(usex graphviz)
-Dhdfs=OFF
@@ -249,8 +253,8 @@ src_configure() {
-Droofit=$(usex roofit)
-Droot7=$(usex root7)
-Drootbench=OFF
- -Droottest=$(usex test)
- -Drpath=ON # needed for multi-slot to work
+ -Droottest=OFF
+ -Drpath=OFF
-Druby=OFF # deprecated and broken
-Druntime_cxxmodules=OFF # does not work yet
-Dr=$(usex R)
@@ -260,7 +264,6 @@ src_configure() {
-Dsrp=OFF # not implemented
-Dssl=$(usex ssl)
-Dtable=$(usex table)
- -Dtbb=$(usex tbb)
-Dtcmalloc=OFF
-Dtesting=$(usex test)
-Dthread=$(usex threads)
@@ -279,6 +282,12 @@ src_configure() {
cmake-utils_src_configure
}
+src_compile() {
+ # needed for hsimple.root
+ addwrite /dev/random
+ cmake-utils_src_compile
+}
+
src_install() {
cmake-utils_src_install
@@ -310,7 +319,7 @@ src_install() {
fi
if ! use examples; then
- rm -r test tutorials || die
+ rm -r tutorials || die
fi
if ! use tmva; then
@@ -318,5 +327,5 @@ src_install() {
fi
# clean up unnecessary files from installation
- rm -r bin/clang* emacs || die
+ rm -r emacs test || die
}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-11-19 16:25 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-11-19 16:25 UTC (permalink / raw
To: gentoo-commits
commit: ce29012cdd08e8eca1549b2932ed4e4893c648e4
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 19 13:00:55 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Nov 19 16:25:17 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce29012c
sci-physics/root: drop old
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 -
sci-physics/root/root-6.12.06-r7.ebuild | 312 --------------------------------
2 files changed, 313 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index dc5a9f7f346..3bd6faea2b0 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1 @@
-DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff08cfa470e63be9a02b948a49ae088e8da72ce433a5071d9196bfd98f71e6861b1bda285354012620eee6c61cffcee71a0c8 SHA512 3d44749ccfc3d40a2f516ae53ef40fb244ed785eee0dbc18ff822bbb811a15b943039d30282ef5358a283d485e62531880c877ec77a86089503b06d6f37e42e1
DIST root_v6.14.06.source.tar.gz 162462837 BLAKE2B a6904b67d1f5964768fa884bd2b5c648390d0b3626b5be8f39ff0e311bf14690d2aff7eb9d6047fa8d5a9de894935067ea8c033592b9795fc34b61aa5f65fcdb SHA512 83698e1213ae9bd4a87ef3160b459c962199585bed7378efc0cfefdc352e6651a17286a11cd925dbcb5d04e1b832d47a3a69849d048731ea9d0d84f9b0f996a4
diff --git a/sci-physics/root/root-6.12.06-r7.ebuild b/sci-physics/root/root-6.12.06-r7.ebuild
deleted file mode 100644
index 87b5d83bd4f..00000000000
--- a/sci-physics/root/root-6.12.06-r7.ebuild
+++ /dev/null
@@ -1,312 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-CMAKE_BUILD_TYPE=Release
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
-
-inherit cmake-utils eapi7-ver elisp-common eutils fortran-2 \
- prefix python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-
-IUSE="+X avahi aqua +asimage +davix emacs +examples fits fftw fortran
- +gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
- +minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
- +python qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
- +threads +tiff +tmva +unuran vc xinetd +xml xrootd"
-
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="
- !X? ( !asimage !opengl !qt5 !tiff )
- davix? ( ssl xml )
- python? ( ${PYTHON_REQUIRED_USE} )
- qt5? ( root7 )
- tmva? ( gsl )
-"
-
-CDEPEND="
- app-arch/lz4
- app-arch/xz-utils
- fortran? ( dev-lang/cfortran )
- dev-libs/libpcre:3=
- dev-libs/xxhash
- media-fonts/dejavu
- media-libs/freetype:2=
- media-libs/libpng:0=
- 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=
- )
- )
- asimage? ( || (
- media-libs/libafterimage[gif,jpeg,png,tiff?]
- >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
- ) )
- avahi? ( net-dns/avahi[mdnsresponder-compat] )
- davix? ( net-libs/davix )
- emacs? ( virtual/emacs )
- fftw? ( sci-libs/fftw:3.0= )
- fits? ( sci-libs/cfitsio:0= )
- graphviz? ( media-gfx/graphviz:0= )
- gsl? ( sci-libs/gsl )
- http? ( dev-libs/fcgi:0= )
- jemalloc? ( dev-libs/jemalloc )
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap:0= )
- libcxx? ( sys-libs/libcxx )
- unuran? ( sci-mathematics/unuran:0= )
- minuit? ( !sci-libs/minuit )
- mysql? ( virtual/mysql )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
- oracle? ( dev-db/oracle-instantclient-basic )
- postgres? ( dev-db/postgresql:= )
- pythia6? ( sci-physics/pythia:6= )
- pythia8? ( sci-physics/pythia:8= )
- python? ( ${PYTHON_DEPS} )
- R? ( dev-lang/R )
- shadow? ( virtual/shadow )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl:0= )
- tbb? ( dev-cpp/tbb )
- tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
- vc? ( dev-libs/vc )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}
- xinetd? ( sys-apps/xinetd )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.11.02-hsimple.patch
- "${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
- "${FILESDIR}"/${PN}-6.12.04-no-opengl.patch
- "${FILESDIR}"/${PN}-6.12.04-z3.patch
- "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
-)
-
-pkg_setup() {
- use fortran && fortran-2_pkg_setup
- use python && python-single-r1_pkg_setup
-
- echo
- elog "There are extra options on packages not yet in Gentoo:"
- elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
- elog "HDFS, Monalisa, MaxDB/SapDB, SRP, VecCore."
- elog "You can use the env variable EXTRA_ECONF variable for this."
- elog "For example, for Chirp, you would set: "
- elog "EXTRA_ECONF=\"-Dchirp=ON\""
- echo
-}
-
-src_prepare() {
- cmake-utils_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"
-}
-
-# 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 small files into /etc (~100MB in total),
-# we install it into another directory to avoid making /etc too big.
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_C_FLAGS="${CFLAGS}"
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)"
- -DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/share/man"
- -DMCAKE_INSTALL_LIBDIR=$(get_libdir)
- -DDEFAULT_SYSROOT="${EPREFIX}"
- -Dexplicitlink=ON
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=OFF
- -Dbuiltin_lz4=OFF
- -Dbuiltin_lzma=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_zlib=OFF
- -Dx11=$(usex X)
- -Dxft=$(usex X)
- -Dafdsmgrd=OFF
- -Dafs=OFF # not implemented
- -Dalien=OFF
- -Dasimage=$(usex asimage)
- -Dastiff=$(usex tiff)
- -Dbonjour=$(usex avahi)
- -Dlibcxx=$(usex libcxx)
- -Dccache=OFF # use ccache via portage
- -Dcastor=OFF
- -Dchirp=OFF
- -Dcling=ON # cling=OFF is broken
- -Dcocoa=$(usex aqua)
- -Dcxx14=$(usex root7)
- -Dcxxmodules=OFF # requires clang, unstable
- -Ddavix=$(usex davix)
- -Ddcache=OFF
- -Dfftw3=$(usex fftw)
- -Dfitsio=$(usex fits)
- -Dfortran=$(usex fortran)
- -Dftgl=$(usex opengl)
- -Dgdml=$(usex gdml)
- -Dgenvector=ON # genvector=OFF ignored
- -Dgeocad=OFF
- -Dgfal=OFF
- -Dgl2ps=$(usex opengl)
- -Dglite=OFF # not implemented
- -Dglobus=OFF
- -Dgminimal=OFF
- -Dgnuinstall=OFF
- -Dgsl_shared=$(usex gsl)
- -Dgviz=$(usex graphviz)
- -Dhdfs=OFF
- -Dhttp=$(usex http)
- -Dimt=$(usex tbb)
- -Djemalloc=$(usex jemalloc)
- -Dkrb5=$(usex kerberos)
- -Dldap=$(usex ldap)
- -Dmathmore=$(usex gsl)
- -Dmemstat=$(usex memstat)
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(usex minuit)
- -Dmonalisa=OFF
- -Dmysql=$(usex mysql)
- -Dodbc=$(usex odbc)
- -Dopengl=$(usex opengl)
- -Doracle=$(usex oracle)
- -Dpch=ON # pch=OFF is broken
- -Dpgsql=$(usex postgres)
- -Dpythia6=$(usex pythia6)
- -Dpythia8=$(usex pythia8)
- -Dpython=$(usex python)
- -Dqt5web=$(usex qt5)
- -Dqtgsi=OFF
- -Dqt=OFF
- -Drfio=OFF
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=$(usex test)
- -Drpath=ON # needed for multi-slot to work
- -Druby=OFF # deprecated and broken
- -Druntime_cxxmodules=OFF # does not work yet
- -Dr=$(usex R)
- -Dsapdb=OFF # not implemented
- -Dshadowpw=$(usex shadow)
- -Dsqlite=$(usex sqlite)
- -Dsrp=OFF # not implemented
- -Dssl=$(usex ssl)
- -Dtable=$(usex table)
- -Dtbb=$(usex tbb)
- -Dtcmalloc=OFF
- -Dtesting=$(usex test)
- -Dthread=$(usex threads)
- -Dtmva=$(usex tmva)
- -Dunuran=$(usex unuran)
- -Dvc=$(usex vc)
- -Dvdt=OFF
- -Dveccore=OFF
- -Dxml=$(usex xml)
- -Dxrootd=$(usex xrootd)
- ${EXTRA_ECONF}
- )
-
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- ROOTSYS=${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)
- ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
-
- # ROOT fails without this symlink because it only looks in lib
- if [[ ! -d ${D}/${ROOTSYS}/lib ]]; then
- dosym $(get_libdir) /usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/lib
- fi
-
- cat > ${ROOTENV} <<- EOF || die
- MANPATH="${ROOTSYS}/share/man"
- PATH="${ROOTSYS}/bin"
- ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/$(get_libdir)"
- EOF
-
- if use python; then
- echo "PYTHONPATH=${ROOTSYS}/$(get_libdir)" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- if ! use gdml; then
- rm -r geom || die
- fi
-
- if ! use examples; then
- rm -r test tutorials || die
- fi
-
- if use tmva; then
- rm -r tmva || die
- fi
-
- # clean up unnecessary files from installation
- rm -r emacs || die
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-11-25 9:22 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-11-25 9:22 UTC (permalink / raw
To: gentoo-commits
commit: f151bce9f1332cf44616636da84c8b36330457ea
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 25 09:20:43 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Sun Nov 25 09:21:28 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f151bce9
sci-physics/root: default to C++11 standard
Use C++11 standard until reverse dependencies can cope
with the change to C++14/17.
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/{root-6.14.06.ebuild => root-6.14.06-r1.ebuild} | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/root-6.14.06.ebuild b/sci-physics/root/root-6.14.06-r1.ebuild
similarity index 99%
rename from sci-physics/root/root-6.14.06.ebuild
rename to sci-physics/root/root-6.14.06-r1.ebuild
index 57b14c7e31d..f8381e7d784 100644
--- a/sci-physics/root/root-6.14.06.ebuild
+++ b/sci-physics/root/root-6.14.06-r1.ebuild
@@ -16,7 +16,7 @@ DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-IUSE="+X avahi aqua +asimage c++11 +c++14 c++17 cuda +davix emacs
+IUSE="+X avahi aqua +asimage +c++11 c++14 c++17 cuda +davix emacs
+examples fits fftw fortran +gdml graphviz +gsl http jemalloc
kerberos ldap libcxx memstat +minuit mysql odbc +opengl oracle
postgres prefix pythia6 pythia8 +python qt5 R +roofit root7
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 3fcff6ba7bf..8268a8f6a84 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -26,7 +26,7 @@ fi
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
-IUSE="+X avahi aqua +asimage c++11 +c++14 c++17 cuda +davix emacs
+IUSE="+X avahi aqua +asimage +c++11 c++14 c++17 cuda +davix emacs
+examples fits fftw fortran +gdml graphviz +gsl http jemalloc
kerberos ldap libcxx memstat +minuit mysql odbc +opengl oracle
postgres prefix pythia6 pythia8 +python qt5 R +roofit root7
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-12-06 14:26 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-12-06 14:26 UTC (permalink / raw
To: gentoo-commits
commit: 9a2cfeff12a9b8d79ffb61e1dbb05fbcac8995ec
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 6 14:10:37 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Dec 6 14:25:42 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a2cfeff
sci-physics/root: version bump to 6.14/08
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.14.06-r1.ebuild => root-6.14.08.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 3bd6faea2b0..f50abbe78bc 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1 +1 @@
-DIST root_v6.14.06.source.tar.gz 162462837 BLAKE2B a6904b67d1f5964768fa884bd2b5c648390d0b3626b5be8f39ff0e311bf14690d2aff7eb9d6047fa8d5a9de894935067ea8c033592b9795fc34b61aa5f65fcdb SHA512 83698e1213ae9bd4a87ef3160b459c962199585bed7378efc0cfefdc352e6651a17286a11cd925dbcb5d04e1b832d47a3a69849d048731ea9d0d84f9b0f996a4
+DIST root_v6.14.08.source.tar.gz 162474562 BLAKE2B f8bfdabb4d91bbdfbab0b17626fff1f8aa265292996d857025cbd1543306f3ec540a1afb080788bfc7149ea835932b59d7c54dcd802354e31294ba2e5e9d2366 SHA512 827e39efbf3c69429a0a256127ca9f87550d9084c34c715bddccbf87a8c111c367b9a0ac6882aac747c9b48f4a3effb3747b4df567429910c93ee64dfe35df5b
diff --git a/sci-physics/root/root-6.14.06-r1.ebuild b/sci-physics/root/root-6.14.08.ebuild
similarity index 100%
rename from sci-physics/root/root-6.14.06-r1.ebuild
rename to sci-physics/root/root-6.14.08.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-12-11 11:19 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-12-11 11:19 UTC (permalink / raw
To: gentoo-commits
commit: 133a18a406c326f50c980ef11ec589ff02e5eda0
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 10 13:49:41 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Dec 11 11:03:57 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=133a18a4
sci-physics/root: rename 'avahi' USE flag to 'zeroconf'
Closes: https://bugs.gentoo.org/671914
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.14.08.ebuild | 6 +++---
sci-physics/root/root-9999.ebuild | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/sci-physics/root/root-6.14.08.ebuild b/sci-physics/root/root-6.14.08.ebuild
index d3be67f0726..2f447a38d26 100644
--- a/sci-physics/root/root-6.14.08.ebuild
+++ b/sci-physics/root/root-6.14.08.ebuild
@@ -16,7 +16,7 @@ DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-IUSE="+X avahi aqua +asimage +c++11 c++14 c++17 cuda +davix emacs
+IUSE="+X zeroconf aqua +asimage +c++11 c++14 c++17 cuda +davix emacs
+examples fits fftw fortran +gdml graphviz +gsl http jemalloc
kerberos ldap libcxx memstat +minuit mysql odbc +opengl oracle
postgres prefix pythia6 pythia8 +python qt5 R +roofit root7
@@ -70,7 +70,7 @@ CDEPEND="
media-libs/libafterimage[gif,jpeg,png,tiff?]
>=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
) )
- avahi? ( net-dns/avahi[mdnsresponder-compat] )
+ zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
davix? ( net-libs/davix )
emacs? ( virtual/emacs )
@@ -188,7 +188,7 @@ src_configure() {
-Dalien=OFF
-Dasimage=$(usex asimage)
-Dastiff=$(usex tiff)
- -Dbonjour=$(usex avahi)
+ -Dbonjour=$(usex zeroconf)
-Dlibcxx=$(usex libcxx)
-Dccache=OFF # use ccache via portage
-Dcastor=OFF
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index debd6388821..475f84f2947 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -26,7 +26,7 @@ fi
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
-IUSE="+X avahi aqua +asimage +c++11 c++14 c++17 cuda +davix emacs
+IUSE="+X zeroconf aqua +asimage +c++11 c++14 c++17 cuda +davix emacs
+examples fits fftw fortran +gdml graphviz +gsl http jemalloc
kerberos ldap libcxx memstat +minuit mysql odbc +opengl oracle
postgres prefix pythia6 pythia8 +python qt5 R +roofit root7
@@ -79,7 +79,7 @@ CDEPEND="
media-libs/libafterimage[gif,jpeg,png,tiff?]
>=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
) )
- avahi? ( net-dns/avahi[mdnsresponder-compat] )
+ zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
davix? ( net-libs/davix )
emacs? ( virtual/emacs )
@@ -196,7 +196,7 @@ src_configure() {
-Dalien=OFF
-Dasimage=$(usex asimage)
-Dastiff=$(usex tiff)
- -Dbonjour=$(usex avahi)
+ -Dbonjour=$(usex zeroconf)
-Dlibcxx=$(usex libcxx)
-Dccache=OFF # use ccache via portage
-Dcastor=OFF
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-12-11 11:19 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-12-11 11:19 UTC (permalink / raw
To: gentoo-commits
commit: 69644002d00b023ff04eb828d16596416022fc62
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 10 13:46:11 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Dec 11 11:03:57 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69644002
sci-physics/root: depend on >=dev-cpp/tbb-2018, bug #672686
Closes: https://bugs.gentoo.org/672686
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.14.08.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/root-6.14.08.ebuild b/sci-physics/root/root-6.14.08.ebuild
index f8381e7d784..d3be67f0726 100644
--- a/sci-physics/root/root-6.14.08.ebuild
+++ b/sci-physics/root/root-6.14.08.ebuild
@@ -96,7 +96,7 @@ CDEPEND="
shadow? ( virtual/shadow )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
- tbb? ( dev-cpp/tbb )
+ tbb? ( >=dev-cpp/tbb-2018 )
tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
vc? ( dev-libs/vc )
xml? ( dev-libs/libxml2:2= )
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 8268a8f6a84..debd6388821 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -105,7 +105,7 @@ CDEPEND="
shadow? ( virtual/shadow )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
- tbb? ( dev-cpp/tbb )
+ tbb? ( >=dev-cpp/tbb-2018 )
tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
vc? ( dev-libs/vc )
xml? ( dev-libs/libxml2:2= )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-12-11 11:19 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-12-11 11:19 UTC (permalink / raw
To: gentoo-commits
commit: 2d79327d19ecfc372f2df58a0c42e79f3f82dd59
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 11 11:10:05 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Dec 11 11:10:05 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d79327d
sci-physics/root: bump ebuild revision
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/{root-6.14.08.ebuild => root-6.14.08-r1.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/sci-physics/root/root-6.14.08.ebuild b/sci-physics/root/root-6.14.08-r1.ebuild
similarity index 100%
rename from sci-physics/root/root-6.14.08.ebuild
rename to sci-physics/root/root-6.14.08-r1.ebuild
^ permalink raw reply [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-12-11 11:19 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-12-11 11:19 UTC (permalink / raw
To: gentoo-commits
commit: 12f92836e6f7b30376ef873b021043348e3a459b
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 10 13:58:30 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Dec 11 11:03:58 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12f92836
sci-physics/root: depend on dev-db/mysql-connector-c
Closes: https://bugs.gentoo.org/666062
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.14.08.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/root-6.14.08.ebuild b/sci-physics/root/root-6.14.08.ebuild
index 2f447a38d26..75fc74ce6d8 100644
--- a/sci-physics/root/root-6.14.08.ebuild
+++ b/sci-physics/root/root-6.14.08.ebuild
@@ -85,7 +85,7 @@ CDEPEND="
libcxx? ( sys-libs/libcxx )
unuran? ( sci-mathematics/unuran:0= )
minuit? ( !sci-libs/minuit )
- mysql? ( virtual/mysql )
+ mysql? ( dev-db/mysql-connector-c )
odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
oracle? ( dev-db/oracle-instantclient-basic )
postgres? ( dev-db/postgresql:= )
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 475f84f2947..16556ca1679 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -94,7 +94,7 @@ CDEPEND="
libcxx? ( sys-libs/libcxx )
unuran? ( sci-mathematics/unuran:0= )
minuit? ( !sci-libs/minuit )
- mysql? ( virtual/mysql )
+ mysql? ( dev-db/mysql-connector-c )
odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
oracle? ( dev-db/oracle-instantclient-basic )
postgres? ( dev-db/postgresql:= )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-12-12 7:12 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-12-12 7:12 UTC (permalink / raw
To: gentoo-commits
commit: 898a2da911f856d7c838aa29cbddbe8e4df07c0b
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 12 07:09:43 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Dec 12 07:12:00 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=898a2da9
sci-physics/root: put USE flags back into alphabetical order
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.14.08-r1.ebuild | 12 ++++++------
sci-physics/root/root-9999.ebuild | 12 ++++++------
2 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/sci-physics/root/root-6.14.08-r1.ebuild b/sci-physics/root/root-6.14.08-r1.ebuild
index 75fc74ce6d8..d107740182a 100644
--- a/sci-physics/root/root-6.14.08-r1.ebuild
+++ b/sci-physics/root/root-6.14.08-r1.ebuild
@@ -16,12 +16,12 @@ DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-IUSE="+X zeroconf aqua +asimage +c++11 c++14 c++17 cuda +davix emacs
- +examples fits fftw fortran +gdml graphviz +gsl http jemalloc
- kerberos ldap libcxx memstat +minuit mysql odbc +opengl oracle
- postgres prefix pythia6 pythia8 +python qt5 R +roofit root7
- shadow sqlite +ssl table +tbb test +threads +tiff +tmva +unuran
- vc xinetd +xml xrootd"
+IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
+ fits fftw fortran +gdml graphviz +gsl http jemalloc kerberos ldap
+ libcxx memstat +minuit mysql odbc +opengl oracle postgres prefix
+ pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl
+ table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml xrootd
+ zeroconf"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 16556ca1679..d3d0e474cc7 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -26,12 +26,12 @@ fi
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
-IUSE="+X zeroconf aqua +asimage +c++11 c++14 c++17 cuda +davix emacs
- +examples fits fftw fortran +gdml graphviz +gsl http jemalloc
- kerberos ldap libcxx memstat +minuit mysql odbc +opengl oracle
- postgres prefix pythia6 pythia8 +python qt5 R +roofit root7
- shadow sqlite +ssl table +tbb test +threads +tiff +tmva +unuran
- vc xinetd +xml xrootd"
+IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
+ fits fftw fortran +gdml graphviz +gsl http jemalloc kerberos ldap
+ libcxx memstat +minuit mysql odbc +opengl oracle postgres prefix
+ pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl
+ table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml xrootd
+ zeroconf"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-12-12 7:12 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-12-12 7:12 UTC (permalink / raw
To: gentoo-commits
commit: 86d74763869855375cf01782bc78d5f4dc3fef72
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 11 12:28:30 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Dec 12 07:11:01 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d74763
sci-physics/root: keep a few more old versions
Bug: https://bugs.gentoo.org/671810
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +
sci-physics/root/root-6.12.06-r8.ebuild | 313 +++++++++++++++++++++++++++++++
sci-physics/root/root-6.14.06-r2.ebuild | 323 ++++++++++++++++++++++++++++++++
3 files changed, 638 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index f50abbe78bc..0c29d7f76c8 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1 +1,3 @@
+DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff08cfa470e63be9a02b948a49ae088e8da72ce433a5071d9196bfd98f71e6861b1bda285354012620eee6c61cffcee71a0c8 SHA512 3d44749ccfc3d40a2f516ae53ef40fb244ed785eee0dbc18ff822bbb811a15b943039d30282ef5358a283d485e62531880c877ec77a86089503b06d6f37e42e1
+DIST root_v6.14.06.source.tar.gz 162462837 BLAKE2B a6904b67d1f5964768fa884bd2b5c648390d0b3626b5be8f39ff0e311bf14690d2aff7eb9d6047fa8d5a9de894935067ea8c033592b9795fc34b61aa5f65fcdb SHA512 83698e1213ae9bd4a87ef3160b459c962199585bed7378efc0cfefdc352e6651a17286a11cd925dbcb5d04e1b832d47a3a69849d048731ea9d0d84f9b0f996a4
DIST root_v6.14.08.source.tar.gz 162474562 BLAKE2B f8bfdabb4d91bbdfbab0b17626fff1f8aa265292996d857025cbd1543306f3ec540a1afb080788bfc7149ea835932b59d7c54dcd802354e31294ba2e5e9d2366 SHA512 827e39efbf3c69429a0a256127ca9f87550d9084c34c715bddccbf87a8c111c367b9a0ac6882aac747c9b48f4a3effb3747b4df567429910c93ee64dfe35df5b
diff --git a/sci-physics/root/root-6.12.06-r8.ebuild b/sci-physics/root/root-6.12.06-r8.ebuild
new file mode 100644
index 00000000000..8431934ba7a
--- /dev/null
+++ b/sci-physics/root/root-6.12.06-r8.ebuild
@@ -0,0 +1,313 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CMAKE_BUILD_TYPE=Release
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
+
+inherit cmake-utils eapi7-ver elisp-common eutils fortran-2 \
+ prefix python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+
+IUSE="+X aqua +asimage +davix emacs +examples fits fftw fortran
+ +gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
+ +minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
+ +python qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
+ +threads +tiff +tmva +unuran vc xinetd +xml xrootd zeroconf"
+
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="
+ !X? ( !asimage !opengl !qt5 !tiff )
+ davix? ( ssl xml )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ qt5? ( root7 )
+ tmva? ( gsl )
+"
+
+CDEPEND="
+ app-arch/lz4
+ app-arch/xz-utils
+ fortran? ( dev-lang/cfortran )
+ dev-libs/libpcre:3=
+ dev-libs/xxhash
+ media-fonts/dejavu
+ media-libs/freetype:2=
+ media-libs/libpng:0=
+ 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=
+ )
+ )
+ asimage? ( || (
+ media-libs/libafterimage[gif,jpeg,png,tiff?]
+ >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
+ ) )
+ zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
+ davix? ( net-libs/davix )
+ emacs? ( virtual/emacs )
+ fftw? ( sci-libs/fftw:3.0= )
+ fits? ( sci-libs/cfitsio:0= )
+ graphviz? ( media-gfx/graphviz:0= )
+ gsl? ( sci-libs/gsl )
+ http? ( dev-libs/fcgi:0= )
+ jemalloc? ( dev-libs/jemalloc )
+ kerberos? ( virtual/krb5 )
+ ldap? ( net-nds/openldap:0= )
+ libcxx? ( sys-libs/libcxx )
+ unuran? ( sci-mathematics/unuran:0= )
+ minuit? ( !sci-libs/minuit )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ postgres? ( dev-db/postgresql:= )
+ pythia6? ( sci-physics/pythia:6= )
+ pythia8? ( sci-physics/pythia:8= )
+ python? ( ${PYTHON_DEPS} )
+ R? ( dev-lang/R )
+ shadow? ( virtual/shadow )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? ( dev-libs/openssl:0= )
+ tbb? ( dev-cpp/tbb )
+ tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ vc? ( dev-libs/vc )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}
+ xinetd? ( sys-apps/xinetd )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.11.02-hsimple.patch
+ "${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
+ "${FILESDIR}"/${PN}-6.12.04-no-opengl.patch
+ "${FILESDIR}"/${PN}-6.12.04-z3.patch
+ "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
+ "${FILESDIR}"/${PN}-6.14.06-oracle.patch
+)
+
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
+ use python && python-single-r1_pkg_setup
+
+ echo
+ elog "There are extra options on packages not yet in Gentoo:"
+ elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
+ elog "HDFS, Monalisa, MaxDB/SapDB, SRP, VecCore."
+ elog "You can use the env variable EXTRA_ECONF variable for this."
+ elog "For example, for Chirp, you would set: "
+ elog "EXTRA_ECONF=\"-Dchirp=ON\""
+ echo
+}
+
+src_prepare() {
+ cmake-utils_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"
+}
+
+# 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 small files into /etc (~100MB in total),
+# we install it into another directory to avoid making /etc too big.
+
+src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_C_FLAGS="${CFLAGS}"
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)"
+ -DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/share/man"
+ -DMCAKE_INSTALL_LIBDIR=$(get_libdir)
+ -DDEFAULT_SYSROOT="${EPREFIX}"
+ -Dexplicitlink=ON
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=ON
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=OFF
+ -Dbuiltin_lz4=OFF
+ -Dbuiltin_lzma=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_zlib=OFF
+ -Dx11=$(usex X)
+ -Dxft=$(usex X)
+ -Dafdsmgrd=OFF
+ -Dafs=OFF # not implemented
+ -Dalien=OFF
+ -Dasimage=$(usex asimage)
+ -Dastiff=$(usex tiff)
+ -Dbonjour=$(usex zeroconf)
+ -Dlibcxx=$(usex libcxx)
+ -Dccache=OFF # use ccache via portage
+ -Dcastor=OFF
+ -Dchirp=OFF
+ -Dcling=ON # cling=OFF is broken
+ -Dcocoa=$(usex aqua)
+ -Dcxx14=$(usex root7)
+ -Dcxxmodules=OFF # requires clang, unstable
+ -Ddavix=$(usex davix)
+ -Ddcache=OFF
+ -Dfftw3=$(usex fftw)
+ -Dfitsio=$(usex fits)
+ -Dfortran=$(usex fortran)
+ -Dftgl=$(usex opengl)
+ -Dgdml=$(usex gdml)
+ -Dgenvector=ON # genvector=OFF ignored
+ -Dgeocad=OFF
+ -Dgfal=OFF
+ -Dgl2ps=$(usex opengl)
+ -Dglite=OFF # not implemented
+ -Dglobus=OFF
+ -Dgminimal=OFF
+ -Dgnuinstall=OFF
+ -Dgsl_shared=$(usex gsl)
+ -Dgviz=$(usex graphviz)
+ -Dhdfs=OFF
+ -Dhttp=$(usex http)
+ -Dimt=$(usex tbb)
+ -Djemalloc=$(usex jemalloc)
+ -Dkrb5=$(usex kerberos)
+ -Dldap=$(usex ldap)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=$(usex memstat)
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(usex minuit)
+ -Dmonalisa=OFF
+ -Dmysql=$(usex mysql)
+ -Dodbc=$(usex odbc)
+ -Dopengl=$(usex opengl)
+ -Doracle=$(usex oracle)
+ -Dpch=ON # pch=OFF is broken
+ -Dpgsql=$(usex postgres)
+ -Dpythia6=$(usex pythia6)
+ -Dpythia8=$(usex pythia8)
+ -Dpython=$(usex python)
+ -Dqt5web=$(usex qt5)
+ -Dqtgsi=OFF
+ -Dqt=OFF
+ -Drfio=OFF
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=$(usex test)
+ -Drpath=ON # needed for multi-slot to work
+ -Druby=OFF # deprecated and broken
+ -Druntime_cxxmodules=OFF # does not work yet
+ -Dr=$(usex R)
+ -Dsapdb=OFF # not implemented
+ -Dshadowpw=$(usex shadow)
+ -Dsqlite=$(usex sqlite)
+ -Dsrp=OFF # not implemented
+ -Dssl=$(usex ssl)
+ -Dtable=$(usex table)
+ -Dtbb=$(usex tbb)
+ -Dtcmalloc=OFF
+ -Dtesting=$(usex test)
+ -Dthread=$(usex threads)
+ -Dtmva=$(usex tmva)
+ -Dunuran=$(usex unuran)
+ -Dvc=$(usex vc)
+ -Dvdt=OFF
+ -Dveccore=OFF
+ -Dxml=$(usex xml)
+ -Dxrootd=$(usex xrootd)
+ ${EXTRA_ECONF}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ ROOTSYS=${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)
+ ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
+
+ # ROOT fails without this symlink because it only looks in lib
+ if [[ ! -d ${D}/${ROOTSYS}/lib ]]; then
+ dosym $(get_libdir) /usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/lib
+ fi
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/$(get_libdir)"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=${ROOTSYS}/$(get_libdir)" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ if ! use gdml; then
+ rm -r geom || die
+ fi
+
+ if ! use examples; then
+ rm -r test tutorials || die
+ fi
+
+ if use tmva; then
+ rm -r tmva || die
+ fi
+
+ # clean up unnecessary files from installation
+ rm -r emacs || die
+}
diff --git a/sci-physics/root/root-6.14.06-r2.ebuild b/sci-physics/root/root-6.14.06-r2.ebuild
new file mode 100644
index 00000000000..e8e14bd43c0
--- /dev/null
+++ b/sci-physics/root/root-6.14.06-r2.ebuild
@@ -0,0 +1,323 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CMAKE_BUILD_TYPE=Release
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
+
+inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
+ prefix python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+
+IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
+ fits fftw fortran +gdml graphviz +gsl http jemalloc kerberos ldap
+ libcxx memstat +minuit mysql odbc +opengl oracle postgres prefix
+ pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl
+ table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml xrootd
+ zeroconf"
+
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="
+ ^^ ( c++11 c++14 c++17 )
+ !X? ( !asimage !opengl !qt5 !tiff )
+ davix? ( ssl xml )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ qt5? ( root7 )
+ root7? ( || ( c++14 c++17 ) )
+ tmva? ( gsl )
+"
+
+CDEPEND="
+ app-arch/lz4
+ app-arch/xz-utils
+ fortran? ( dev-lang/cfortran )
+ dev-libs/libpcre:3=
+ dev-libs/xxhash
+ media-fonts/dejavu
+ media-libs/freetype:2=
+ media-libs/libpng:0=
+ 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=
+ )
+ )
+ asimage? ( || (
+ media-libs/libafterimage[gif,jpeg,png,tiff?]
+ >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
+ ) )
+ zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
+ cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
+ davix? ( net-libs/davix )
+ emacs? ( virtual/emacs )
+ fftw? ( sci-libs/fftw:3.0= )
+ fits? ( sci-libs/cfitsio:0= )
+ graphviz? ( media-gfx/graphviz:0= )
+ gsl? ( sci-libs/gsl )
+ http? ( dev-libs/fcgi:0= )
+ jemalloc? ( dev-libs/jemalloc )
+ kerberos? ( virtual/krb5 )
+ ldap? ( net-nds/openldap:0= )
+ libcxx? ( sys-libs/libcxx )
+ unuran? ( sci-mathematics/unuran:0= )
+ minuit? ( !sci-libs/minuit )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ postgres? ( dev-db/postgresql:= )
+ pythia6? ( sci-physics/pythia:6= )
+ pythia8? ( sci-physics/pythia:8= )
+ python? ( ${PYTHON_DEPS} )
+ R? ( dev-lang/R )
+ shadow? ( virtual/shadow )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? ( dev-libs/openssl:0= )
+ tbb? ( dev-cpp/tbb )
+ tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ vc? ( dev-libs/vc )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}
+ xinetd? ( sys-apps/xinetd )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
+ "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
+ "${FILESDIR}"/${PN}-6.14.06-oracle.patch
+)
+
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
+ use python && python-single-r1_pkg_setup
+
+ elog "There are extra options on packages not yet in Gentoo:"
+ elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
+ elog "HDFS, Monalisa, MaxDB/SapDB, SRP, VecCore."
+ elog "You can use the environment variable EXTRA_ECONF for this."
+ elog "For example, for Chirp, you would set: "
+ elog "EXTRA_ECONF=\"-Dchirp=ON\""
+}
+
+src_prepare() {
+ cmake-utils_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"
+}
+
+# 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=(
+ -DCMAKE_C_FLAGS="${CFLAGS}"
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
+ -DPYTHON_EXECUTABLE="${PYTHON}"
+ -DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)"
+ -DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/share/man"
+ -DCMAKE_INSTALL_LIBDIR=$(get_libdir)
+ -DDEFAULT_SYSROOT="${EPREFIX}"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dexplicitlink=ON
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dgnuinstall=OFF
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=ON
+ -Dbuiltin_clang=ON
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=OFF
+ -Dbuiltin_lz4=OFF
+ -Dbuiltin_lzma=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_zlib=OFF
+ -Dx11=$(usex X)
+ -Dxft=$(usex X)
+ -Dafdsmgrd=OFF
+ -Dafs=OFF # not implemented
+ -Dalien=OFF
+ -Dasimage=$(usex asimage)
+ -Dastiff=$(usex tiff)
+ -Dbonjour=$(usex zeroconf)
+ -Dlibcxx=$(usex libcxx)
+ -Dccache=OFF # use ccache via portage
+ -Dcastor=OFF
+ -Dchirp=OFF
+ -Dclad=OFF
+ -Dcling=ON # cling=OFF is broken
+ -Dcocoa=$(usex aqua)
+ -Dcuda=$(usex cuda)
+ -Dcxx11=$(usex c++11)
+ -Dcxx14=$(usex c++14)
+ -Dcxx17=$(usex c++17)
+ -Dcxxmodules=OFF # requires clang, unstable
+ -Ddavix=$(usex davix)
+ -Ddcache=OFF
+ -Dfftw3=$(usex fftw)
+ -Dfitsio=$(usex fits)
+ -Dfortran=$(usex fortran)
+ -Dftgl=$(usex opengl)
+ -Dgdml=$(usex gdml)
+ -Dgenvector=ON # genvector=OFF ignored
+ -Dgeocad=OFF
+ -Dgfal=OFF
+ -Dgl2ps=$(usex opengl)
+ -Dglite=OFF # not implemented
+ -Dglobus=OFF
+ -Dgminimal=OFF
+ -Dgsl_shared=$(usex gsl)
+ -Dgviz=$(usex graphviz)
+ -Dhdfs=OFF
+ -Dhttp=$(usex http)
+ -Dimt=$(usex tbb)
+ -Djemalloc=$(usex jemalloc)
+ -Dkrb5=$(usex kerberos)
+ -Dldap=$(usex ldap)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=$(usex memstat)
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(usex minuit)
+ -Dmonalisa=OFF
+ -Dmysql=$(usex mysql)
+ -Dodbc=$(usex odbc)
+ -Dopengl=$(usex opengl)
+ -Doracle=$(usex oracle)
+ -Dpch=ON # pch=OFF is broken
+ -Dpgsql=$(usex postgres)
+ -Dpythia6=$(usex pythia6)
+ -Dpythia8=$(usex pythia8)
+ -Dpython=$(usex python)
+ -Dqt5web=$(usex qt5)
+ -Dqtgsi=OFF
+ -Dqt=OFF
+ -Drfio=OFF
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=OFF
+ -Drpath=OFF
+ -Druby=OFF # deprecated and broken
+ -Druntime_cxxmodules=OFF # does not work yet
+ -Dr=$(usex R)
+ -Dsapdb=OFF # not implemented
+ -Dshadowpw=$(usex shadow)
+ -Dsqlite=$(usex sqlite)
+ -Dsrp=OFF # not implemented
+ -Dssl=$(usex ssl)
+ -Dtable=$(usex table)
+ -Dtcmalloc=OFF
+ -Dtesting=$(usex test)
+ -Dthread=$(usex threads)
+ -Dtmva=$(usex tmva)
+ -Dtmva-cpu=$(usex tmva)
+ -Dtmva-gpu=$(usex cuda)
+ -Dunuran=$(usex unuran)
+ -Dvc=$(usex vc)
+ -Dvdt=OFF
+ -Dveccore=OFF
+ -Dxml=$(usex xml)
+ -Dxrootd=$(usex xrootd)
+ ${EXTRA_ECONF}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ # needed for hsimple.root
+ addwrite /dev/random
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ ROOTSYS=${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)
+ ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
+
+ # ROOT fails without this symlink because it only looks in lib
+ if [[ ! -d ${D}/${ROOTSYS}/lib ]]; then
+ dosym $(get_libdir) /usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/lib
+ fi
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/$(get_libdir)"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=${ROOTSYS}/$(get_libdir)" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ if ! use examples; then
+ rm -r tutorials || die
+ fi
+
+ if ! use tmva; then
+ rm -r tmva || die
+ fi
+
+ # clean up unnecessary files from installation
+ rm -r emacs test || die
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2018-12-14 9:05 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2018-12-14 9:05 UTC (permalink / raw
To: gentoo-commits
commit: fd2ebe266f44577cc85dff6901307cc6ec91d560
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 14 09:03:54 2018 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Dec 14 09:04:02 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd2ebe26
sci-physics/root: make live ebuild come first in PATH
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index d3d0e474cc7..42eab5c6a5b 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -292,7 +292,7 @@ src_install() {
cmake-utils_src_install
ROOTSYS=${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)
- ROOTENV=9999${PN}-$(ver_cut 1-2)
+ ROOTENV=9900${PN}-$(ver_cut 1-2)
# ROOT fails without this symlink because it only looks in lib
if [[ ! -d ${D}/${ROOTSYS}/lib ]]; then
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-01-24 16:24 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-01-24 16:24 UTC (permalink / raw
To: gentoo-commits
commit: e4313a3a2bccb07e165bdb74526e312c387fc33e
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 24 09:03:09 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Jan 24 16:23:08 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4313a3a
sci-physics/root: depend on dev-qt/qtwebengine:5[widgets]
Closes: https://bugs.gentoo.org/674196
Package-Manager: Portage-2.3.58, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.12.06-r8.ebuild | 8 ++++----
sci-physics/root/root-6.14.06-r2.ebuild | 8 ++++----
sci-physics/root/root-6.14.08-r1.ebuild | 8 ++++----
sci-physics/root/root-9999.ebuild | 8 ++++----
4 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r8.ebuild b/sci-physics/root/root-6.12.06-r8.ebuild
index 8431934ba7a..373b866eeae 100644
--- a/sci-physics/root/root-6.12.06-r8.ebuild
+++ b/sci-physics/root/root-6.12.06-r8.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -58,9 +58,9 @@ CDEPEND="
x11-libs/gl2ps:0=
)
qt5? (
- dev-qt/qtcore:5=
- dev-qt/qtgui:5=
- dev-qt/qtwebengine:5=
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwebengine:5[widgets]
)
)
asimage? ( || (
diff --git a/sci-physics/root/root-6.14.06-r2.ebuild b/sci-physics/root/root-6.14.06-r2.ebuild
index e8e14bd43c0..7dcecbbc924 100644
--- a/sci-physics/root/root-6.14.06-r2.ebuild
+++ b/sci-physics/root/root-6.14.06-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -61,9 +61,9 @@ CDEPEND="
x11-libs/gl2ps:0=
)
qt5? (
- dev-qt/qtcore:5=
- dev-qt/qtgui:5=
- dev-qt/qtwebengine:5=
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwebengine:5[widgets]
)
)
asimage? ( || (
diff --git a/sci-physics/root/root-6.14.08-r1.ebuild b/sci-physics/root/root-6.14.08-r1.ebuild
index d107740182a..303a28a3592 100644
--- a/sci-physics/root/root-6.14.08-r1.ebuild
+++ b/sci-physics/root/root-6.14.08-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -61,9 +61,9 @@ CDEPEND="
x11-libs/gl2ps:0=
)
qt5? (
- dev-qt/qtcore:5=
- dev-qt/qtgui:5=
- dev-qt/qtwebengine:5=
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwebengine:5[widgets]
)
)
asimage? ( || (
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 42eab5c6a5b..224a1a09d65 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -70,9 +70,9 @@ CDEPEND="
x11-libs/gl2ps:0=
)
qt5? (
- dev-qt/qtcore:5=
- dev-qt/qtgui:5=
- dev-qt/qtwebengine:5=
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qtwebengine:5[widgets]
)
)
asimage? ( || (
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-01-27 1:40 Benda XU
0 siblings, 0 replies; 196+ messages in thread
From: Benda XU @ 2019-01-27 1:40 UTC (permalink / raw
To: gentoo-commits
commit: 40d80638ed9255a4d263fe7c7fadf9ce7d6cd41c
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 27 00:37:45 2019 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Jan 27 01:40:03 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d80638
sci-physics/root: prefixify clingutils cmake.
Otherwise it tries to look for old headers from the host,
e.g. those requiring xlocale.h.
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
sci-physics/root/root-6.14.08-r1.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sci-physics/root/root-6.14.08-r1.ebuild b/sci-physics/root/root-6.14.08-r1.ebuild
index 303a28a3592..4702845c415 100644
--- a/sci-physics/root/root-6.14.08-r1.ebuild
+++ b/sci-physics/root/root-6.14.08-r1.ebuild
@@ -134,6 +134,8 @@ src_prepare() {
# CSS should use local images
sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
+
+ hprefixify core/clingutils/CMakeLists.txt
}
# Note: ROOT uses bundled clang because it is patched and API-incompatible
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-01-27 1:40 Benda XU
0 siblings, 0 replies; 196+ messages in thread
From: Benda XU @ 2019-01-27 1:40 UTC (permalink / raw
To: gentoo-commits
commit: 4200832ca714151576629577bf2e57161c89d894
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 27 01:39:46 2019 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Jan 27 01:40:04 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4200832c
sci-physics/root: remove useless scripts.
Environment variables are managed by env.d.
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
sci-physics/root/root-6.14.08-r1.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sci-physics/root/root-6.14.08-r1.ebuild b/sci-physics/root/root-6.14.08-r1.ebuild
index 4702845c415..591ae2768d3 100644
--- a/sci-physics/root/root-6.14.08-r1.ebuild
+++ b/sci-physics/root/root-6.14.08-r1.ebuild
@@ -320,6 +320,9 @@ src_install() {
rm -r tmva || die
fi
+ # Environment variables are managed by env.d.
+ rm -f bin/*.{c,}sh || die
+
# clean up unnecessary files from installation
rm -r emacs test || die
}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-02-04 7:38 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-02-04 7:38 UTC (permalink / raw
To: gentoo-commits
commit: 77fb886a0bf351673ebf371d6f87d50cf5f0dd87
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 4 07:37:36 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Feb 4 07:37:57 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77fb886a
sci-physics/root: version bump to 6.16/00
Now using external LLVM.
Bug: https://bugs.gentoo.org/564302
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.16.00.ebuild | 322 +++++++++++++++++++++++++++++++++++
2 files changed, 323 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 0c29d7f76c8..867a78a85d5 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,3 +1,4 @@
DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff08cfa470e63be9a02b948a49ae088e8da72ce433a5071d9196bfd98f71e6861b1bda285354012620eee6c61cffcee71a0c8 SHA512 3d44749ccfc3d40a2f516ae53ef40fb244ed785eee0dbc18ff822bbb811a15b943039d30282ef5358a283d485e62531880c877ec77a86089503b06d6f37e42e1
DIST root_v6.14.06.source.tar.gz 162462837 BLAKE2B a6904b67d1f5964768fa884bd2b5c648390d0b3626b5be8f39ff0e311bf14690d2aff7eb9d6047fa8d5a9de894935067ea8c033592b9795fc34b61aa5f65fcdb SHA512 83698e1213ae9bd4a87ef3160b459c962199585bed7378efc0cfefdc352e6651a17286a11cd925dbcb5d04e1b832d47a3a69849d048731ea9d0d84f9b0f996a4
DIST root_v6.14.08.source.tar.gz 162474562 BLAKE2B f8bfdabb4d91bbdfbab0b17626fff1f8aa265292996d857025cbd1543306f3ec540a1afb080788bfc7149ea835932b59d7c54dcd802354e31294ba2e5e9d2366 SHA512 827e39efbf3c69429a0a256127ca9f87550d9084c34c715bddccbf87a8c111c367b9a0ac6882aac747c9b48f4a3effb3747b4df567429910c93ee64dfe35df5b
+DIST root_v6.16.00.source.tar.gz 164836293 BLAKE2B 9d8f02631bdc1fa1775cbdaf50dd1feacd9b3c86b81d679ba6f0ca3c5787cd1d22ef7c33358b608361a01ad4f0aff3e8c749649d24773a35c52ce87f808d08f5 SHA512 17e5b9815973773e30ff83c2f4028e9e93691c1ecb824c162c8b3e02d1f6666fb8e0b72a5d0652a90032af146d92d271cbffcd634fb6fe6a63bdf46d672789bf
diff --git a/sci-physics/root/root-6.16.00.ebuild b/sci-physics/root/root-6.16.00.ebuild
new file mode 100644
index 00000000000..b70e8aff149
--- /dev/null
+++ b/sci-physics/root/root-6.16.00.ebuild
@@ -0,0 +1,322 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CMAKE_BUILD_TYPE=Release
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
+
+inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
+ llvm prefix python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+
+IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
+ fits fftw fortran +gdml graphviz +gsl http jemalloc kerberos ldap
+ libcxx memstat +minuit mysql odbc +opengl oracle postgres prefix
+ pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl
+ table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml xrootd
+ zeroconf"
+
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="
+ ^^ ( c++11 c++14 c++17 )
+ cuda? ( tmva !c++17 )
+ !X? ( !asimage !opengl !qt5 !tiff )
+ davix? ( ssl xml )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ qt5? ( root7 )
+ root7? ( || ( c++14 c++17 ) )
+ tmva? ( gsl )
+"
+
+CDEPEND="
+ app-arch/lz4
+ app-arch/xz-utils
+ fortran? ( dev-lang/cfortran )
+ dev-libs/libpcre:3
+ dev-libs/xxhash
+ media-fonts/dejavu
+ media-libs/freetype:2
+ media-libs/libpng:0=
+ sys-devel/llvm:5=
+ 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?]
+ >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
+ ) )
+ zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
+ cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
+ davix? ( net-libs/davix )
+ emacs? ( virtual/emacs )
+ fftw? ( sci-libs/fftw:3.0= )
+ fits? ( sci-libs/cfitsio:0= )
+ graphviz? ( media-gfx/graphviz )
+ gsl? ( sci-libs/gsl:= )
+ http? ( dev-libs/fcgi:0= )
+ jemalloc? ( dev-libs/jemalloc )
+ kerberos? ( virtual/krb5 )
+ ldap? ( net-nds/openldap:0= )
+ libcxx? ( sys-libs/libcxx )
+ unuran? ( sci-mathematics/unuran:0= )
+ minuit? ( !sci-libs/minuit )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ postgres? ( dev-db/postgresql:= )
+ pythia6? ( sci-physics/pythia:6 )
+ pythia8? ( sci-physics/pythia:8 )
+ python? ( ${PYTHON_DEPS} )
+ R? ( dev-lang/R )
+ shadow? ( virtual/shadow )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? ( dev-libs/openssl:0= )
+ tbb? ( >=dev-cpp/tbb-2018 )
+ tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ vc? ( dev-libs/vc:= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}
+ xinetd? ( sys-apps/xinetd )"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
+)
+
+pkg_setup() {
+ LLVM_MAX_SLOT=5 llvm_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() {
+ cmake-utils_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"
+
+ hprefixify core/clingutils/CMakeLists.txt
+}
+
+# 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=(
+ -DCMAKE_C_FLAGS="${CFLAGS}"
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
+ -DPYTHON_EXECUTABLE="${PYTHON}"
+ -DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
+ -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}"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dexplicitlink=ON
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dgnuinstall=OFF
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=OFF
+ -Dbuiltin_clang=ON
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=OFF
+ -Dbuiltin_lz4=OFF
+ -Dbuiltin_lzma=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_zlib=OFF
+ -Dx11=$(usex X)
+ -Dxft=$(usex X)
+ -Dafdsmgrd=OFF
+ -Dafs=OFF # not implemented
+ -Dalien=OFF
+ -Dasimage=$(usex asimage)
+ -Dastiff=$(usex tiff)
+ -Dbonjour=$(usex zeroconf)
+ -Dlibcxx=$(usex libcxx)
+ -Dccache=OFF # use ccache via portage
+ -Dcastor=OFF
+ -Dchirp=OFF
+ -Dclad=OFF
+ -Dcling=ON # cling=OFF is broken
+ -Dcocoa=$(usex aqua)
+ -Dcuda=$(usex cuda)
+ -Dcxx11=$(usex c++11)
+ -Dcxx14=$(usex c++14)
+ -Dcxx17=$(usex c++17)
+ -Dcxxmodules=OFF # requires clang, unstable
+ -Ddavix=$(usex davix)
+ -Ddcache=OFF
+ -Dfftw3=$(usex fftw)
+ -Dfitsio=$(usex fits)
+ -Dfortran=$(usex fortran)
+ -Dftgl=$(usex opengl)
+ -Dgdml=$(usex gdml)
+ -Dgenvector=ON # genvector=OFF ignored
+ -Dgeocad=OFF
+ -Dgfal=OFF
+ -Dgl2ps=$(usex opengl)
+ -Dglite=OFF # not implemented
+ -Dglobus=OFF
+ -Dgminimal=OFF
+ -Dgsl_shared=$(usex gsl)
+ -Dgviz=$(usex graphviz)
+ -Dhdfs=OFF
+ -Dhttp=$(usex http)
+ -Dimt=$(usex tbb)
+ -Djemalloc=$(usex jemalloc)
+ -Dkrb5=$(usex kerberos)
+ -Dldap=$(usex ldap)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=$(usex memstat)
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(usex minuit)
+ -Dmonalisa=OFF
+ -Dmysql=$(usex mysql)
+ -Dodbc=$(usex odbc)
+ -Dopengl=$(usex opengl)
+ -Doracle=$(usex oracle)
+ -Dpch=ON # pch=OFF is broken
+ -Dpgsql=$(usex postgres)
+ -Dpythia6=$(usex pythia6)
+ -Dpythia8=$(usex pythia8)
+ -Dpython=$(usex python)
+ -Dqt5web=$(usex qt5)
+ -Dqtgsi=OFF
+ -Dqt=OFF
+ -Drfio=OFF
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=OFF
+ -Drpath=OFF
+ -Druby=OFF # deprecated and broken
+ -Druntime_cxxmodules=OFF # does not work yet
+ -Dr=$(usex R)
+ -Dsapdb=OFF # not implemented
+ -Dshadowpw=$(usex shadow)
+ -Dsqlite=$(usex sqlite)
+ -Dsrp=OFF # not implemented
+ -Dssl=$(usex ssl)
+ -Dtable=$(usex table)
+ -Dtcmalloc=OFF
+ -Dtesting=$(usex test)
+ -Dthread=$(usex threads)
+ -Dtmva=$(usex tmva)
+ -Dtmva-cpu=$(usex tmva)
+ -Dtmva-gpu=$(usex cuda)
+ -Dunuran=$(usex unuran)
+ -Dvc=$(usex vc)
+ -Dvdt=OFF
+ -Dveccore=OFF
+ -Dxml=$(usex xml)
+ -Dxrootd=$(usex xrootd)
+ ${EXTRA_ECONF}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ # needed for hsimple.root
+ addwrite /dev/random
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ ROOTSYS=${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/lib"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r test emacs bin/*.{csh,sh,fish} || die
+
+ if ! use examples; then
+ rm -r tutorials || die
+ fi
+
+ # create versioned symlinks for binaries
+ cd bin;
+ for exe in *; do
+ dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
+ done
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-02-05 9:51 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-02-05 9:51 UTC (permalink / raw
To: gentoo-commits
commit: 05ef4cae5065cbf82803130b8a74c49795a864a1
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 5 09:06:55 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Feb 5 09:49:09 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05ef4cae
sci-physics/root: drop old 6.14/06 version
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 -
sci-physics/root/root-6.14.06-r2.ebuild | 323 --------------------------------
2 files changed, 324 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 867a78a85d5..ba7896daa5b 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,4 +1,3 @@
DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff08cfa470e63be9a02b948a49ae088e8da72ce433a5071d9196bfd98f71e6861b1bda285354012620eee6c61cffcee71a0c8 SHA512 3d44749ccfc3d40a2f516ae53ef40fb244ed785eee0dbc18ff822bbb811a15b943039d30282ef5358a283d485e62531880c877ec77a86089503b06d6f37e42e1
-DIST root_v6.14.06.source.tar.gz 162462837 BLAKE2B a6904b67d1f5964768fa884bd2b5c648390d0b3626b5be8f39ff0e311bf14690d2aff7eb9d6047fa8d5a9de894935067ea8c033592b9795fc34b61aa5f65fcdb SHA512 83698e1213ae9bd4a87ef3160b459c962199585bed7378efc0cfefdc352e6651a17286a11cd925dbcb5d04e1b832d47a3a69849d048731ea9d0d84f9b0f996a4
DIST root_v6.14.08.source.tar.gz 162474562 BLAKE2B f8bfdabb4d91bbdfbab0b17626fff1f8aa265292996d857025cbd1543306f3ec540a1afb080788bfc7149ea835932b59d7c54dcd802354e31294ba2e5e9d2366 SHA512 827e39efbf3c69429a0a256127ca9f87550d9084c34c715bddccbf87a8c111c367b9a0ac6882aac747c9b48f4a3effb3747b4df567429910c93ee64dfe35df5b
DIST root_v6.16.00.source.tar.gz 164836293 BLAKE2B 9d8f02631bdc1fa1775cbdaf50dd1feacd9b3c86b81d679ba6f0ca3c5787cd1d22ef7c33358b608361a01ad4f0aff3e8c749649d24773a35c52ce87f808d08f5 SHA512 17e5b9815973773e30ff83c2f4028e9e93691c1ecb824c162c8b3e02d1f6666fb8e0b72a5d0652a90032af146d92d271cbffcd634fb6fe6a63bdf46d672789bf
diff --git a/sci-physics/root/root-6.14.06-r2.ebuild b/sci-physics/root/root-6.14.06-r2.ebuild
deleted file mode 100644
index 7dcecbbc924..00000000000
--- a/sci-physics/root/root-6.14.06-r2.ebuild
+++ /dev/null
@@ -1,323 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-CMAKE_BUILD_TYPE=Release
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{4,5,6,7} )
-
-inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
- prefix python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
- fits fftw fortran +gdml graphviz +gsl http jemalloc kerberos ldap
- libcxx memstat +minuit mysql odbc +opengl oracle postgres prefix
- pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl
- table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml xrootd
- zeroconf"
-
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="
- ^^ ( c++11 c++14 c++17 )
- !X? ( !asimage !opengl !qt5 !tiff )
- davix? ( ssl xml )
- python? ( ${PYTHON_REQUIRED_USE} )
- qt5? ( root7 )
- root7? ( || ( c++14 c++17 ) )
- tmva? ( gsl )
-"
-
-CDEPEND="
- app-arch/lz4
- app-arch/xz-utils
- fortran? ( dev-lang/cfortran )
- dev-libs/libpcre:3=
- dev-libs/xxhash
- media-fonts/dejavu
- media-libs/freetype:2=
- media-libs/libpng:0=
- 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?]
- >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
- ) )
- zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
- cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
- davix? ( net-libs/davix )
- emacs? ( virtual/emacs )
- fftw? ( sci-libs/fftw:3.0= )
- fits? ( sci-libs/cfitsio:0= )
- graphviz? ( media-gfx/graphviz:0= )
- gsl? ( sci-libs/gsl )
- http? ( dev-libs/fcgi:0= )
- jemalloc? ( dev-libs/jemalloc )
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap:0= )
- libcxx? ( sys-libs/libcxx )
- unuran? ( sci-mathematics/unuran:0= )
- minuit? ( !sci-libs/minuit )
- mysql? ( dev-db/mysql-connector-c )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
- oracle? ( dev-db/oracle-instantclient-basic )
- postgres? ( dev-db/postgresql:= )
- pythia6? ( sci-physics/pythia:6= )
- pythia8? ( sci-physics/pythia:8= )
- python? ( ${PYTHON_DEPS} )
- R? ( dev-lang/R )
- shadow? ( virtual/shadow )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl:0= )
- tbb? ( dev-cpp/tbb )
- tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
- vc? ( dev-libs/vc )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}
- xinetd? ( sys-apps/xinetd )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
- "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
- "${FILESDIR}"/${PN}-6.14.06-oracle.patch
-)
-
-pkg_setup() {
- use fortran && fortran-2_pkg_setup
- use python && python-single-r1_pkg_setup
-
- elog "There are extra options on packages not yet in Gentoo:"
- elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
- elog "HDFS, Monalisa, MaxDB/SapDB, SRP, VecCore."
- elog "You can use the environment variable EXTRA_ECONF for this."
- elog "For example, for Chirp, you would set: "
- elog "EXTRA_ECONF=\"-Dchirp=ON\""
-}
-
-src_prepare() {
- cmake-utils_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"
-}
-
-# 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=(
- -DCMAKE_C_FLAGS="${CFLAGS}"
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -DPYTHON_EXECUTABLE="${PYTHON}"
- -DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)"
- -DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/share/man"
- -DCMAKE_INSTALL_LIBDIR=$(get_libdir)
- -DDEFAULT_SYSROOT="${EPREFIX}"
- -DCLING_BUILD_PLUGINS=OFF
- -Dexplicitlink=ON
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dgnuinstall=OFF
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=ON
- -Dbuiltin_clang=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=OFF
- -Dbuiltin_lz4=OFF
- -Dbuiltin_lzma=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_zlib=OFF
- -Dx11=$(usex X)
- -Dxft=$(usex X)
- -Dafdsmgrd=OFF
- -Dafs=OFF # not implemented
- -Dalien=OFF
- -Dasimage=$(usex asimage)
- -Dastiff=$(usex tiff)
- -Dbonjour=$(usex zeroconf)
- -Dlibcxx=$(usex libcxx)
- -Dccache=OFF # use ccache via portage
- -Dcastor=OFF
- -Dchirp=OFF
- -Dclad=OFF
- -Dcling=ON # cling=OFF is broken
- -Dcocoa=$(usex aqua)
- -Dcuda=$(usex cuda)
- -Dcxx11=$(usex c++11)
- -Dcxx14=$(usex c++14)
- -Dcxx17=$(usex c++17)
- -Dcxxmodules=OFF # requires clang, unstable
- -Ddavix=$(usex davix)
- -Ddcache=OFF
- -Dfftw3=$(usex fftw)
- -Dfitsio=$(usex fits)
- -Dfortran=$(usex fortran)
- -Dftgl=$(usex opengl)
- -Dgdml=$(usex gdml)
- -Dgenvector=ON # genvector=OFF ignored
- -Dgeocad=OFF
- -Dgfal=OFF
- -Dgl2ps=$(usex opengl)
- -Dglite=OFF # not implemented
- -Dglobus=OFF
- -Dgminimal=OFF
- -Dgsl_shared=$(usex gsl)
- -Dgviz=$(usex graphviz)
- -Dhdfs=OFF
- -Dhttp=$(usex http)
- -Dimt=$(usex tbb)
- -Djemalloc=$(usex jemalloc)
- -Dkrb5=$(usex kerberos)
- -Dldap=$(usex ldap)
- -Dmathmore=$(usex gsl)
- -Dmemstat=$(usex memstat)
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(usex minuit)
- -Dmonalisa=OFF
- -Dmysql=$(usex mysql)
- -Dodbc=$(usex odbc)
- -Dopengl=$(usex opengl)
- -Doracle=$(usex oracle)
- -Dpch=ON # pch=OFF is broken
- -Dpgsql=$(usex postgres)
- -Dpythia6=$(usex pythia6)
- -Dpythia8=$(usex pythia8)
- -Dpython=$(usex python)
- -Dqt5web=$(usex qt5)
- -Dqtgsi=OFF
- -Dqt=OFF
- -Drfio=OFF
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=OFF
- -Drpath=OFF
- -Druby=OFF # deprecated and broken
- -Druntime_cxxmodules=OFF # does not work yet
- -Dr=$(usex R)
- -Dsapdb=OFF # not implemented
- -Dshadowpw=$(usex shadow)
- -Dsqlite=$(usex sqlite)
- -Dsrp=OFF # not implemented
- -Dssl=$(usex ssl)
- -Dtable=$(usex table)
- -Dtcmalloc=OFF
- -Dtesting=$(usex test)
- -Dthread=$(usex threads)
- -Dtmva=$(usex tmva)
- -Dtmva-cpu=$(usex tmva)
- -Dtmva-gpu=$(usex cuda)
- -Dunuran=$(usex unuran)
- -Dvc=$(usex vc)
- -Dvdt=OFF
- -Dveccore=OFF
- -Dxml=$(usex xml)
- -Dxrootd=$(usex xrootd)
- ${EXTRA_ECONF}
- )
-
- cmake-utils_src_configure
-}
-
-src_compile() {
- # needed for hsimple.root
- addwrite /dev/random
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
-
- ROOTSYS=${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)
- ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
-
- # ROOT fails without this symlink because it only looks in lib
- if [[ ! -d ${D}/${ROOTSYS}/lib ]]; then
- dosym $(get_libdir) /usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/lib
- fi
-
- cat > ${ROOTENV} <<- EOF || die
- MANPATH="${ROOTSYS}/share/man"
- PATH="${ROOTSYS}/bin"
- ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/$(get_libdir)"
- EOF
-
- if use python; then
- echo "PYTHONPATH=${ROOTSYS}/$(get_libdir)" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- if ! use tmva; then
- rm -r tmva || die
- fi
-
- # clean up unnecessary files from installation
- rm -r emacs test || die
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-02-05 9:51 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-02-05 9:51 UTC (permalink / raw
To: gentoo-commits
commit: e525231758bd7a4a53c4e51b1f4530e8f0eb66e6
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 4 10:16:04 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Feb 5 09:49:09 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5252317
sci-physics/root: backport ebuild fixes to older versions
- Update REQUIRED_USE and dependencies
- Use usr/lib (like LLVM) to avoid ROOT bug
- Create versioned symlinks to binaries to easily allow
running a specific version of ROOT when more than one
version is installed
Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
...ot-6.12.06-r8.ebuild => root-6.12.06-r9.ebuild} | 38 +++++-------
...ot-6.14.08-r1.ebuild => root-6.14.08-r2.ebuild} | 72 ++++++++++------------
2 files changed, 47 insertions(+), 63 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r8.ebuild b/sci-physics/root/root-6.12.06-r9.ebuild
similarity index 90%
rename from sci-physics/root/root-6.12.06-r8.ebuild
rename to sci-physics/root/root-6.12.06-r9.ebuild
index 373b866eeae..3baa2bb1b7e 100644
--- a/sci-physics/root/root-6.12.06-r8.ebuild
+++ b/sci-physics/root/root-6.12.06-r9.ebuild
@@ -146,9 +146,9 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)"
- -DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/share/man"
- -DMCAKE_INSTALL_LIBDIR=$(get_libdir)
+ -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}"
-Dexplicitlink=ON
-Dexceptions=ON
@@ -269,45 +269,37 @@ src_configure() {
src_install() {
cmake-utils_src_install
- ROOTSYS=${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)
+ ROOTSYS=${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)
ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
- # ROOT fails without this symlink because it only looks in lib
- if [[ ! -d ${D}/${ROOTSYS}/lib ]]; then
- dosym $(get_libdir) /usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/lib
- fi
-
cat > ${ROOTENV} <<- EOF || die
MANPATH="${ROOTSYS}/share/man"
PATH="${ROOTSYS}/bin"
ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/$(get_libdir)"
+ LDPATH="${ROOTSYS}/lib"
EOF
if use python; then
- echo "PYTHONPATH=${ROOTSYS}/$(get_libdir)" >> ${ROOTENV} || die
+ echo "PYTHONPATH=${ROOTSYS}/lib" >> ${ROOTENV} || die
fi
doenvd ${ROOTENV}
- pushd "${D}/${ROOTSYS}" > /dev/null
-
if use emacs; then
elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
fi
- if ! use gdml; then
- rm -r geom || die
- fi
+ pushd "${D}/${ROOTSYS}" > /dev/null
- if ! use examples; then
- rm -r test tutorials || die
- fi
+ rm -r test emacs bin/*.{csh,sh} || die
- if use tmva; then
- rm -r tmva || die
+ if ! use examples; then
+ rm -r tutorials || die
fi
- # clean up unnecessary files from installation
- rm -r emacs || die
+ # create versioned symlinks for binaries
+ cd bin;
+ for exe in *; do
+ dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
+ done
}
diff --git a/sci-physics/root/root-6.14.08-r1.ebuild b/sci-physics/root/root-6.14.08-r2.ebuild
similarity index 82%
rename from sci-physics/root/root-6.14.08-r1.ebuild
rename to sci-physics/root/root-6.14.08-r2.ebuild
index 591ae2768d3..2a1d13bad9d 100644
--- a/sci-physics/root/root-6.14.08-r1.ebuild
+++ b/sci-physics/root/root-6.14.08-r2.ebuild
@@ -29,6 +29,7 @@ KEYWORDS="~amd64 ~x86"
REQUIRED_USE="
^^ ( c++11 c++14 c++17 )
+ cuda? ( tmva !c++17 )
!X? ( !asimage !opengl !qt5 !tiff )
davix? ( ssl xml )
python? ( ${PYTHON_REQUIRED_USE} )
@@ -41,18 +42,18 @@ CDEPEND="
app-arch/lz4
app-arch/xz-utils
fortran? ( dev-lang/cfortran )
- dev-libs/libpcre:3=
+ dev-libs/libpcre:3
dev-libs/xxhash
media-fonts/dejavu
- media-libs/freetype:2=
+ media-libs/freetype:2
media-libs/libpng:0=
sys-libs/ncurses:=
sys-libs/zlib
X? (
- x11-libs/libX11:0=
- x11-libs/libXext:0=
- x11-libs/libXft:0=
- x11-libs/libXpm:0=
+ 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=
@@ -76,8 +77,8 @@ CDEPEND="
emacs? ( virtual/emacs )
fftw? ( sci-libs/fftw:3.0= )
fits? ( sci-libs/cfitsio:0= )
- graphviz? ( media-gfx/graphviz:0= )
- gsl? ( sci-libs/gsl )
+ graphviz? ( media-gfx/graphviz )
+ gsl? ( sci-libs/gsl:= )
http? ( dev-libs/fcgi:0= )
jemalloc? ( dev-libs/jemalloc )
kerberos? ( virtual/krb5 )
@@ -89,8 +90,8 @@ CDEPEND="
odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
oracle? ( dev-db/oracle-instantclient-basic )
postgres? ( dev-db/postgresql:= )
- pythia6? ( sci-physics/pythia:6= )
- pythia8? ( sci-physics/pythia:8= )
+ pythia6? ( sci-physics/pythia:6 )
+ pythia8? ( sci-physics/pythia:8 )
python? ( ${PYTHON_DEPS} )
R? ( dev-lang/R )
shadow? ( virtual/shadow )
@@ -98,7 +99,7 @@ CDEPEND="
ssl? ( dev-libs/openssl:0= )
tbb? ( >=dev-cpp/tbb-2018 )
tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
- vc? ( dev-libs/vc )
+ vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
"
@@ -119,12 +120,10 @@ pkg_setup() {
use fortran && fortran-2_pkg_setup
use python && python-single-r1_pkg_setup
- elog "There are extra options on packages not yet in Gentoo:"
- elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
- elog "HDFS, Monalisa, MaxDB/SapDB, SRP, VecCore."
- elog "You can use the environment variable EXTRA_ECONF for this."
- elog "For example, for Chirp, you would set: "
- elog "EXTRA_ECONF=\"-Dchirp=ON\""
+ 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() {
@@ -140,7 +139,7 @@ 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
+# 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.
@@ -149,9 +148,9 @@ src_configure() {
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-DPYTHON_EXECUTABLE="${PYTHON}"
- -DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)"
- -DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/share/man"
- -DCMAKE_INSTALL_LIBDIR=$(get_libdir)
+ -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}"
-DCLING_BUILD_PLUGINS=OFF
-Dexplicitlink=ON
@@ -285,44 +284,37 @@ src_compile() {
src_install() {
cmake-utils_src_install
- ROOTSYS=${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)
+ ROOTSYS=${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)
ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
- # ROOT fails without this symlink because it only looks in lib
- if [[ ! -d ${D}/${ROOTSYS}/lib ]]; then
- dosym $(get_libdir) /usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/lib
- fi
-
cat > ${ROOTENV} <<- EOF || die
MANPATH="${ROOTSYS}/share/man"
PATH="${ROOTSYS}/bin"
ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/$(get_libdir)"
+ LDPATH="${ROOTSYS}/lib"
EOF
if use python; then
- echo "PYTHONPATH=${ROOTSYS}/$(get_libdir)" >> ${ROOTENV} || die
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
fi
doenvd ${ROOTENV}
- pushd "${D}/${ROOTSYS}" > /dev/null
-
if use emacs; then
elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
fi
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r test emacs bin/*.{csh,sh} || die
+
if ! use examples; then
rm -r tutorials || die
fi
- if ! use tmva; then
- rm -r tmva || die
- fi
-
- # Environment variables are managed by env.d.
- rm -f bin/*.{c,}sh || die
-
- # clean up unnecessary files from installation
- rm -r emacs test || die
+ # create versioned symlinks for binaries
+ cd bin;
+ for exe in *; do
+ dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
+ done
}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-05-07 6:47 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-05-07 6:47 UTC (permalink / raw
To: gentoo-commits
commit: 7b1bfb8e2d62b443769ecbca0596a00229e4f2a6
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu May 2 14:50:17 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue May 7 06:30:26 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b1bfb8e
sci-physics/root: update live ebuild for upstream changes
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 106 +++++++++++++++++++++-----------------
1 file changed, 58 insertions(+), 48 deletions(-)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index df57dd82e74..0c248faf0e5 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -10,18 +10,7 @@ FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
- prefix python-single-r1 toolchain-funcs
-
-if [[ ${PV} == "9999" ]] ; then
- inherit git-r3
- KEYWORDS=""
- EGIT_REPO_URI="http://root.cern/git/root.git"
- SLOT=0
-else
- KEYWORDS="~amd64 ~x86"
- SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
- SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-fi
+ llvm prefix python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
@@ -33,10 +22,26 @@ IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml xrootd
zeroconf"
+if [[ ${PV} =~ "9999" ]] ; then
+ inherit git-r3
+ KEYWORDS=""
+ EGIT_REPO_URI="http://root.cern/git/root.git"
+ if [[ ${PV} == "9999" ]]; then
+ SLOT="0"
+ else
+ SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+ EGIT_BRANCH="v$(ver_cut 1)-$(ver_cut 2)-00-patches"
+ fi
+else
+ 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++11 c++14 c++17 )
+ cuda? ( tmva !c++17 )
!X? ( !asimage !opengl !qt5 !tiff )
davix? ( ssl xml )
python? ( ${PYTHON_REQUIRED_USE} )
@@ -49,19 +54,19 @@ CDEPEND="
app-arch/lz4
app-arch/xz-utils
fortran? ( dev-lang/cfortran )
- dev-libs/libpcre:3=
+ dev-libs/libpcre:3
dev-libs/xxhash
media-fonts/dejavu
- media-libs/freetype:2=
+ media-libs/freetype:2
media-libs/libpng:0=
sys-devel/llvm:5=
sys-libs/ncurses:=
sys-libs/zlib
X? (
- x11-libs/libX11:0=
- x11-libs/libXext:0=
- x11-libs/libXft:0=
- x11-libs/libXpm:0=
+ 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=
@@ -85,8 +90,8 @@ CDEPEND="
emacs? ( virtual/emacs )
fftw? ( sci-libs/fftw:3.0= )
fits? ( sci-libs/cfitsio:0= )
- graphviz? ( media-gfx/graphviz:0= )
- gsl? ( sci-libs/gsl )
+ graphviz? ( media-gfx/graphviz )
+ gsl? ( sci-libs/gsl:= )
http? ( dev-libs/fcgi:0= )
jemalloc? ( dev-libs/jemalloc )
kerberos? ( virtual/krb5 )
@@ -98,8 +103,8 @@ CDEPEND="
odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
oracle? ( dev-db/oracle-instantclient-basic )
postgres? ( dev-db/postgresql:= )
- pythia6? ( sci-physics/pythia:6= )
- pythia8? ( sci-physics/pythia:8= )
+ pythia6? ( sci-physics/pythia:6 )
+ pythia8? ( sci-physics/pythia:8 )
python? ( ${PYTHON_DEPS} )
R? ( dev-lang/R )
shadow? ( virtual/shadow )
@@ -107,7 +112,7 @@ CDEPEND="
ssl? ( dev-libs/openssl:0= )
tbb? ( >=dev-cpp/tbb-2018 )
tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
- vc? ( dev-libs/vc )
+ vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
"
@@ -123,15 +128,15 @@ PATCHES=(
)
pkg_setup() {
+ LLVM_MAX_SLOT=5 llvm_pkg_setup
+
use fortran && fortran-2_pkg_setup
use python && python-single-r1_pkg_setup
- elog "There are extra options on packages not yet in Gentoo:"
- elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
- elog "HDFS, Monalisa, MaxDB/SapDB, SRP, VecCore."
- elog "You can use the environment variable EXTRA_ECONF for this."
- elog "For example, for Chirp, you would set: "
- elog "EXTRA_ECONF=\"-Dchirp=ON\""
+ 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() {
@@ -141,11 +146,13 @@ src_prepare() {
# CSS should use local images
sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
+
+ hprefixify core/clingutils/CMakeLists.txt
}
# 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
+# 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.
@@ -154,11 +161,11 @@ src_configure() {
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-DPYTHON_EXECUTABLE="${PYTHON}"
- -DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)"
- -DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/share/man"
- -DCMAKE_INSTALL_LIBDIR=$(get_libdir)
+ -DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
+ -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}"
- -DLLVM_CONFIG="${EPREFIX%/}/usr/lib/llvm/5/bin/llvm-config"
-DCLING_BUILD_PLUGINS=OFF
-Dexplicitlink=ON
-Dexceptions=ON
@@ -291,41 +298,44 @@ src_compile() {
src_install() {
cmake-utils_src_install
- ROOTSYS=${EPREFIX%/}/usr/$(get_libdir)/${PN}/$(ver_cut 1-2)
- ROOTENV=9900${PN}-$(ver_cut 1-2)
+ ROOTSYS=${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)
- # ROOT fails without this symlink because it only looks in lib
- if [[ ! -d ${D}/${ROOTSYS}/lib ]]; then
- dosym $(get_libdir) /usr/$(get_libdir)/${PN}/$(ver_cut 1-2)/lib
+ if [[ ${PV} == "9999" ]]; then
+ ROOTENV=$((9900 - $(ver_cut 2)))${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}/$(get_libdir)"
+ LDPATH="${ROOTSYS}/lib"
EOF
if use python; then
- echo "PYTHONPATH=${ROOTSYS}/$(get_libdir)" >> ${ROOTENV} || die
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
fi
doenvd ${ROOTENV}
- pushd "${D}/${ROOTSYS}" > /dev/null
-
if use emacs; then
elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
fi
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r test emacs bin/*.{csh,sh,fish} || die
+
if ! use examples; then
rm -r tutorials || die
fi
- if ! use tmva; then
- rm -r tmva || die
+ # 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
-
- # clean up unnecessary files from installation
- rm -r emacs test || die
}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-05-07 6:47 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-05-07 6:47 UTC (permalink / raw
To: gentoo-commits
commit: a0b5a58dd6efb7fb0c54857453381f5572a1ea3e
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue May 7 06:25:56 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue May 7 06:30:26 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0b5a58d
sci-physics/root: update dependencies for afterstep removal
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.12.06-r9.ebuild | 5 +----
sci-physics/root/root-6.14.08-r2.ebuild | 5 +----
sci-physics/root/root-6.16.00-r1.ebuild | 5 +----
sci-physics/root/root-6.16.00.ebuild | 5 +----
sci-physics/root/root-9999.ebuild | 11 ++++-------
5 files changed, 8 insertions(+), 23 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r9.ebuild b/sci-physics/root/root-6.12.06-r9.ebuild
index eecef68d7cb..7797664bc1d 100644
--- a/sci-physics/root/root-6.12.06-r9.ebuild
+++ b/sci-physics/root/root-6.12.06-r9.ebuild
@@ -63,10 +63,7 @@ CDEPEND="
dev-qt/qtwebengine:5[widgets]
)
)
- asimage? ( || (
- media-libs/libafterimage[gif,jpeg,png,tiff?]
- >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
- ) )
+ asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff?] )
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
davix? ( net-libs/davix )
emacs? ( virtual/emacs )
diff --git a/sci-physics/root/root-6.14.08-r2.ebuild b/sci-physics/root/root-6.14.08-r2.ebuild
index 9bdd6bbf7eb..36f4c068c94 100644
--- a/sci-physics/root/root-6.14.08-r2.ebuild
+++ b/sci-physics/root/root-6.14.08-r2.ebuild
@@ -67,10 +67,7 @@ CDEPEND="
dev-qt/qtwebengine:5[widgets]
)
)
- asimage? ( || (
- media-libs/libafterimage[gif,jpeg,png,tiff?]
- >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
- ) )
+ asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff?] )
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
davix? ( net-libs/davix )
diff --git a/sci-physics/root/root-6.16.00-r1.ebuild b/sci-physics/root/root-6.16.00-r1.ebuild
index ca7b8a8c5fd..7d0884db553 100644
--- a/sci-physics/root/root-6.16.00-r1.ebuild
+++ b/sci-physics/root/root-6.16.00-r1.ebuild
@@ -68,10 +68,7 @@ CDEPEND="
dev-qt/qtwebengine:5[widgets]
)
)
- asimage? ( || (
- media-libs/libafterimage[gif,jpeg,png,tiff?]
- >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
- ) )
+ asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff?] )
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
davix? ( net-libs/davix )
diff --git a/sci-physics/root/root-6.16.00.ebuild b/sci-physics/root/root-6.16.00.ebuild
index ddd708c69ae..c6952c5f419 100644
--- a/sci-physics/root/root-6.16.00.ebuild
+++ b/sci-physics/root/root-6.16.00.ebuild
@@ -68,10 +68,7 @@ CDEPEND="
dev-qt/qtwebengine:5[widgets]
)
)
- asimage? ( || (
- media-libs/libafterimage[gif,jpeg,png,tiff?]
- >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
- ) )
+ asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff?] )
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
davix? ( net-libs/davix )
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 0c248faf0e5..77c8e057cd0 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -80,10 +80,7 @@ CDEPEND="
dev-qt/qtwebengine:5[widgets]
)
)
- asimage? ( || (
- media-libs/libafterimage[gif,jpeg,png,tiff?]
- >=x11-wm/afterstep-2.2.11[gif,jpeg,png,tiff?]
- ) )
+ asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff?] )
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
davix? ( net-libs/davix )
@@ -301,9 +298,9 @@ src_install() {
ROOTSYS=${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)
if [[ ${PV} == "9999" ]]; then
- ROOTENV=$((9900 - $(ver_cut 2)))${PN}-git
+ ROOTENV="9900${PN}-git"
else
- ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)-git
+ ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)-git"
fi
cat > ${ROOTENV} <<- EOF || die
@@ -325,7 +322,7 @@ src_install() {
pushd "${D}/${ROOTSYS}" > /dev/null
- rm -r test emacs bin/*.{csh,sh,fish} || die
+ rm -r emacs bin/*.{csh,sh,fish} || die
if ! use examples; then
rm -r tutorials || die
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-06-27 11:58 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-06-27 11:58 UTC (permalink / raw
To: gentoo-commits
commit: ef2cdd6a42af0cb72ad692a07baed6b9567dca0a
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 27 10:14:20 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Jun 27 11:55:31 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef2cdd6a
sci-physics/root: version bump to 6.18.00
Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/metadata.xml | 1 +
sci-physics/root/root-6.18.00.ebuild | 299 +++++++++++++++++++++++++++++++++++
3 files changed, 301 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index ba7896daa5b..15cf346718f 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,3 +1,4 @@
DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff08cfa470e63be9a02b948a49ae088e8da72ce433a5071d9196bfd98f71e6861b1bda285354012620eee6c61cffcee71a0c8 SHA512 3d44749ccfc3d40a2f516ae53ef40fb244ed785eee0dbc18ff822bbb811a15b943039d30282ef5358a283d485e62531880c877ec77a86089503b06d6f37e42e1
DIST root_v6.14.08.source.tar.gz 162474562 BLAKE2B f8bfdabb4d91bbdfbab0b17626fff1f8aa265292996d857025cbd1543306f3ec540a1afb080788bfc7149ea835932b59d7c54dcd802354e31294ba2e5e9d2366 SHA512 827e39efbf3c69429a0a256127ca9f87550d9084c34c715bddccbf87a8c111c367b9a0ac6882aac747c9b48f4a3effb3747b4df567429910c93ee64dfe35df5b
DIST root_v6.16.00.source.tar.gz 164836293 BLAKE2B 9d8f02631bdc1fa1775cbdaf50dd1feacd9b3c86b81d679ba6f0ca3c5787cd1d22ef7c33358b608361a01ad4f0aff3e8c749649d24773a35c52ce87f808d08f5 SHA512 17e5b9815973773e30ff83c2f4028e9e93691c1ecb824c162c8b3e02d1f6666fb8e0b72a5d0652a90032af146d92d271cbffcd634fb6fe6a63bdf46d672789bf
+DIST root_v6.18.00.source.tar.gz 165917160 BLAKE2B 8c83f4dc7a7af8f8627e7711792d09800d3b426ce9ca338aad3bc65c9c307723bd97ca84f0e1790fb844f80be80c8cea9e58c1a6b469880752439db21f7d34cd SHA512 abc4630b773f979e01e0ede7bee095fa3f0f8172218538b37e68230dfce6f0623f24a9567bd40cf1e72ccb4e3398cec858fdfd53ba246ca3615fefd9e5a0d0cd
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml
index 3c004c04055..f2ba440c8ce 100644
--- a/sci-physics/root/metadata.xml
+++ b/sci-physics/root/metadata.xml
@@ -44,6 +44,7 @@
<flag name="tmva">Built TMVA (ROOT's multi-variate analysis toolkit for machine learning)</flag>
<flag name="unuran">Enable support for <pkg>sci-mathematics/unuran</pkg></flag>
<flag name="vc">Enable support for <pkg>dev-libs/vc</pkg> with VecCore</flag>
+ <flag name="vmc">Built the Virtual Monte Carlo library</flag>
<flag name="xrootd">Build the interface for <pkg>net-libs/xrootd</pkg> </flag>
</use>
</pkgmetadata>
diff --git a/sci-physics/root/root-6.18.00.ebuild b/sci-physics/root/root-6.18.00.ebuild
new file mode 100644
index 00000000000..24f874e28af
--- /dev/null
+++ b/sci-physics/root/root-6.18.00.ebuild
@@ -0,0 +1,299 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+CMAKE_BUILD_TYPE=Release
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
+
+inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
+ llvm prefix python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+
+IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
+ fits fftw fortran +gdml graphviz +gsl http jemalloc libcxx memstat
+ +minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
+ +python qt5 R +roofit root7 shadow sqlite +ssl +tbb test +threads
+ +tiff +tmva +unuran vc +vmc +xml xrootd"
+
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="
+ ^^ ( c++11 c++14 c++17 )
+ cuda? ( tmva !c++17 )
+ !X? ( !asimage !opengl !qt5 !tiff )
+ davix? ( ssl xml )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ qt5? ( root7 )
+ root7? ( || ( c++14 c++17 ) )
+ tmva? ( gsl )
+"
+
+CDEPEND="
+ app-arch/lz4
+ app-arch/xz-utils
+ fortran? ( dev-lang/cfortran )
+ dev-libs/libpcre:3
+ dev-libs/xxhash
+ media-fonts/dejavu
+ media-libs/freetype:2
+ media-libs/libpng:0=
+ sys-devel/llvm:5=
+ 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 )
+ davix? ( net-libs/davix )
+ emacs? ( virtual/emacs )
+ fftw? ( sci-libs/fftw:3.0= )
+ fits? ( sci-libs/cfitsio:0= )
+ graphviz? ( media-gfx/graphviz )
+ gsl? ( sci-libs/gsl:= )
+ http? ( dev-libs/fcgi:0= )
+ jemalloc? ( dev-libs/jemalloc )
+ libcxx? ( sys-libs/libcxx )
+ unuran? ( sci-mathematics/unuran:0= )
+ minuit? ( !sci-libs/minuit )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ postgres? ( dev-db/postgresql:= )
+ pythia6? ( sci-physics/pythia:6 )
+ pythia8? ( sci-physics/pythia:8 )
+ python? ( ${PYTHON_DEPS} )
+ R? ( dev-lang/R )
+ shadow? ( virtual/shadow )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? ( dev-libs/openssl:0= )
+ tbb? ( >=dev-cpp/tbb-2018 )
+ tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ vc? ( dev-libs/vc:= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
+)
+
+pkg_setup() {
+ LLVM_MAX_SLOT=5 llvm_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() {
+ cmake-utils_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"
+
+ hprefixify core/clingutils/CMakeLists.txt
+}
+
+# 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=(
+ -DCMAKE_C_FLAGS="${CFLAGS}"
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
+ -DCMAKE_CXX_STANDARD=$(usev c++11 || usev c++14 || usev c++17 | cut -c4-)
+ -DPYTHON_EXECUTABLE="${PYTHON}"
+ -DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
+ -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}"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dexplicitlink=ON
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dgnuinstall=OFF
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=OFF
+ -Dbuiltin_clang=ON
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=OFF
+ -Dbuiltin_lz4=OFF
+ -Dbuiltin_lzma=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_zlib=OFF
+ -Dx11=$(usex X)
+ -Dxft=$(usex X)
+ -Dalien=OFF
+ -Darrow=OFF
+ -Dasimage=$(usex asimage)
+ -Dastiff=$(usex tiff)
+ -Dlibcxx=$(usex libcxx)
+ -Dccache=OFF # use ccache via portage
+ -Dcefweb=OFF
+ -Dchirp=OFF
+ -Dclad=OFF
+ -Dcling=ON # cling=OFF is broken
+ -Dcocoa=$(usex aqua)
+ -Dcuda=$(usex cuda)
+ -Dcxxmodules=OFF # requires clang, unstable
+ -Ddavix=$(usex davix)
+ -Ddcache=OFF
+ -Dfftw3=$(usex fftw)
+ -Dfitsio=$(usex fits)
+ -Dfortran=$(usex fortran)
+ -Dftgl=$(usex opengl)
+ -Dgdml=$(usex gdml)
+ -Dgenvector=ON # genvector=OFF ignored
+ -Dgeocad=OFF
+ -Dgfal=OFF
+ -Dgl2ps=$(usex opengl)
+ -Dgminimal=OFF
+ -Dgsl_shared=$(usex gsl)
+ -Dgviz=$(usex graphviz)
+ -Dhttp=$(usex http)
+ -Dimt=$(usex tbb)
+ -Djemalloc=$(usex jemalloc)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=$(usex memstat)
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(usex minuit)
+ -Dmonalisa=OFF
+ -Dmysql=$(usex mysql)
+ -Dodbc=$(usex odbc)
+ -Dopengl=$(usex opengl)
+ -Doracle=$(usex oracle)
+ -Dpch=ON # pch=OFF is broken
+ -Dpgsql=$(usex postgres)
+ -Dpythia6=$(usex pythia6)
+ -Dpythia8=$(usex pythia8)
+ -Dpython=$(usex python)
+ -Dqt5web=$(usex qt5)
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=OFF
+ -Drpath=OFF
+ -Druntime_cxxmodules=OFF # does not work yet
+ -Dr=$(usex R)
+ -Dshadowpw=$(usex shadow)
+ -Dsqlite=$(usex sqlite)
+ -Dssl=$(usex ssl)
+ -Dtcmalloc=OFF
+ -Dtesting=$(usex test)
+ -Dthread=$(usex threads)
+ -Dtmva=$(usex tmva)
+ -Dtmva-cpu=$(usex tmva)
+ -Dtmva-gpu=$(usex cuda)
+ -Dunuran=$(usex unuran)
+ -Dvc=$(usex vc)
+ -Dvmc=$(usex vmc)
+ -Dvdt=OFF
+ -Dveccore=OFF
+ -Dxml=$(usex xml)
+ -Dxrootd=$(usex xrootd)
+ ${EXTRA_ECONF}
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ # needed for hsimple.root
+ addwrite /dev/random
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ ROOTSYS=${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/lib"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r emacs bin/*.{csh,sh,fish} || die
+
+ if ! use examples; then
+ rm -r tutorials || die
+ fi
+
+ # create versioned symlinks for binaries
+ cd bin;
+ for exe in *; do
+ dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
+ done
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-06-27 13:23 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-06-27 13:23 UTC (permalink / raw
To: gentoo-commits
commit: a5ece4c8e7df20cb9aef07dcbf51eb3818a2e616
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 27 12:28:25 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Jun 27 13:19:59 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5ece4c8
sci-physics/root: update live ebuild
This update is mainly to sync build options with
upstream changes.
Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 55 +++++++++------------------------------
1 file changed, 13 insertions(+), 42 deletions(-)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 77c8e057cd0..f2580225027 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -16,11 +16,10 @@ DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
- fits fftw fortran +gdml graphviz +gsl http jemalloc kerberos ldap
- libcxx memstat +minuit mysql odbc +opengl oracle postgres prefix
- pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl
- table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml xrootd
- zeroconf"
+ fits fftw fortran +gdml graphviz +gsl http libcxx +minuit mysql
+ odbc +opengl oracle postgres prefix pythia6 pythia8 +python qt5 R
+ +roofit root7 shadow sqlite +ssl +tbb test +tmva +unuran vc vmc
+ +xml xrootd"
if [[ ${PV} =~ "9999" ]] ; then
inherit git-r3
@@ -42,7 +41,7 @@ LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
REQUIRED_USE="
^^ ( c++11 c++14 c++17 )
cuda? ( tmva !c++17 )
- !X? ( !asimage !opengl !qt5 !tiff )
+ !X? ( !asimage !opengl !qt5 )
davix? ( ssl xml )
python? ( ${PYTHON_REQUIRED_USE} )
qt5? ( root7 )
@@ -80,8 +79,7 @@ CDEPEND="
dev-qt/qtwebengine:5[widgets]
)
)
- asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff?] )
- zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
+ asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
davix? ( net-libs/davix )
emacs? ( virtual/emacs )
@@ -90,9 +88,6 @@ CDEPEND="
graphviz? ( media-gfx/graphviz )
gsl? ( sci-libs/gsl:= )
http? ( dev-libs/fcgi:0= )
- jemalloc? ( dev-libs/jemalloc )
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap:0= )
libcxx? ( sys-libs/libcxx )
unuran? ( sci-mathematics/unuran:0= )
minuit? ( !sci-libs/minuit )
@@ -117,8 +112,7 @@ CDEPEND="
DEPEND="${CDEPEND}
virtual/pkgconfig"
-RDEPEND="${CDEPEND}
- xinetd? ( sys-apps/xinetd )"
+RDEPEND="${CDEPEND}"
PATCHES=(
"${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
@@ -157,6 +151,7 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
+ -DCMAKE_CXX_STANDARD=$(usev c++11 || usev c++14 || usev c++17 | cut -c4-)
-DPYTHON_EXECUTABLE="${PYTHON}"
-DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
-DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)"
@@ -194,24 +189,15 @@ src_configure() {
-Dbuiltin_xxhash=OFF
-Dbuiltin_zlib=OFF
-Dx11=$(usex X)
- -Dxft=$(usex X)
- -Dafdsmgrd=OFF
- -Dafs=OFF # not implemented
-Dalien=OFF
+ -Darrow=OFF
-Dasimage=$(usex asimage)
- -Dastiff=$(usex tiff)
- -Dbonjour=$(usex zeroconf)
-Dlibcxx=$(usex libcxx)
-Dccache=OFF # use ccache via portage
- -Dcastor=OFF
- -Dchirp=OFF
+ -Dcefweb=OFF
-Dclad=OFF
- -Dcling=ON # cling=OFF is broken
-Dcocoa=$(usex aqua)
-Dcuda=$(usex cuda)
- -Dcxx11=$(usex c++11)
- -Dcxx14=$(usex c++14)
- -Dcxx17=$(usex c++17)
-Dcxxmodules=OFF # requires clang, unstable
-Ddavix=$(usex davix)
-Ddcache=OFF
@@ -220,62 +206,47 @@ src_configure() {
-Dfortran=$(usex fortran)
-Dftgl=$(usex opengl)
-Dgdml=$(usex gdml)
- -Dgenvector=ON # genvector=OFF ignored
- -Dgeocad=OFF
-Dgfal=OFF
-Dgl2ps=$(usex opengl)
- -Dglite=OFF # not implemented
- -Dglobus=OFF
-Dgminimal=OFF
-Dgsl_shared=$(usex gsl)
-Dgviz=$(usex graphviz)
- -Dhdfs=OFF
-Dhttp=$(usex http)
-Dimt=$(usex tbb)
- -Djemalloc=$(usex jemalloc)
- -Dkrb5=$(usex kerberos)
- -Dldap=$(usex ldap)
-Dmathmore=$(usex gsl)
- -Dmemstat=$(usex memstat)
+ -Dmemstat=OFF # deprecated
-Dminimal=OFF
-Dminuit2=$(usex minuit)
-Dminuit=$(usex minuit)
+ -Dmlp=$(usex tmva)
-Dmonalisa=OFF
-Dmysql=$(usex mysql)
-Dodbc=$(usex odbc)
-Dopengl=$(usex opengl)
-Doracle=$(usex oracle)
- -Dpch=ON # pch=OFF is broken
-Dpgsql=$(usex postgres)
-Dpythia6=$(usex pythia6)
-Dpythia8=$(usex pythia8)
-Dpython=$(usex python)
-Dqt5web=$(usex qt5)
- -Dqtgsi=OFF
- -Dqt=OFF
- -Drfio=OFF
-Droofit=$(usex roofit)
-Droot7=$(usex root7)
-Drootbench=OFF
-Droottest=OFF
-Drpath=OFF
- -Druby=OFF # deprecated and broken
-Druntime_cxxmodules=OFF # does not work yet
-Dr=$(usex R)
- -Dsapdb=OFF # not implemented
-Dshadowpw=$(usex shadow)
-Dsqlite=$(usex sqlite)
- -Dsrp=OFF # not implemented
-Dssl=$(usex ssl)
- -Dtable=$(usex table)
-Dtcmalloc=OFF
-Dtesting=$(usex test)
- -Dthread=$(usex threads)
-Dtmva=$(usex tmva)
-Dtmva-cpu=$(usex tmva)
-Dtmva-gpu=$(usex cuda)
-Dunuran=$(usex unuran)
-Dvc=$(usex vc)
+ -Dvmc=$(usex vmc)
-Dvdt=OFF
-Dveccore=OFF
-Dxml=$(usex xml)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-06-28 6:16 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-06-28 6:16 UTC (permalink / raw
To: gentoo-commits
commit: a71d539897b018ba4b098bc17fb29b6359d21227
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 28 06:16:20 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 06:16:38 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a71d5398
sci-physics/root: fix C++ standard setting
Package-Manager: Portage-2.3.67, Repoman-2.3.16
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.18.00.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/root-6.18.00.ebuild b/sci-physics/root/root-6.18.00.ebuild
index 24f874e28af..9ce194c2349 100644
--- a/sci-physics/root/root-6.18.00.ebuild
+++ b/sci-physics/root/root-6.18.00.ebuild
@@ -140,7 +140,7 @@ src_configure() {
local mycmakeargs=(
-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++11 || usev c++14 || usev c++17) | cut -c4-)
-DPYTHON_EXECUTABLE="${PYTHON}"
-DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
-DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)"
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index f2580225027..ef22dfe2f86 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -151,7 +151,7 @@ src_configure() {
local mycmakeargs=(
-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++11 || usev c++14 || usev c++17) | cut -c4-)
-DPYTHON_EXECUTABLE="${PYTHON}"
-DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
-DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-07-17 14:06 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-07-17 14:06 UTC (permalink / raw
To: gentoo-commits
commit: abe599e6668858d04bfcd46b90cc7a60fce4bc49
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 17 11:11:01 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Jul 17 14:04:43 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abe599e6
sci-physics/root: fix configuration with USE=-python, bug 690020
CMake already finds the right python automatically, there's no
need to add -DPYTHON_EXECUTABLE="${PYTHON}" to the configuration.
Closes: https://bugs.gentoo.org/690020
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.14.08-r2.ebuild | 1 -
sci-physics/root/root-6.16.00-r1.ebuild | 1 -
sci-physics/root/root-6.16.00.ebuild | 1 -
sci-physics/root/root-6.18.00.ebuild | 1 -
sci-physics/root/root-9999.ebuild | 1 -
5 files changed, 5 deletions(-)
diff --git a/sci-physics/root/root-6.14.08-r2.ebuild b/sci-physics/root/root-6.14.08-r2.ebuild
index 36f4c068c94..69718f3f625 100644
--- a/sci-physics/root/root-6.14.08-r2.ebuild
+++ b/sci-physics/root/root-6.14.08-r2.ebuild
@@ -144,7 +144,6 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -DPYTHON_EXECUTABLE="${PYTHON}"
-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"
diff --git a/sci-physics/root/root-6.16.00-r1.ebuild b/sci-physics/root/root-6.16.00-r1.ebuild
index 7d0884db553..c893ead5cca 100644
--- a/sci-physics/root/root-6.16.00-r1.ebuild
+++ b/sci-physics/root/root-6.16.00-r1.ebuild
@@ -146,7 +146,6 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -DPYTHON_EXECUTABLE="${PYTHON}"
-DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
-DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)"
-DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)/share/man"
diff --git a/sci-physics/root/root-6.16.00.ebuild b/sci-physics/root/root-6.16.00.ebuild
index c6952c5f419..86ee4bde95b 100644
--- a/sci-physics/root/root-6.16.00.ebuild
+++ b/sci-physics/root/root-6.16.00.ebuild
@@ -145,7 +145,6 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -DPYTHON_EXECUTABLE="${PYTHON}"
-DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
-DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)"
-DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)/share/man"
diff --git a/sci-physics/root/root-6.18.00.ebuild b/sci-physics/root/root-6.18.00.ebuild
index 9ce194c2349..7d471c4b206 100644
--- a/sci-physics/root/root-6.18.00.ebuild
+++ b/sci-physics/root/root-6.18.00.ebuild
@@ -141,7 +141,6 @@ src_configure() {
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-)
- -DPYTHON_EXECUTABLE="${PYTHON}"
-DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
-DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)"
-DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)/share/man"
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index ef22dfe2f86..d300c32a937 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -152,7 +152,6 @@ src_configure() {
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-)
- -DPYTHON_EXECUTABLE="${PYTHON}"
-DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
-DCMAKE_INSTALL_PREFIX="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)"
-DCMAKE_INSTALL_MANDIR="${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)/share/man"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-07-17 14:06 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-07-17 14:06 UTC (permalink / raw
To: gentoo-commits
commit: abab5ea4076a405013a26ca0f252382c8f15acb2
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 17 11:14:50 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Jul 17 14:04:43 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abab5ea4
sci-physics/root: prefixify clingutils CMakeLists.txt also for 6.12
See commit 40d80638ed9255a4d263fe7c7fadf9ce7d6cd41c.
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.12.06-r9.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sci-physics/root/root-6.12.06-r9.ebuild b/sci-physics/root/root-6.12.06-r9.ebuild
index 7797664bc1d..244f4d26df8 100644
--- a/sci-physics/root/root-6.12.06-r9.ebuild
+++ b/sci-physics/root/root-6.12.06-r9.ebuild
@@ -132,6 +132,8 @@ src_prepare() {
# CSS should use local images
sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
+
+ hprefixify core/clingutils/CMakeLists.txt
}
# Note: ROOT uses bundled clang because it is patched and API-incompatible
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-07-29 6:34 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-07-29 6:34 UTC (permalink / raw
To: gentoo-commits
commit: 1d6682e0dce73bec8bf772903f5546d49f977bbb
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 26 14:06:27 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jul 29 06:33:12 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d6682e0
sci-physics/root: drop old
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.16.00.ebuild | 318 -----------------------------------
1 file changed, 318 deletions(-)
diff --git a/sci-physics/root/root-6.16.00.ebuild b/sci-physics/root/root-6.16.00.ebuild
deleted file mode 100644
index 86ee4bde95b..00000000000
--- a/sci-physics/root/root-6.16.00.ebuild
+++ /dev/null
@@ -1,318 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-CMAKE_BUILD_TYPE=Release
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
-
-inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
- llvm prefix python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
- fits fftw fortran +gdml graphviz +gsl http jemalloc kerberos ldap
- libcxx memstat +minuit mysql odbc +opengl oracle postgres prefix
- pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl
- table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml xrootd
- zeroconf"
-
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="
- ^^ ( c++11 c++14 c++17 )
- cuda? ( tmva !c++17 )
- !X? ( !asimage !opengl !qt5 !tiff )
- davix? ( ssl xml )
- python? ( ${PYTHON_REQUIRED_USE} )
- qt5? ( root7 )
- root7? ( || ( c++14 c++17 ) )
- tmva? ( gsl )
-"
-
-CDEPEND="
- app-arch/lz4
- app-arch/xz-utils
- fortran? ( dev-lang/cfortran )
- dev-libs/libpcre:3
- dev-libs/xxhash
- media-fonts/dejavu
- media-libs/freetype:2
- media-libs/libpng:0=
- sys-devel/llvm:5=
- 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?] )
- zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
- cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
- davix? ( net-libs/davix )
- emacs? ( virtual/emacs )
- fftw? ( sci-libs/fftw:3.0= )
- fits? ( sci-libs/cfitsio:0= )
- graphviz? ( media-gfx/graphviz )
- gsl? ( sci-libs/gsl:= )
- http? ( dev-libs/fcgi:0= )
- jemalloc? ( dev-libs/jemalloc )
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap:0= )
- libcxx? ( sys-libs/libcxx )
- unuran? ( sci-mathematics/unuran:0= )
- minuit? ( !sci-libs/minuit )
- mysql? ( dev-db/mysql-connector-c )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
- oracle? ( dev-db/oracle-instantclient-basic )
- postgres? ( dev-db/postgresql:= )
- pythia6? ( sci-physics/pythia:6 )
- pythia8? ( sci-physics/pythia:8 )
- python? ( ${PYTHON_DEPS} )
- R? ( dev-lang/R )
- shadow? ( virtual/shadow )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl:0= )
- tbb? ( >=dev-cpp/tbb-2018 )
- tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
- vc? ( dev-libs/vc:= )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}
- xinetd? ( sys-apps/xinetd )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
-)
-
-pkg_setup() {
- LLVM_MAX_SLOT=5 llvm_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() {
- cmake-utils_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"
-
- hprefixify core/clingutils/CMakeLists.txt
-}
-
-# 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=(
- -DCMAKE_C_FLAGS="${CFLAGS}"
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
- -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}"
- -DCLING_BUILD_PLUGINS=OFF
- -Dexplicitlink=ON
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dgnuinstall=OFF
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=OFF
- -Dbuiltin_clang=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=OFF
- -Dbuiltin_lz4=OFF
- -Dbuiltin_lzma=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_zlib=OFF
- -Dx11=$(usex X)
- -Dxft=$(usex X)
- -Dafdsmgrd=OFF
- -Dafs=OFF # not implemented
- -Dalien=OFF
- -Dasimage=$(usex asimage)
- -Dastiff=$(usex tiff)
- -Dbonjour=$(usex zeroconf)
- -Dlibcxx=$(usex libcxx)
- -Dccache=OFF # use ccache via portage
- -Dcastor=OFF
- -Dchirp=OFF
- -Dclad=OFF
- -Dcling=ON # cling=OFF is broken
- -Dcocoa=$(usex aqua)
- -Dcuda=$(usex cuda)
- -Dcxx11=$(usex c++11)
- -Dcxx14=$(usex c++14)
- -Dcxx17=$(usex c++17)
- -Dcxxmodules=OFF # requires clang, unstable
- -Ddavix=$(usex davix)
- -Ddcache=OFF
- -Dfftw3=$(usex fftw)
- -Dfitsio=$(usex fits)
- -Dfortran=$(usex fortran)
- -Dftgl=$(usex opengl)
- -Dgdml=$(usex gdml)
- -Dgenvector=ON # genvector=OFF ignored
- -Dgeocad=OFF
- -Dgfal=OFF
- -Dgl2ps=$(usex opengl)
- -Dglite=OFF # not implemented
- -Dglobus=OFF
- -Dgminimal=OFF
- -Dgsl_shared=$(usex gsl)
- -Dgviz=$(usex graphviz)
- -Dhdfs=OFF
- -Dhttp=$(usex http)
- -Dimt=$(usex tbb)
- -Djemalloc=$(usex jemalloc)
- -Dkrb5=$(usex kerberos)
- -Dldap=$(usex ldap)
- -Dmathmore=$(usex gsl)
- -Dmemstat=$(usex memstat)
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(usex minuit)
- -Dmonalisa=OFF
- -Dmysql=$(usex mysql)
- -Dodbc=$(usex odbc)
- -Dopengl=$(usex opengl)
- -Doracle=$(usex oracle)
- -Dpch=ON # pch=OFF is broken
- -Dpgsql=$(usex postgres)
- -Dpythia6=$(usex pythia6)
- -Dpythia8=$(usex pythia8)
- -Dpython=$(usex python)
- -Dqt5web=$(usex qt5)
- -Dqtgsi=OFF
- -Dqt=OFF
- -Drfio=OFF
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=OFF
- -Drpath=OFF
- -Druby=OFF # deprecated and broken
- -Druntime_cxxmodules=OFF # does not work yet
- -Dr=$(usex R)
- -Dsapdb=OFF # not implemented
- -Dshadowpw=$(usex shadow)
- -Dsqlite=$(usex sqlite)
- -Dsrp=OFF # not implemented
- -Dssl=$(usex ssl)
- -Dtable=$(usex table)
- -Dtcmalloc=OFF
- -Dtesting=$(usex test)
- -Dthread=$(usex threads)
- -Dtmva=$(usex tmva)
- -Dtmva-cpu=$(usex tmva)
- -Dtmva-gpu=$(usex cuda)
- -Dunuran=$(usex unuran)
- -Dvc=$(usex vc)
- -Dvdt=OFF
- -Dveccore=OFF
- -Dxml=$(usex xml)
- -Dxrootd=$(usex xrootd)
- ${EXTRA_ECONF}
- )
-
- cmake-utils_src_configure
-}
-
-src_compile() {
- # needed for hsimple.root
- addwrite /dev/random
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
-
- ROOTSYS=${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)
- ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
-
- cat > ${ROOTENV} <<- EOF || die
- MANPATH="${ROOTSYS}/share/man"
- PATH="${ROOTSYS}/bin"
- ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/lib"
- EOF
-
- if use python; then
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- rm -r test emacs bin/*.{csh,sh,fish} || die
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- # create versioned symlinks for binaries
- cd bin;
- for exe in *; do
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
- done
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-08-05 15:30 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-08-05 15:30 UTC (permalink / raw
To: gentoo-commits
commit: 9e0ab0d8ef866b1aa2714ed8a45f37c27ebed7d1
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 2 14:07:33 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Aug 5 15:28:35 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e0ab0d8
sci-physics/root: add nosplash USE flag
This disables ROOT's splash screen by default.
Package-Manager: Portage-2.3.70, Repoman-2.3.16
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/metadata.xml | 1 +
.../root/{root-6.12.06-r9.ebuild => root-6.12.06-r10.ebuild} | 10 +++++++---
.../root/{root-6.14.08-r2.ebuild => root-6.14.08-r3.ebuild} | 12 ++++++++----
.../root/{root-6.16.00-r1.ebuild => root-6.16.00-r2.ebuild} | 12 ++++++++----
.../root/{root-6.18.00.ebuild => root-6.18.00-r1.ebuild} | 10 +++++++---
sci-physics/root/root-9999.ebuild | 10 +++++++---
6 files changed, 38 insertions(+), 17 deletions(-)
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml
index f2ba440c8ce..8eb44b130ef 100644
--- a/sci-physics/root/metadata.xml
+++ b/sci-physics/root/metadata.xml
@@ -33,6 +33,7 @@
<flag name="libcxx">Build ROOT against <pkg>sys-libs/libcxx</pkg></flag>
<flag name="memstat">Build memory statistics library, helps to detect memory leaks</flag>
<flag name="minuit">Build ROOT's internal versions of minuit (fortran) and minuit2 (C++)</flag>
+ <flag name="nosplash">Disable ROOT's splash screen by default</flag>
<flag name="pythia6">Build the interface for <pkg>sci-physics/pythia</pkg> version 6.x </flag>
<flag name="pythia8">Build the interface for <pkg>sci-physics/pythia</pkg> version 8.x </flag>
<flag name="R">Enable support for <pkg>dev-lang/R</pkg></flag>
diff --git a/sci-physics/root/root-6.12.06-r9.ebuild b/sci-physics/root/root-6.12.06-r10.ebuild
similarity index 96%
rename from sci-physics/root/root-6.12.06-r9.ebuild
rename to sci-physics/root/root-6.12.06-r10.ebuild
index 244f4d26df8..43923b51d70 100644
--- a/sci-physics/root/root-6.12.06-r9.ebuild
+++ b/sci-physics/root/root-6.12.06-r10.ebuild
@@ -18,9 +18,9 @@ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
IUSE="+X aqua +asimage +davix emacs +examples fits fftw fortran
+gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
- +minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
- +python qt5 R +roofit root7 shadow sqlite +ssl table +tbb test
- +threads +tiff +tmva +unuran vc xinetd +xml xrootd zeroconf"
+ +minuit mysql nosplash odbc +opengl oracle postgres prefix pythia6
+ pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl table +tbb
+ test +threads +tiff +tmva +unuran vc xinetd +xml xrootd zeroconf"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
@@ -133,6 +133,10 @@ src_prepare() {
# CSS should use local images
sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
+ if use nosplash; then
+ sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
+ fi
+
hprefixify core/clingutils/CMakeLists.txt
}
diff --git a/sci-physics/root/root-6.14.08-r2.ebuild b/sci-physics/root/root-6.14.08-r3.ebuild
similarity index 96%
rename from sci-physics/root/root-6.14.08-r2.ebuild
rename to sci-physics/root/root-6.14.08-r3.ebuild
index 69718f3f625..58b0d4a14fb 100644
--- a/sci-physics/root/root-6.14.08-r2.ebuild
+++ b/sci-physics/root/root-6.14.08-r3.ebuild
@@ -18,10 +18,10 @@ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
fits fftw fortran +gdml graphviz +gsl http jemalloc kerberos ldap
- libcxx memstat +minuit mysql odbc +opengl oracle postgres prefix
- pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl
- table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml xrootd
- zeroconf"
+ libcxx memstat +minuit mysql nosplash odbc +opengl oracle postgres
+ prefix pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite
+ +ssl table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml
+ xrootd zeroconf"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
@@ -131,6 +131,10 @@ src_prepare() {
# CSS should use local images
sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
+ if use nosplash; then
+ sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
+ fi
+
hprefixify core/clingutils/CMakeLists.txt
}
diff --git a/sci-physics/root/root-6.16.00-r1.ebuild b/sci-physics/root/root-6.16.00-r2.ebuild
similarity index 96%
rename from sci-physics/root/root-6.16.00-r1.ebuild
rename to sci-physics/root/root-6.16.00-r2.ebuild
index c893ead5cca..62d33225b7a 100644
--- a/sci-physics/root/root-6.16.00-r1.ebuild
+++ b/sci-physics/root/root-6.16.00-r2.ebuild
@@ -18,10 +18,10 @@ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
fits fftw fortran +gdml graphviz +gsl http jemalloc kerberos ldap
- libcxx memstat +minuit mysql odbc +opengl oracle postgres prefix
- pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl
- table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml xrootd
- zeroconf"
+ libcxx memstat +minuit mysql nosplash odbc +opengl oracle postgres
+ prefix pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite
+ +ssl table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml
+ xrootd zeroconf"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
@@ -133,6 +133,10 @@ src_prepare() {
# CSS should use local images
sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
+ if use nosplash; then
+ sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
+ fi
+
hprefixify core/clingutils/CMakeLists.txt
}
diff --git a/sci-physics/root/root-6.18.00.ebuild b/sci-physics/root/root-6.18.00-r1.ebuild
similarity index 96%
rename from sci-physics/root/root-6.18.00.ebuild
rename to sci-physics/root/root-6.18.00-r1.ebuild
index 7d471c4b206..a9a02ada21d 100644
--- a/sci-physics/root/root-6.18.00.ebuild
+++ b/sci-physics/root/root-6.18.00-r1.ebuild
@@ -18,9 +18,9 @@ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
fits fftw fortran +gdml graphviz +gsl http jemalloc libcxx memstat
- +minuit mysql odbc +opengl oracle postgres prefix pythia6 pythia8
- +python qt5 R +roofit root7 shadow sqlite +ssl +tbb test +threads
- +tiff +tmva +unuran vc +vmc +xml xrootd"
+ +minuit mysql nosplash odbc +opengl oracle postgres prefix pythia6
+ pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl +tbb test
+ +threads +tiff +tmva +unuran vc +vmc +xml xrootd"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
@@ -127,6 +127,10 @@ src_prepare() {
# CSS should use local images
sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
+ if use nosplash; then
+ sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
+ fi
+
hprefixify core/clingutils/CMakeLists.txt
}
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index d300c32a937..dbe4236df64 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -17,9 +17,9 @@ HOMEPAGE="https://root.cern"
IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
fits fftw fortran +gdml graphviz +gsl http libcxx +minuit mysql
- odbc +opengl oracle postgres prefix pythia6 pythia8 +python qt5 R
- +roofit root7 shadow sqlite +ssl +tbb test +tmva +unuran vc vmc
- +xml xrootd"
+ nosplash odbc +opengl oracle postgres prefix pythia6 pythia8
+ +python qt5 R +roofit root7 shadow sqlite +ssl +tbb test +tmva
+ +unuran vc vmc +xml xrootd"
if [[ ${PV} =~ "9999" ]] ; then
inherit git-r3
@@ -138,6 +138,10 @@ src_prepare() {
# CSS should use local images
sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
+ if use nosplash; then
+ sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
+ fi
+
hprefixify core/clingutils/CMakeLists.txt
}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-08-05 15:34 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-08-05 15:34 UTC (permalink / raw
To: gentoo-commits
commit: 6e21b8c068268e28d46d43cc9620c65456665659
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 5 15:33:48 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Aug 5 15:33:48 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e21b8c0
sci-physics/root: update src_prepare for upstream fixes
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 2 --
1 file changed, 2 deletions(-)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index dbe4236df64..c537b3c26eb 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -141,8 +141,6 @@ src_prepare() {
if use nosplash; then
sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
fi
-
- hprefixify core/clingutils/CMakeLists.txt
}
# Note: ROOT uses bundled clang because it is patched and API-incompatible
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-08-08 14:49 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-08-08 14:49 UTC (permalink / raw
To: gentoo-commits
commit: 516351ec1f1104fee68c4e5688f47a16a8a22d30
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 8 14:39:26 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Aug 8 14:49:34 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=516351ec
sci-physics/root: add debug USE flag
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
.../{root-6.12.06-r10.ebuild => root-6.12.06-r11.ebuild} | 4 ++--
.../{root-6.14.08-r3.ebuild => root-6.14.08-r4.ebuild} | 14 +++++++-------
.../{root-6.16.00-r2.ebuild => root-6.16.00-r3.ebuild} | 14 +++++++-------
.../{root-6.18.00-r1.ebuild => root-6.18.00-r2.ebuild} | 12 ++++++------
sci-physics/root/root-9999.ebuild | 8 ++++----
5 files changed, 26 insertions(+), 26 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r10.ebuild b/sci-physics/root/root-6.12.06-r11.ebuild
similarity index 98%
rename from sci-physics/root/root-6.12.06-r10.ebuild
rename to sci-physics/root/root-6.12.06-r11.ebuild
index 43923b51d70..9a28b0fd7fb 100644
--- a/sci-physics/root/root-6.12.06-r10.ebuild
+++ b/sci-physics/root/root-6.12.06-r11.ebuild
@@ -3,7 +3,6 @@
EAPI=6
-CMAKE_BUILD_TYPE=Release
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
@@ -16,7 +15,7 @@ DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-IUSE="+X aqua +asimage +davix emacs +examples fits fftw fortran
+IUSE="+X aqua +asimage +davix debug emacs +examples fits fftw fortran
+gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
+minuit mysql nosplash odbc +opengl oracle postgres prefix pythia6
pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl table +tbb
@@ -266,6 +265,7 @@ src_configure() {
${EXTRA_ECONF}
)
+ CMAKE_BUILD_TYPE=$(usex debug Debug Release) \
cmake-utils_src_configure
}
diff --git a/sci-physics/root/root-6.14.08-r3.ebuild b/sci-physics/root/root-6.14.08-r4.ebuild
similarity index 94%
rename from sci-physics/root/root-6.14.08-r3.ebuild
rename to sci-physics/root/root-6.14.08-r4.ebuild
index 58b0d4a14fb..e3ab9e14f94 100644
--- a/sci-physics/root/root-6.14.08-r3.ebuild
+++ b/sci-physics/root/root-6.14.08-r4.ebuild
@@ -3,7 +3,6 @@
EAPI=6
-CMAKE_BUILD_TYPE=Release
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
@@ -16,12 +15,12 @@ DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
- fits fftw fortran +gdml graphviz +gsl http jemalloc kerberos ldap
- libcxx memstat +minuit mysql nosplash odbc +opengl oracle postgres
- prefix pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite
- +ssl table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml
- xrootd zeroconf"
+IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
+ +examples fits fftw fortran +gdml graphviz +gsl http jemalloc
+ kerberos ldap libcxx memstat +minuit mysql nosplash odbc +opengl
+ oracle postgres prefix pythia6 pythia8 +python qt5 R +roofit root7
+ shadow sqlite +ssl table +tbb test +threads +tiff +tmva +unuran vc
+ xinetd +xml xrootd zeroconf"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
@@ -272,6 +271,7 @@ src_configure() {
${EXTRA_ECONF}
)
+ CMAKE_BUILD_TYPE=$(usex debug Debug Release) \
cmake-utils_src_configure
}
diff --git a/sci-physics/root/root-6.16.00-r2.ebuild b/sci-physics/root/root-6.16.00-r3.ebuild
similarity index 94%
rename from sci-physics/root/root-6.16.00-r2.ebuild
rename to sci-physics/root/root-6.16.00-r3.ebuild
index 62d33225b7a..c57209cefee 100644
--- a/sci-physics/root/root-6.16.00-r2.ebuild
+++ b/sci-physics/root/root-6.16.00-r3.ebuild
@@ -3,7 +3,6 @@
EAPI=6
-CMAKE_BUILD_TYPE=Release
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
@@ -16,12 +15,12 @@ DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
- fits fftw fortran +gdml graphviz +gsl http jemalloc kerberos ldap
- libcxx memstat +minuit mysql nosplash odbc +opengl oracle postgres
- prefix pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite
- +ssl table +tbb test +threads +tiff +tmva +unuran vc xinetd +xml
- xrootd zeroconf"
+IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
+ +examples fits fftw fortran +gdml graphviz +gsl http jemalloc
+ kerberos ldap libcxx memstat +minuit mysql nosplash odbc +opengl
+ oracle postgres prefix pythia6 pythia8 +python qt5 R +roofit root7
+ shadow sqlite +ssl table +tbb test +threads +tiff +tmva +unuran vc
+ xinetd +xml xrootd zeroconf"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
@@ -275,6 +274,7 @@ src_configure() {
${EXTRA_ECONF}
)
+ CMAKE_BUILD_TYPE=$(usex debug Debug Release) \
cmake-utils_src_configure
}
diff --git a/sci-physics/root/root-6.18.00-r1.ebuild b/sci-physics/root/root-6.18.00-r2.ebuild
similarity index 95%
rename from sci-physics/root/root-6.18.00-r1.ebuild
rename to sci-physics/root/root-6.18.00-r2.ebuild
index a9a02ada21d..18d23f22fd5 100644
--- a/sci-physics/root/root-6.18.00-r1.ebuild
+++ b/sci-physics/root/root-6.18.00-r2.ebuild
@@ -3,7 +3,6 @@
EAPI=6
-CMAKE_BUILD_TYPE=Release
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
@@ -16,11 +15,11 @@ DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
- fits fftw fortran +gdml graphviz +gsl http jemalloc libcxx memstat
- +minuit mysql nosplash odbc +opengl oracle postgres prefix pythia6
- pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl +tbb test
- +threads +tiff +tmva +unuran vc +vmc +xml xrootd"
+IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
+ +examples fits fftw fortran +gdml graphviz +gsl http jemalloc
+ libcxx memstat +minuit mysql nosplash odbc +opengl oracle postgres
+ prefix pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite
+ +ssl +tbb test +threads +tiff +tmva +unuran vc +vmc +xml xrootd"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
@@ -254,6 +253,7 @@ src_configure() {
${EXTRA_ECONF}
)
+ CMAKE_BUILD_TYPE=$(usex debug Debug Release) \
cmake-utils_src_configure
}
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index c537b3c26eb..0b58a32c013 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -3,7 +3,6 @@
EAPI=6
-CMAKE_BUILD_TYPE=Release
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
@@ -15,9 +14,9 @@ inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix emacs +examples
- fits fftw fortran +gdml graphviz +gsl http libcxx +minuit mysql
- nosplash odbc +opengl oracle postgres prefix pythia6 pythia8
+IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
+ +examples fits fftw fortran +gdml graphviz +gsl http libcxx +minuit
+ mysql nosplash odbc +opengl oracle postgres prefix pythia6 pythia8
+python qt5 R +roofit root7 shadow sqlite +ssl +tbb test +tmva
+unuran vc vmc +xml xrootd"
@@ -255,6 +254,7 @@ src_configure() {
${EXTRA_ECONF}
)
+ CMAKE_BUILD_TYPE=$(usex debug Debug Release) \
cmake-utils_src_configure
}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-08-20 6:33 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-08-20 6:33 UTC (permalink / raw
To: gentoo-commits
commit: aaed0b67cad0edabed9ddb57fd8c4d8800055a39
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 19 13:56:28 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Aug 20 06:33:09 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aaed0b67
sci-physics/root: remove nosplash USE flag from live ebuild
This is now the default upstream.
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 0b58a32c013..e841fafab73 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -16,9 +16,9 @@ HOMEPAGE="https://root.cern"
IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
+examples fits fftw fortran +gdml graphviz +gsl http libcxx +minuit
- mysql nosplash odbc +opengl oracle postgres prefix pythia6 pythia8
- +python qt5 R +roofit root7 shadow sqlite +ssl +tbb test +tmva
- +unuran vc vmc +xml xrootd"
+ mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python
+ qt5 R +roofit root7 shadow sqlite +ssl +tbb test +tmva +unuran vc
+ vmc +xml xrootd"
if [[ ${PV} =~ "9999" ]] ; then
inherit git-r3
@@ -136,10 +136,6 @@ src_prepare() {
# CSS should use local images
sed -i -e 's,http://.*/,,' etc/html/ROOT.css || die "html sed failed"
-
- if use nosplash; then
- sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
- fi
}
# Note: ROOT uses bundled clang because it is patched and API-incompatible
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-09-09 6:13 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-09-09 6:13 UTC (permalink / raw
To: gentoo-commits
commit: 69d7b884697eb82ec437d0ee907a560d1b94e718
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 6 12:23:13 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Sep 9 06:10:28 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=69d7b884
sci-physics/root: version bump to 6.18/02
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.18.00-r3.ebuild => root-6.18.02.ebuild} | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 15cf346718f..5a99714ac50 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,4 +1,4 @@
DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff08cfa470e63be9a02b948a49ae088e8da72ce433a5071d9196bfd98f71e6861b1bda285354012620eee6c61cffcee71a0c8 SHA512 3d44749ccfc3d40a2f516ae53ef40fb244ed785eee0dbc18ff822bbb811a15b943039d30282ef5358a283d485e62531880c877ec77a86089503b06d6f37e42e1
DIST root_v6.14.08.source.tar.gz 162474562 BLAKE2B f8bfdabb4d91bbdfbab0b17626fff1f8aa265292996d857025cbd1543306f3ec540a1afb080788bfc7149ea835932b59d7c54dcd802354e31294ba2e5e9d2366 SHA512 827e39efbf3c69429a0a256127ca9f87550d9084c34c715bddccbf87a8c111c367b9a0ac6882aac747c9b48f4a3effb3747b4df567429910c93ee64dfe35df5b
DIST root_v6.16.00.source.tar.gz 164836293 BLAKE2B 9d8f02631bdc1fa1775cbdaf50dd1feacd9b3c86b81d679ba6f0ca3c5787cd1d22ef7c33358b608361a01ad4f0aff3e8c749649d24773a35c52ce87f808d08f5 SHA512 17e5b9815973773e30ff83c2f4028e9e93691c1ecb824c162c8b3e02d1f6666fb8e0b72a5d0652a90032af146d92d271cbffcd634fb6fe6a63bdf46d672789bf
-DIST root_v6.18.00.source.tar.gz 165917160 BLAKE2B 8c83f4dc7a7af8f8627e7711792d09800d3b426ce9ca338aad3bc65c9c307723bd97ca84f0e1790fb844f80be80c8cea9e58c1a6b469880752439db21f7d34cd SHA512 abc4630b773f979e01e0ede7bee095fa3f0f8172218538b37e68230dfce6f0623f24a9567bd40cf1e72ccb4e3398cec858fdfd53ba246ca3615fefd9e5a0d0cd
+DIST root_v6.18.02.source.tar.gz 165926001 BLAKE2B 72f41a191a6041cb90efbda9d632e676840946a15e5d04a5ac99c041122e4c14636a5e669b0848124eceed784bf2ccff2cefe7da6d78394bd4d22b2391cb22f9 SHA512 0643453a4b2c86ee8b6c1da8b8eaaadea096a9688dd46aa721e56a9d19529d0dc41ea1e0e148eb6bcc20bd28e906daf75b96da8c363fabdc2a58479c66f8af9f
diff --git a/sci-physics/root/root-6.18.00-r3.ebuild b/sci-physics/root/root-6.18.02.ebuild
similarity index 99%
rename from sci-physics/root/root-6.18.00-r3.ebuild
rename to sci-physics/root/root-6.18.02.ebuild
index 5756097c758..b39d88496be 100644
--- a/sci-physics/root/root-6.18.00-r3.ebuild
+++ b/sci-physics/root/root-6.18.02.ebuild
@@ -126,8 +126,6 @@ src_prepare() {
if use nosplash; then
sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
fi
-
- hprefixify core/clingutils/CMakeLists.txt
}
# Note: ROOT uses bundled clang because it is patched and API-incompatible
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-09-09 6:13 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-09-09 6:13 UTC (permalink / raw
To: gentoo-commits
commit: 175836287f5f0b91f09445dcdcd2f0b340cc7699
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 6 11:56:33 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Sep 9 06:10:27 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17583628
sci-physics/root: switch back to builtin LLVM
Using external LLVM never really worked and can cause crashes
if ROOT is used with anything else that dynamically links against
LLVM, such as media-libs/mesa[llvm]. The bundled version of clang
is also API incompatible with vanilla clang and doesn't work as a
compiler with the applied patches that are required to make the
cling C/C++ interpreter work.
More information can be found in the links below:
Bug: https://bugs.gentoo.org/564302
Bug: https://bugs.gentoo.org/687212
Bug: https://sft.its.cern.ch/jira/browse/ROOT-9965
Bug: https://sft.its.cern.ch/jira/browse/ROOT-10287
Bug: https://cern.service-now.com/service-portal/view-incident.do?n=INC1242141 (requires authentication)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=93103
Bug: https://bugzilla.redhat.com/show_bug.cgi?id=1441957 (restricted)
Package-Manager: Portage-2.3.71, Repoman-2.3.17
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
.../root/{root-6.16.00-r3.ebuild => root-6.16.00-r4.ebuild} | 8 ++------
.../root/{root-6.18.00-r2.ebuild => root-6.18.00-r3.ebuild} | 8 ++------
sci-physics/root/root-9999.ebuild | 8 ++------
3 files changed, 6 insertions(+), 18 deletions(-)
diff --git a/sci-physics/root/root-6.16.00-r3.ebuild b/sci-physics/root/root-6.16.00-r4.ebuild
similarity index 97%
rename from sci-physics/root/root-6.16.00-r3.ebuild
rename to sci-physics/root/root-6.16.00-r4.ebuild
index c57209cefee..ba820931192 100644
--- a/sci-physics/root/root-6.16.00-r3.ebuild
+++ b/sci-physics/root/root-6.16.00-r4.ebuild
@@ -9,7 +9,7 @@ FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
- llvm prefix python-single-r1 toolchain-funcs
+ prefix python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
@@ -46,7 +46,6 @@ CDEPEND="
media-fonts/dejavu
media-libs/freetype:2
media-libs/libpng:0=
- sys-devel/llvm:5=
sys-libs/ncurses:=
sys-libs/zlib
X? (
@@ -113,8 +112,6 @@ PATCHES=(
)
pkg_setup() {
- LLVM_MAX_SLOT=5 llvm_pkg_setup
-
use fortran && fortran-2_pkg_setup
use python && python-single-r1_pkg_setup
@@ -149,7 +146,6 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
-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"
@@ -161,7 +157,7 @@ src_configure() {
-Dgnuinstall=OFF
-Dshared=ON
-Dsoversion=ON
- -Dbuiltin_llvm=OFF
+ -Dbuiltin_llvm=ON
-Dbuiltin_clang=ON
-Dbuiltin_afterimage=OFF
-Dbuiltin_cfitsio=OFF
diff --git a/sci-physics/root/root-6.18.00-r2.ebuild b/sci-physics/root/root-6.18.00-r3.ebuild
similarity index 97%
rename from sci-physics/root/root-6.18.00-r2.ebuild
rename to sci-physics/root/root-6.18.00-r3.ebuild
index 18d23f22fd5..5756097c758 100644
--- a/sci-physics/root/root-6.18.00-r2.ebuild
+++ b/sci-physics/root/root-6.18.00-r3.ebuild
@@ -9,7 +9,7 @@ FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
- llvm prefix python-single-r1 toolchain-funcs
+ prefix python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
@@ -45,7 +45,6 @@ CDEPEND="
media-fonts/dejavu
media-libs/freetype:2
media-libs/libpng:0=
- sys-devel/llvm:5=
sys-libs/ncurses:=
sys-libs/zlib
X? (
@@ -107,8 +106,6 @@ PATCHES=(
)
pkg_setup() {
- LLVM_MAX_SLOT=5 llvm_pkg_setup
-
use fortran && fortran-2_pkg_setup
use python && python-single-r1_pkg_setup
@@ -144,7 +141,6 @@ src_configure() {
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-)
- -DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
-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"
@@ -156,7 +152,7 @@ src_configure() {
-Dgnuinstall=OFF
-Dshared=ON
-Dsoversion=ON
- -Dbuiltin_llvm=OFF
+ -Dbuiltin_llvm=ON
-Dbuiltin_clang=ON
-Dbuiltin_afterimage=OFF
-Dbuiltin_cfitsio=OFF
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index e841fafab73..c1e5b490ea2 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -9,7 +9,7 @@ FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python2_7 python3_{5,6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
- llvm prefix python-single-r1 toolchain-funcs
+ prefix python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
@@ -57,7 +57,6 @@ CDEPEND="
media-fonts/dejavu
media-libs/freetype:2
media-libs/libpng:0=
- sys-devel/llvm:5=
sys-libs/ncurses:=
sys-libs/zlib
X? (
@@ -118,8 +117,6 @@ PATCHES=(
)
pkg_setup() {
- LLVM_MAX_SLOT=5 llvm_pkg_setup
-
use fortran && fortran-2_pkg_setup
use python && python-single-r1_pkg_setup
@@ -149,7 +146,6 @@ src_configure() {
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-)
- -DLLVM_CONFIG="$(type -P "${CHOST}-llvm-config")"
-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"
@@ -161,7 +157,7 @@ src_configure() {
-Dgnuinstall=OFF
-Dshared=ON
-Dsoversion=ON
- -Dbuiltin_llvm=OFF
+ -Dbuiltin_llvm=ON
-Dbuiltin_clang=ON
-Dbuiltin_afterimage=OFF
-Dbuiltin_cfitsio=OFF
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-09-30 12:49 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-09-30 12:49 UTC (permalink / raw
To: gentoo-commits
commit: aa027a8321485d7f007d95afd8e07318ea3f5e3a
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 30 12:05:51 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Sep 30 12:48:54 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa027a83
sci-physics/root: version bump to 6.18.04
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.18.02.ebuild => root-6.18.04.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 5a99714ac50..f2df4a34027 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,4 +1,4 @@
DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff08cfa470e63be9a02b948a49ae088e8da72ce433a5071d9196bfd98f71e6861b1bda285354012620eee6c61cffcee71a0c8 SHA512 3d44749ccfc3d40a2f516ae53ef40fb244ed785eee0dbc18ff822bbb811a15b943039d30282ef5358a283d485e62531880c877ec77a86089503b06d6f37e42e1
DIST root_v6.14.08.source.tar.gz 162474562 BLAKE2B f8bfdabb4d91bbdfbab0b17626fff1f8aa265292996d857025cbd1543306f3ec540a1afb080788bfc7149ea835932b59d7c54dcd802354e31294ba2e5e9d2366 SHA512 827e39efbf3c69429a0a256127ca9f87550d9084c34c715bddccbf87a8c111c367b9a0ac6882aac747c9b48f4a3effb3747b4df567429910c93ee64dfe35df5b
DIST root_v6.16.00.source.tar.gz 164836293 BLAKE2B 9d8f02631bdc1fa1775cbdaf50dd1feacd9b3c86b81d679ba6f0ca3c5787cd1d22ef7c33358b608361a01ad4f0aff3e8c749649d24773a35c52ce87f808d08f5 SHA512 17e5b9815973773e30ff83c2f4028e9e93691c1ecb824c162c8b3e02d1f6666fb8e0b72a5d0652a90032af146d92d271cbffcd634fb6fe6a63bdf46d672789bf
-DIST root_v6.18.02.source.tar.gz 165926001 BLAKE2B 72f41a191a6041cb90efbda9d632e676840946a15e5d04a5ac99c041122e4c14636a5e669b0848124eceed784bf2ccff2cefe7da6d78394bd4d22b2391cb22f9 SHA512 0643453a4b2c86ee8b6c1da8b8eaaadea096a9688dd46aa721e56a9d19529d0dc41ea1e0e148eb6bcc20bd28e906daf75b96da8c363fabdc2a58479c66f8af9f
+DIST root_v6.18.04.source.tar.gz 165938450 BLAKE2B d6545dfa95817940f2bb6b5b49252eca1958df518a4bc05c4857df60a015a39d0df09ea077465533e6ebc815d04e1742da19d18b7af02b5446f9e73dc92e3c16 SHA512 cfcbdd2db4edf55845a7cd1e6ec0cdf714a7ceacb039fa6fb627d7300d6f849b3b462bab724e33b1d6b08eb22ba42c43b7d64c0c6c47dc8a3bb652f86979f2c6
diff --git a/sci-physics/root/root-6.18.02.ebuild b/sci-physics/root/root-6.18.04.ebuild
similarity index 100%
rename from sci-physics/root/root-6.18.02.ebuild
rename to sci-physics/root/root-6.18.04.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-11-18 11:10 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2019-11-18 11:10 UTC (permalink / raw
To: gentoo-commits
commit: d562939c86165aada08eda2786e6781a51feb483
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 18 11:08:44 2019 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Nov 18 11:10:06 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d562939c
sci-physics/root: add new dependency on app-arch/zstd
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index c1e5b490ea2..d35e726eab3 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -50,6 +50,7 @@ REQUIRED_USE="
CDEPEND="
app-arch/lz4
+ app-arch/zstd
app-arch/xz-utils
fortran? ( dev-lang/cfortran )
dev-libs/libpcre:3
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-12-12 14:58 Michał Górny
0 siblings, 0 replies; 196+ messages in thread
From: Michał Górny @ 2019-12-12 14:58 UTC (permalink / raw
To: gentoo-commits
commit: 0da42c00b0d3d80f6744de6313451a5d7ce88dca
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 14:55:47 2019 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 14:58:48 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0da42c00
sci-physics/root: Fix MissingTestRestrict
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-physics/root/root-6.12.06-r11.ebuild | 1 +
sci-physics/root/root-6.14.08-r4.ebuild | 1 +
sci-physics/root/root-6.16.00-r4.ebuild | 1 +
sci-physics/root/root-6.18.04.ebuild | 1 +
sci-physics/root/root-9999.ebuild | 1 +
5 files changed, 5 insertions(+)
diff --git a/sci-physics/root/root-6.12.06-r11.ebuild b/sci-physics/root/root-6.12.06-r11.ebuild
index 9a28b0fd7fb..75763334013 100644
--- a/sci-physics/root/root-6.12.06-r11.ebuild
+++ b/sci-physics/root/root-6.12.06-r11.ebuild
@@ -20,6 +20,7 @@ IUSE="+X aqua +asimage +davix debug emacs +examples fits fftw fortran
+minuit mysql nosplash odbc +opengl oracle postgres prefix pythia6
pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl table +tbb
test +threads +tiff +tmva +unuran vc xinetd +xml xrootd zeroconf"
+RESTRICT="!test? ( test )"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
diff --git a/sci-physics/root/root-6.14.08-r4.ebuild b/sci-physics/root/root-6.14.08-r4.ebuild
index e3ab9e14f94..e49344b7ac0 100644
--- a/sci-physics/root/root-6.14.08-r4.ebuild
+++ b/sci-physics/root/root-6.14.08-r4.ebuild
@@ -21,6 +21,7 @@ IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
oracle postgres prefix pythia6 pythia8 +python qt5 R +roofit root7
shadow sqlite +ssl table +tbb test +threads +tiff +tmva +unuran vc
xinetd +xml xrootd zeroconf"
+RESTRICT="!test? ( test )"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
diff --git a/sci-physics/root/root-6.16.00-r4.ebuild b/sci-physics/root/root-6.16.00-r4.ebuild
index ba820931192..e7826c4120e 100644
--- a/sci-physics/root/root-6.16.00-r4.ebuild
+++ b/sci-physics/root/root-6.16.00-r4.ebuild
@@ -21,6 +21,7 @@ IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
oracle postgres prefix pythia6 pythia8 +python qt5 R +roofit root7
shadow sqlite +ssl table +tbb test +threads +tiff +tmva +unuran vc
xinetd +xml xrootd zeroconf"
+RESTRICT="!test? ( test )"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
diff --git a/sci-physics/root/root-6.18.04.ebuild b/sci-physics/root/root-6.18.04.ebuild
index b39d88496be..15388d19228 100644
--- a/sci-physics/root/root-6.18.04.ebuild
+++ b/sci-physics/root/root-6.18.04.ebuild
@@ -20,6 +20,7 @@ IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
libcxx memstat +minuit mysql nosplash odbc +opengl oracle postgres
prefix pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite
+ssl +tbb test +threads +tiff +tmva +unuran vc +vmc +xml xrootd"
+RESTRICT="!test? ( test )"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index d35e726eab3..76552a47713 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -19,6 +19,7 @@ IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python
qt5 R +roofit root7 shadow sqlite +ssl +tbb test +tmva +unuran vc
vmc +xml xrootd"
+RESTRICT="!test? ( test )"
if [[ ${PV} =~ "9999" ]] ; then
inherit git-r3
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2019-12-20 22:49 Ulrich Müller
0 siblings, 0 replies; 196+ messages in thread
From: Ulrich Müller @ 2019-12-20 22:49 UTC (permalink / raw
To: gentoo-commits
commit: 8a2dafacbed66a41dfcd4b133e982ae0058081af
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 20 16:31:58 2019 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Dec 20 22:48:53 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a2dafac
sci-physics/root: Update virtual/emacs dependency.
The virtual is deprecated, depend on app-editors/emacs instead.
Package-Manager: Portage-2.3.82, Repoman-2.3.20
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
sci-physics/root/root-6.12.06-r11.ebuild | 2 +-
sci-physics/root/root-6.14.08-r4.ebuild | 2 +-
sci-physics/root/root-6.16.00-r4.ebuild | 2 +-
sci-physics/root/root-6.18.04.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r11.ebuild b/sci-physics/root/root-6.12.06-r11.ebuild
index 75763334013..dbae1910486 100644
--- a/sci-physics/root/root-6.12.06-r11.ebuild
+++ b/sci-physics/root/root-6.12.06-r11.ebuild
@@ -66,7 +66,7 @@ CDEPEND="
asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff?] )
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
davix? ( net-libs/davix )
- emacs? ( virtual/emacs )
+ emacs? ( >=app-editors/emacs-23.1:* )
fftw? ( sci-libs/fftw:3.0= )
fits? ( sci-libs/cfitsio:0= )
graphviz? ( media-gfx/graphviz:0= )
diff --git a/sci-physics/root/root-6.14.08-r4.ebuild b/sci-physics/root/root-6.14.08-r4.ebuild
index e49344b7ac0..b02dfdad610 100644
--- a/sci-physics/root/root-6.14.08-r4.ebuild
+++ b/sci-physics/root/root-6.14.08-r4.ebuild
@@ -71,7 +71,7 @@ CDEPEND="
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
davix? ( net-libs/davix )
- emacs? ( virtual/emacs )
+ emacs? ( >=app-editors/emacs-23.1:* )
fftw? ( sci-libs/fftw:3.0= )
fits? ( sci-libs/cfitsio:0= )
graphviz? ( media-gfx/graphviz )
diff --git a/sci-physics/root/root-6.16.00-r4.ebuild b/sci-physics/root/root-6.16.00-r4.ebuild
index e7826c4120e..18c71c3760d 100644
--- a/sci-physics/root/root-6.16.00-r4.ebuild
+++ b/sci-physics/root/root-6.16.00-r4.ebuild
@@ -71,7 +71,7 @@ CDEPEND="
zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
davix? ( net-libs/davix )
- emacs? ( virtual/emacs )
+ emacs? ( >=app-editors/emacs-23.1:* )
fftw? ( sci-libs/fftw:3.0= )
fits? ( sci-libs/cfitsio:0= )
graphviz? ( media-gfx/graphviz )
diff --git a/sci-physics/root/root-6.18.04.ebuild b/sci-physics/root/root-6.18.04.ebuild
index 15388d19228..e83503d3270 100644
--- a/sci-physics/root/root-6.18.04.ebuild
+++ b/sci-physics/root/root-6.18.04.ebuild
@@ -69,7 +69,7 @@ CDEPEND="
asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff?] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
davix? ( net-libs/davix )
- emacs? ( virtual/emacs )
+ emacs? ( >=app-editors/emacs-23.1:* )
fftw? ( sci-libs/fftw:3.0= )
fits? ( sci-libs/cfitsio:0= )
graphviz? ( media-gfx/graphviz )
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 76552a47713..94d2a50c952 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -82,7 +82,7 @@ CDEPEND="
asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
davix? ( net-libs/davix )
- emacs? ( virtual/emacs )
+ emacs? ( >=app-editors/emacs-23.1:* )
fftw? ( sci-libs/fftw:3.0= )
fits? ( sci-libs/cfitsio:0= )
graphviz? ( media-gfx/graphviz )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-01-16 7:03 Michał Górny
0 siblings, 0 replies; 196+ messages in thread
From: Michał Górny @ 2020-01-16 7:03 UTC (permalink / raw
To: gentoo-commits
commit: 904aea5c1f8e00e7c8f92795657b34d68ae95c06
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 06:59:44 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 07:02:56 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=904aea5c
sci-physics/root: Remove Python 2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-physics/root/root-6.12.06-r11.ebuild | 2 +-
sci-physics/root/root-6.14.08-r4.ebuild | 2 +-
sci-physics/root/root-6.16.00-r4.ebuild | 2 +-
sci-physics/root/root-6.18.04.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r11.ebuild b/sci-physics/root/root-6.12.06-r11.ebuild
index 2cf1a95ecc9..139fd7277d1 100644
--- a/sci-physics/root/root-6.12.06-r11.ebuild
+++ b/sci-physics/root/root-6.12.06-r11.ebuild
@@ -6,7 +6,7 @@ EAPI=6
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_6 )
+PYTHON_COMPAT=( python3_6 )
inherit cmake-utils eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-6.14.08-r4.ebuild b/sci-physics/root/root-6.14.08-r4.ebuild
index 5bbe2ef1976..eeb19eb0b20 100644
--- a/sci-physics/root/root-6.14.08-r4.ebuild
+++ b/sci-physics/root/root-6.14.08-r4.ebuild
@@ -6,7 +6,7 @@ EAPI=6
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-6.16.00-r4.ebuild b/sci-physics/root/root-6.16.00-r4.ebuild
index a5cb23b4a64..c4a7323b08a 100644
--- a/sci-physics/root/root-6.16.00-r4.ebuild
+++ b/sci-physics/root/root-6.16.00-r4.ebuild
@@ -6,7 +6,7 @@ EAPI=6
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-6.18.04.ebuild b/sci-physics/root/root-6.18.04.ebuild
index ff963889945..369dc19e6db 100644
--- a/sci-physics/root/root-6.18.04.ebuild
+++ b/sci-physics/root/root-6.18.04.ebuild
@@ -6,7 +6,7 @@ EAPI=6
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 2ced39aaf19..5af6fb5eac0 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=6
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-01-16 7:59 Michał Górny
0 siblings, 0 replies; 196+ messages in thread
From: Michał Górny @ 2020-01-16 7:59 UTC (permalink / raw
To: gentoo-commits
commit: a5dac8d5ca0c8cb08d474dd4b3d2a0037cd897f0
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 16 07:58:29 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jan 16 07:58:29 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5dac8d5
sci-physics/root: Revert "Remove Python 2"
sci-physics/yoda needs it.
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-physics/root/root-6.12.06-r11.ebuild | 2 +-
sci-physics/root/root-6.14.08-r4.ebuild | 2 +-
sci-physics/root/root-6.16.00-r4.ebuild | 2 +-
sci-physics/root/root-6.18.04.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r11.ebuild b/sci-physics/root/root-6.12.06-r11.ebuild
index 139fd7277d1..2cf1a95ecc9 100644
--- a/sci-physics/root/root-6.12.06-r11.ebuild
+++ b/sci-physics/root/root-6.12.06-r11.ebuild
@@ -6,7 +6,7 @@ EAPI=6
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python2_7 python3_6 )
inherit cmake-utils eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-6.14.08-r4.ebuild b/sci-physics/root/root-6.14.08-r4.ebuild
index eeb19eb0b20..5bbe2ef1976 100644
--- a/sci-physics/root/root-6.14.08-r4.ebuild
+++ b/sci-physics/root/root-6.14.08-r4.ebuild
@@ -6,7 +6,7 @@ EAPI=6
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python2_7 python3_{6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-6.16.00-r4.ebuild b/sci-physics/root/root-6.16.00-r4.ebuild
index c4a7323b08a..a5cb23b4a64 100644
--- a/sci-physics/root/root-6.16.00-r4.ebuild
+++ b/sci-physics/root/root-6.16.00-r4.ebuild
@@ -6,7 +6,7 @@ EAPI=6
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python2_7 python3_{6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-6.18.04.ebuild b/sci-physics/root/root-6.18.04.ebuild
index 369dc19e6db..ff963889945 100644
--- a/sci-physics/root/root-6.18.04.ebuild
+++ b/sci-physics/root/root-6.18.04.ebuild
@@ -6,7 +6,7 @@ EAPI=6
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python2_7 python3_{6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 5af6fb5eac0..2ced39aaf19 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=6
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python2_7 python3_{6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-01-22 11:24 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-01-22 11:24 UTC (permalink / raw
To: gentoo-commits
commit: 7d907ef07f665c3ee19b2f463ea09e0fe1b4e72d
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 22 11:21:25 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Jan 22 11:23:56 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d907ef0
sci-physics/root: configure using ${EPYTHON}
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.14.08-r4.ebuild | 1 +
sci-physics/root/root-6.16.00-r4.ebuild | 1 +
sci-physics/root/root-6.18.04.ebuild | 1 +
sci-physics/root/root-9999.ebuild | 1 +
4 files changed, 4 insertions(+)
diff --git a/sci-physics/root/root-6.14.08-r4.ebuild b/sci-physics/root/root-6.14.08-r4.ebuild
index 5bbe2ef1976..7839ad943f5 100644
--- a/sci-physics/root/root-6.14.08-r4.ebuild
+++ b/sci-physics/root/root-6.14.08-r4.ebuild
@@ -148,6 +148,7 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
+ -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"
diff --git a/sci-physics/root/root-6.16.00-r4.ebuild b/sci-physics/root/root-6.16.00-r4.ebuild
index a5cb23b4a64..54a957e1426 100644
--- a/sci-physics/root/root-6.16.00-r4.ebuild
+++ b/sci-physics/root/root-6.16.00-r4.ebuild
@@ -147,6 +147,7 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
+ -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"
diff --git a/sci-physics/root/root-6.18.04.ebuild b/sci-physics/root/root-6.18.04.ebuild
index ff963889945..852491a3c7d 100644
--- a/sci-physics/root/root-6.18.04.ebuild
+++ b/sci-physics/root/root-6.18.04.ebuild
@@ -140,6 +140,7 @@ src_configure() {
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-)
+ -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"
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 2ced39aaf19..27603b4ccc6 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -148,6 +148,7 @@ src_configure() {
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-)
+ -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"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-02-08 16:53 David Seifert
0 siblings, 0 replies; 196+ messages in thread
From: David Seifert @ 2020-02-08 16:53 UTC (permalink / raw
To: gentoo-commits
commit: 1613ae6503c9f1daf2f2b5073631e8c38cb9a290
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 8 16:52:17 2020 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 8 16:52:17 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1613ae65
sci-physics/root: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-physics/root/root-6.12.06-r11.ebuild | 6 +++---
sci-physics/root/root-6.14.08-r4.ebuild | 6 +++---
sci-physics/root/root-6.16.00-r4.ebuild | 6 +++---
sci-physics/root/root-6.18.04.ebuild | 6 +++---
sci-physics/root/root-9999.ebuild | 6 +++---
5 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r11.ebuild b/sci-physics/root/root-6.12.06-r11.ebuild
index 2cf1a95ecc9..cf9543852dd 100644
--- a/sci-physics/root/root-6.12.06-r11.ebuild
+++ b/sci-physics/root/root-6.12.06-r11.ebuild
@@ -149,8 +149,8 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -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_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}"
-Dexplicitlink=ON
@@ -273,7 +273,7 @@ src_configure() {
src_install() {
cmake-utils_src_install
- ROOTSYS=${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
cat > ${ROOTENV} <<- EOF || die
diff --git a/sci-physics/root/root-6.14.08-r4.ebuild b/sci-physics/root/root-6.14.08-r4.ebuild
index 7839ad943f5..0e7b47c3c07 100644
--- a/sci-physics/root/root-6.14.08-r4.ebuild
+++ b/sci-physics/root/root-6.14.08-r4.ebuild
@@ -149,8 +149,8 @@ src_configure() {
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-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_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}"
-DCLING_BUILD_PLUGINS=OFF
@@ -286,7 +286,7 @@ src_compile() {
src_install() {
cmake-utils_src_install
- ROOTSYS=${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
cat > ${ROOTENV} <<- EOF || die
diff --git a/sci-physics/root/root-6.16.00-r4.ebuild b/sci-physics/root/root-6.16.00-r4.ebuild
index 54a957e1426..801efd279db 100644
--- a/sci-physics/root/root-6.16.00-r4.ebuild
+++ b/sci-physics/root/root-6.16.00-r4.ebuild
@@ -148,8 +148,8 @@ src_configure() {
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-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_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}"
-DCLING_BUILD_PLUGINS=OFF
@@ -285,7 +285,7 @@ src_compile() {
src_install() {
cmake-utils_src_install
- ROOTSYS=${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
cat > ${ROOTENV} <<- EOF || die
diff --git a/sci-physics/root/root-6.18.04.ebuild b/sci-physics/root/root-6.18.04.ebuild
index 852491a3c7d..0438e31b9af 100644
--- a/sci-physics/root/root-6.18.04.ebuild
+++ b/sci-physics/root/root-6.18.04.ebuild
@@ -141,8 +141,8 @@ src_configure() {
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-)
-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_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}"
-DCLING_BUILD_PLUGINS=OFF
@@ -262,7 +262,7 @@ src_compile() {
src_install() {
cmake-utils_src_install
- ROOTSYS=${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
cat > ${ROOTENV} <<- EOF || die
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 27603b4ccc6..a6dee45e804 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -149,8 +149,8 @@ src_configure() {
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
-DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-)
-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_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}"
-DCLING_BUILD_PLUGINS=OFF
@@ -262,7 +262,7 @@ src_compile() {
src_install() {
cmake-utils_src_install
- ROOTSYS=${EPREFIX%/}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
if [[ ${PV} == "9999" ]]; then
ROOTENV="9900${PN}-git"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-02-09 16:47 Michał Górny
0 siblings, 0 replies; 196+ messages in thread
From: Michał Górny @ 2020-02-09 16:47 UTC (permalink / raw
To: gentoo-commits
commit: 2efa53effda5472007dcfb99247d31a279b067c6
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 8 10:31:21 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 9 16:46:57 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2efa53ef
sci-physics/root: Switch to PYTHON_MULTI_USEDEP API
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-physics/root/root-6.12.06-r11.ebuild | 6 +++++-
sci-physics/root/root-6.14.08-r4.ebuild | 6 +++++-
sci-physics/root/root-6.16.00-r4.ebuild | 6 +++++-
sci-physics/root/{root-6.18.04.ebuild => root-6.18.04-r1.ebuild} | 6 +++++-
sci-physics/root/root-9999.ebuild | 6 +++++-
5 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r11.ebuild b/sci-physics/root/root-6.12.06-r11.ebuild
index cf9543852dd..d49c467555c 100644
--- a/sci-physics/root/root-6.12.06-r11.ebuild
+++ b/sci-physics/root/root-6.12.06-r11.ebuild
@@ -90,7 +90,11 @@ CDEPEND="
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
tbb? ( dev-cpp/tbb )
- tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ tmva? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
+ )
vc? ( dev-libs/vc )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
diff --git a/sci-physics/root/root-6.14.08-r4.ebuild b/sci-physics/root/root-6.14.08-r4.ebuild
index 0e7b47c3c07..86b2044fd24 100644
--- a/sci-physics/root/root-6.14.08-r4.ebuild
+++ b/sci-physics/root/root-6.14.08-r4.ebuild
@@ -95,7 +95,11 @@ CDEPEND="
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
tbb? ( >=dev-cpp/tbb-2018 )
- tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ tmva? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
+ )
vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
diff --git a/sci-physics/root/root-6.16.00-r4.ebuild b/sci-physics/root/root-6.16.00-r4.ebuild
index 801efd279db..aa5745011f8 100644
--- a/sci-physics/root/root-6.16.00-r4.ebuild
+++ b/sci-physics/root/root-6.16.00-r4.ebuild
@@ -95,7 +95,11 @@ CDEPEND="
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
tbb? ( >=dev-cpp/tbb-2018 )
- tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ tmva? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
+ )
vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
diff --git a/sci-physics/root/root-6.18.04.ebuild b/sci-physics/root/root-6.18.04-r1.ebuild
similarity index 98%
rename from sci-physics/root/root-6.18.04.ebuild
rename to sci-physics/root/root-6.18.04-r1.ebuild
index 0438e31b9af..89beda36d2b 100644
--- a/sci-physics/root/root-6.18.04.ebuild
+++ b/sci-physics/root/root-6.18.04-r1.ebuild
@@ -91,7 +91,11 @@ CDEPEND="
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
tbb? ( >=dev-cpp/tbb-2018 )
- tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ tmva? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
+ )
vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index a6dee45e804..53b2390393a 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -103,7 +103,11 @@ CDEPEND="
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
tbb? ( >=dev-cpp/tbb-2018 )
- tmva? ( dev-python/numpy[${PYTHON_USEDEP}] )
+ tmva? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
+ )
vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-03-03 9:07 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-03-03 9:07 UTC (permalink / raw
To: gentoo-commits
commit: 9b87b95a8cb2b3f3f8c2a795ea1f3b7a973d2b17
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 3 09:04:08 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Mar 3 09:06:46 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b87b95a
sci-physics/root: version bump to 6.20.00
Package-Manager: Portage-2.3.91, Repoman-2.3.20
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.20.00.ebuild | 290 +++++++++++++++++++++++++++++++++++
2 files changed, 291 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index f2df4a34027..2647cb1cf94 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -2,3 +2,4 @@ DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff
DIST root_v6.14.08.source.tar.gz 162474562 BLAKE2B f8bfdabb4d91bbdfbab0b17626fff1f8aa265292996d857025cbd1543306f3ec540a1afb080788bfc7149ea835932b59d7c54dcd802354e31294ba2e5e9d2366 SHA512 827e39efbf3c69429a0a256127ca9f87550d9084c34c715bddccbf87a8c111c367b9a0ac6882aac747c9b48f4a3effb3747b4df567429910c93ee64dfe35df5b
DIST root_v6.16.00.source.tar.gz 164836293 BLAKE2B 9d8f02631bdc1fa1775cbdaf50dd1feacd9b3c86b81d679ba6f0ca3c5787cd1d22ef7c33358b608361a01ad4f0aff3e8c749649d24773a35c52ce87f808d08f5 SHA512 17e5b9815973773e30ff83c2f4028e9e93691c1ecb824c162c8b3e02d1f6666fb8e0b72a5d0652a90032af146d92d271cbffcd634fb6fe6a63bdf46d672789bf
DIST root_v6.18.04.source.tar.gz 165938450 BLAKE2B d6545dfa95817940f2bb6b5b49252eca1958df518a4bc05c4857df60a015a39d0df09ea077465533e6ebc815d04e1742da19d18b7af02b5446f9e73dc92e3c16 SHA512 cfcbdd2db4edf55845a7cd1e6ec0cdf714a7ceacb039fa6fb627d7300d6f849b3b462bab724e33b1d6b08eb22ba42c43b7d64c0c6c47dc8a3bb652f86979f2c6
+DIST root_v6.20.00.source.tar.gz 168051568 BLAKE2B 6d0b037cc769a186885c61d3ed9eb3bbb4b0dbc357d2ede8383d4491781ef642d19c5ff3c354aec49abc36cb7da0aac9ba346cd0896ed9b54b03080486031804 SHA512 a6e068430bfdc01922a7f6a4b14fd0b183185d8ef41862c6846b410c814914292573170ab58166e827b706726e27f95ce8ff389f43bc8a76a715992b7d6d32f9
diff --git a/sci-physics/root/root-6.20.00.ebuild b/sci-physics/root/root-6.20.00.ebuild
new file mode 100644
index 00000000000..6d626559fe0
--- /dev/null
+++ b/sci-physics/root/root-6.20.00.ebuild
@@ -0,0 +1,290 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python2_7 python3_{6,7} )
+
+inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
+ prefix python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+
+IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
+ +examples fits fftw fortran +gdml graphviz +gsl http libcxx +minuit
+ mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python
+ qt5 R +roofit root7 shadow sqlite +ssl +tbb test +tmva +unuran vc
+ vmc +xml xrootd"
+RESTRICT="!test? ( test )"
+
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="
+ ^^ ( c++11 c++14 c++17 )
+ cuda? ( tmva !c++17 )
+ !X? ( !asimage !opengl !qt5 )
+ davix? ( ssl xml )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ qt5? ( root7 )
+ root7? ( || ( c++14 c++17 ) )
+ tmva? ( gsl )
+"
+
+CDEPEND="
+ app-arch/lz4
+ app-arch/zstd
+ app-arch/xz-utils
+ fortran? ( dev-lang/cfortran )
+ dev-libs/libpcre:3
+ dev-libs/xxhash
+ media-fonts/dejavu
+ media-libs/freetype:2
+ media-libs/libpng:0=
+ 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 )
+ 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 )
+ gsl? ( sci-libs/gsl:= )
+ http? ( dev-libs/fcgi:0= )
+ libcxx? ( sys-libs/libcxx )
+ unuran? ( sci-mathematics/unuran:0= )
+ minuit? ( !sci-libs/minuit )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ postgres? ( dev-db/postgresql:= )
+ pythia6? ( sci-physics/pythia:6 )
+ pythia8? ( sci-physics/pythia:8 )
+ python? ( ${PYTHON_DEPS} )
+ R? ( dev-lang/R )
+ shadow? ( virtual/shadow )
+ sqlite? ( dev-db/sqlite:3 )
+ ssl? ( dev-libs/openssl:0= )
+ tbb? ( >=dev-cpp/tbb-2018 )
+ tmva? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
+ )
+ vc? ( dev-libs/vc:= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}"
+
+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() {
+ cmake-utils_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"
+}
+
+# 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=(
+ -DCMAKE_C_FLAGS="${CFLAGS}"
+ -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
+ -DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-)
+ -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}"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dexplicitlink=ON
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dgnuinstall=OFF
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=ON
+ -Dbuiltin_clang=ON
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=OFF
+ -Dbuiltin_lz4=OFF
+ -Dbuiltin_lzma=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_zlib=OFF
+ -Dx11=$(usex X)
+ -Dalien=OFF
+ -Darrow=OFF
+ -Dasimage=$(usex asimage)
+ -Dlibcxx=$(usex libcxx)
+ -Dccache=OFF # use ccache via portage
+ -Dcefweb=OFF
+ -Dclad=OFF
+ -Dcocoa=$(usex aqua)
+ -Dcuda=$(usex cuda)
+ -Dcxxmodules=OFF # requires clang, unstable
+ -Ddavix=$(usex davix)
+ -Ddcache=OFF
+ -Dfftw3=$(usex fftw)
+ -Dfitsio=$(usex fits)
+ -Dfortran=$(usex fortran)
+ -Dftgl=$(usex opengl)
+ -Dgdml=$(usex gdml)
+ -Dgfal=OFF
+ -Dgl2ps=$(usex opengl)
+ -Dgminimal=OFF
+ -Dgsl_shared=$(usex gsl)
+ -Dgviz=$(usex graphviz)
+ -Dhttp=$(usex http)
+ -Dimt=$(usex tbb)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=OFF # deprecated
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(usex minuit)
+ -Dmlp=$(usex tmva)
+ -Dmonalisa=OFF
+ -Dmysql=$(usex mysql)
+ -Dodbc=$(usex odbc)
+ -Dopengl=$(usex opengl)
+ -Doracle=$(usex oracle)
+ -Dpgsql=$(usex postgres)
+ -Dpythia6=$(usex pythia6)
+ -Dpythia8=$(usex pythia8)
+ -Dpython=$(usex python)
+ -Dqt5web=$(usex qt5)
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=OFF
+ -Drpath=OFF
+ -Druntime_cxxmodules=OFF # does not work yet
+ -Dr=$(usex R)
+ -Dshadowpw=$(usex shadow)
+ -Dsqlite=$(usex sqlite)
+ -Dssl=$(usex ssl)
+ -Dtcmalloc=OFF
+ -Dtesting=$(usex test)
+ -Dtmva=$(usex tmva)
+ -Dtmva-cpu=$(usex tmva)
+ -Dtmva-gpu=$(usex cuda)
+ -Dunuran=$(usex unuran)
+ -Dvc=$(usex vc)
+ -Dvmc=$(usex vmc)
+ -Dvdt=OFF
+ -Dveccore=OFF
+ -Dxml=$(usex xml)
+ -Dxrootd=$(usex xrootd)
+ ${EXTRA_ECONF}
+ )
+
+ CMAKE_BUILD_TYPE=$(usex debug Debug Release) \
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ # needed for hsimple.root
+ addwrite /dev/random
+ cmake-utils_src_compile
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/lib"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r emacs bin/*.{csh,sh,fish} || die
+
+ if ! use examples; then
+ rm -r tutorials || die
+ fi
+
+ # create versioned symlinks for binaries
+ cd bin;
+ for exe in *; do
+ dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
+ done
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-03-07 9:55 Mikle Kolyada
0 siblings, 0 replies; 196+ messages in thread
From: Mikle Kolyada @ 2020-03-07 9:55 UTC (permalink / raw
To: gentoo-commits
commit: 83a5846c19c13ab5328eeb2bbb03776af2d3bdcd
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 7 09:54:21 2020 +0000
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Mar 7 09:55:09 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83a5846c
sci-physics/root: migrate to sys-apps/shadow
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
sci-physics/root/{root-6.12.06-r11.ebuild => root-6.12.06-r12.ebuild} | 2 +-
sci-physics/root/{root-6.14.08-r4.ebuild => root-6.14.08-r5.ebuild} | 2 +-
sci-physics/root/{root-6.16.00-r4.ebuild => root-6.16.00-r5.ebuild} | 2 +-
sci-physics/root/{root-6.18.04-r1.ebuild => root-6.18.04-r2.ebuild} | 2 +-
sci-physics/root/{root-6.20.00.ebuild => root-6.20.00-r1.ebuild} | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/sci-physics/root/root-6.12.06-r11.ebuild b/sci-physics/root/root-6.12.06-r12.ebuild
similarity index 99%
rename from sci-physics/root/root-6.12.06-r11.ebuild
rename to sci-physics/root/root-6.12.06-r12.ebuild
index d49c467555c..8aec2963b96 100644
--- a/sci-physics/root/root-6.12.06-r11.ebuild
+++ b/sci-physics/root/root-6.12.06-r12.ebuild
@@ -86,7 +86,7 @@ CDEPEND="
pythia8? ( sci-physics/pythia:8= )
python? ( ${PYTHON_DEPS} )
R? ( dev-lang/R )
- shadow? ( virtual/shadow )
+ shadow? ( sys-apps/shadow )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
tbb? ( dev-cpp/tbb )
diff --git a/sci-physics/root/root-6.14.08-r4.ebuild b/sci-physics/root/root-6.14.08-r5.ebuild
similarity index 99%
rename from sci-physics/root/root-6.14.08-r4.ebuild
rename to sci-physics/root/root-6.14.08-r5.ebuild
index 86b2044fd24..f8832c53af4 100644
--- a/sci-physics/root/root-6.14.08-r4.ebuild
+++ b/sci-physics/root/root-6.14.08-r5.ebuild
@@ -91,7 +91,7 @@ CDEPEND="
pythia8? ( sci-physics/pythia:8 )
python? ( ${PYTHON_DEPS} )
R? ( dev-lang/R )
- shadow? ( virtual/shadow )
+ shadow? ( sys-apps/shadow )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
tbb? ( >=dev-cpp/tbb-2018 )
diff --git a/sci-physics/root/root-6.16.00-r4.ebuild b/sci-physics/root/root-6.16.00-r5.ebuild
similarity index 99%
rename from sci-physics/root/root-6.16.00-r4.ebuild
rename to sci-physics/root/root-6.16.00-r5.ebuild
index aa5745011f8..3185f5f0186 100644
--- a/sci-physics/root/root-6.16.00-r4.ebuild
+++ b/sci-physics/root/root-6.16.00-r5.ebuild
@@ -91,7 +91,7 @@ CDEPEND="
pythia8? ( sci-physics/pythia:8 )
python? ( ${PYTHON_DEPS} )
R? ( dev-lang/R )
- shadow? ( virtual/shadow )
+ shadow? ( sys-apps/shadow )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
tbb? ( >=dev-cpp/tbb-2018 )
diff --git a/sci-physics/root/root-6.18.04-r1.ebuild b/sci-physics/root/root-6.18.04-r2.ebuild
similarity index 99%
rename from sci-physics/root/root-6.18.04-r1.ebuild
rename to sci-physics/root/root-6.18.04-r2.ebuild
index 89beda36d2b..3ea7881ca45 100644
--- a/sci-physics/root/root-6.18.04-r1.ebuild
+++ b/sci-physics/root/root-6.18.04-r2.ebuild
@@ -87,7 +87,7 @@ CDEPEND="
pythia8? ( sci-physics/pythia:8 )
python? ( ${PYTHON_DEPS} )
R? ( dev-lang/R )
- shadow? ( virtual/shadow )
+ shadow? ( sys-apps/shadow )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
tbb? ( >=dev-cpp/tbb-2018 )
diff --git a/sci-physics/root/root-6.20.00.ebuild b/sci-physics/root/root-6.20.00-r1.ebuild
similarity index 99%
rename from sci-physics/root/root-6.20.00.ebuild
rename to sci-physics/root/root-6.20.00-r1.ebuild
index 6d626559fe0..c2f66b41b2b 100644
--- a/sci-physics/root/root-6.20.00.ebuild
+++ b/sci-physics/root/root-6.20.00-r1.ebuild
@@ -87,7 +87,7 @@ CDEPEND="
pythia8? ( sci-physics/pythia:8 )
python? ( ${PYTHON_DEPS} )
R? ( dev-lang/R )
- shadow? ( virtual/shadow )
+ shadow? ( sys-apps/shadow )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
tbb? ( >=dev-cpp/tbb-2018 )
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 53b2390393a..330a86183bd 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -99,7 +99,7 @@ CDEPEND="
pythia8? ( sci-physics/pythia:8 )
python? ( ${PYTHON_DEPS} )
R? ( dev-lang/R )
- shadow? ( virtual/shadow )
+ shadow? ( sys-apps/shadow )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
tbb? ( >=dev-cpp/tbb-2018 )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-03-10 20:04 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-03-10 20:04 UTC (permalink / raw
To: gentoo-commits
commit: 85c163054212f99111894cca1c79967c277ae5cd
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 10 20:00:19 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Mar 10 20:03:36 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85c16305
sci-physics/root: use standard instead of experimental PyROOT
The default has been switched upstream to the experimental new
version of PyROOT, but in Gentoo we keep using the standard one
for now. This option will be added as USE flag later.
Package-Manager: Portage-2.3.92, Repoman-2.3.20
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index cdefaf2c0ae..bb269368dfc 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -228,6 +228,7 @@ src_configure() {
-Dpythia8=$(usex pythia8)
-Dpyroot=$(usex python) # python was renamed to pyroot
-Dpython=$(usex python) # kept for backward compatibility
+ -Dpyroot_experimental=OFF # use standard PyROOT for now
-Dqt5web=$(usex qt5)
-Droofit=$(usex roofit)
-Droot7=$(usex root7)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-03-10 20:04 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-03-10 20:04 UTC (permalink / raw
To: gentoo-commits
commit: 1f1e74dcfc3c0f1d987d6454958e309e8284af23
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 10 09:51:58 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Mar 10 20:02:19 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f1e74dc
sci-physics/root: follow upstream rename of python option to pyroot
Package-Manager: Portage-2.3.92, Repoman-2.3.20
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 330a86183bd..cdefaf2c0ae 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -226,7 +226,8 @@ src_configure() {
-Dpgsql=$(usex postgres)
-Dpythia6=$(usex pythia6)
-Dpythia8=$(usex pythia8)
- -Dpython=$(usex python)
+ -Dpyroot=$(usex python) # python was renamed to pyroot
+ -Dpython=$(usex python) # kept for backward compatibility
-Dqt5web=$(usex qt5)
-Droofit=$(usex roofit)
-Droot7=$(usex root7)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-03-12 7:27 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-03-12 7:27 UTC (permalink / raw
To: gentoo-commits
commit: c5226fabb2d98676770c9925dafc781036e25b26
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 16:09:51 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Mar 12 07:21:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5226fab
sci-physics/root: add new cudnn USE flag
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/metadata.xml | 1 +
sci-physics/root/root-9999.ebuild | 5 ++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml
index 8eb44b130ef..e20aca48cc1 100644
--- a/sci-physics/root/metadata.xml
+++ b/sci-physics/root/metadata.xml
@@ -25,6 +25,7 @@
<flag name="c++14">Build using the C++14 standard</flag>
<flag name="c++17">Build using the C++17 standard</flag>
<flag name="cuda">Enable support for nVidia CUDA</flag>
+ <flag name="cudnn">Enable support for nVidia cuDNN library</flag>
<flag name="davix">Enable support for DAVIX Data Management Client (https://cern.ch/davix)</flag>
<flag name="fits">Enable support for images and data from FITS files with <pkg>sci-libs/cfitsio</pkg></flag>
<flag name="fortran">Compile included Fortran programs</flag>
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 78fe9987204..ba2e0296e35 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -14,7 +14,7 @@ inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
+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
mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python
qt5 R +roofit root7 shadow sqlite +ssl +tbb test +tmva +unuran vc
@@ -41,6 +41,7 @@ LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
REQUIRED_USE="
^^ ( c++11 c++14 c++17 )
cuda? ( tmva !c++17 )
+ cudnn? ( cuda )
!X? ( !asimage !opengl !qt5 )
davix? ( ssl xml )
python? ( ${PYTHON_REQUIRED_USE} )
@@ -81,6 +82,7 @@ CDEPEND="
)
asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff] )
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= )
@@ -198,6 +200,7 @@ src_configure() {
-Dclad=OFF
-Dcocoa=$(usex aqua)
-Dcuda=$(usex cuda)
+ -Dcudnn=$(usex cudnn)
-Dcxxmodules=OFF # requires clang, unstable
-Ddavix=$(usex davix)
-Ddcache=OFF
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-03-12 7:27 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-03-12 7:27 UTC (permalink / raw
To: gentoo-commits
commit: 87d4e50ed08fec60ed9b9b9b18717d80f845c965
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 16:37:31 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Mar 12 07:21:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87d4e50e
sci-physics/root: add USE=mpi support
This is a new feature from ROOT 6.20.00 and later.
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.20.00-r1.ebuild | 4 +++-
sci-physics/root/root-9999.ebuild | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/root-6.20.00-r1.ebuild b/sci-physics/root/root-6.20.00-r1.ebuild
index d2fe9958e65..9bb1b81ae15 100644
--- a/sci-physics/root/root-6.20.00-r1.ebuild
+++ b/sci-physics/root/root-6.20.00-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
+examples fits fftw fortran +gdml graphviz +gsl http libcxx +minuit
- mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python
+ mpi mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python
qt5 R +roofit root7 shadow sqlite +ssl +tbb test +tmva +unuran vc
vmc +xml xrootd"
RESTRICT="!test? ( test )"
@@ -79,6 +79,7 @@ CDEPEND="
libcxx? ( sys-libs/libcxx )
unuran? ( sci-mathematics/unuran:0= )
minuit? ( !sci-libs/minuit )
+ mpi? ( virtual/mpi )
mysql? ( dev-db/mysql-connector-c )
odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
oracle? ( dev-db/oracle-instantclient-basic )
@@ -210,6 +211,7 @@ src_configure() {
-Dminuit=$(usex minuit)
-Dmlp=$(usex tmva)
-Dmonalisa=OFF
+ -Dmpi=$(usex mpi)
-Dmysql=$(usex mysql)
-Dodbc=$(usex odbc)
-Dopengl=$(usex opengl)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index bc4a2339916..172980d28a2 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -16,7 +16,7 @@ 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
- mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python
+ mpi mysql odbc +opengl oracle postgres prefix pythia6 pythia8 +python
qt5 R +roofit root7 shadow sqlite +ssl +tbb test +tmva +unuran vc
vmc +xml xrootd"
RESTRICT="!test? ( test )"
@@ -93,6 +93,7 @@ CDEPEND="
libcxx? ( sys-libs/libcxx )
unuran? ( sci-mathematics/unuran:0= )
minuit? ( !sci-libs/minuit )
+ mpi? ( virtual/mpi )
mysql? ( dev-db/mysql-connector-c )
odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
oracle? ( dev-db/oracle-instantclient-basic )
@@ -225,6 +226,7 @@ src_configure() {
-Dminuit=$(usex minuit)
-Dmlp=$(usex tmva)
-Dmonalisa=OFF
+ -Dmpi=$(usex mpi)
-Dmysql=$(usex mysql)
-Dodbc=$(usex odbc)
-Dopengl=$(usex opengl)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-03-12 7:27 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-03-12 7:27 UTC (permalink / raw
To: gentoo-commits
commit: a3f9cc61b5f07dc4829c26a72833727bafe1575b
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 16:01:15 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Mar 12 07:21:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3f9cc61
sci-physics/root: make sure not to use bundled zstd library
This is a new dependency in 6.20.00 and later.
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.20.00-r1.ebuild | 1 +
sci-physics/root/root-9999.ebuild | 1 +
2 files changed, 2 insertions(+)
diff --git a/sci-physics/root/root-6.20.00-r1.ebuild b/sci-physics/root/root-6.20.00-r1.ebuild
index c2f66b41b2b..48c84a7f57d 100644
--- a/sci-physics/root/root-6.20.00-r1.ebuild
+++ b/sci-physics/root/root-6.20.00-r1.ebuild
@@ -175,6 +175,7 @@ src_configure() {
-Dbuiltin_xrootd=OFF
-Dbuiltin_xxhash=OFF
-Dbuiltin_zlib=OFF
+ -Dbuiltin_zstd=OFF
-Dx11=$(usex X)
-Dalien=OFF
-Darrow=OFF
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index bb269368dfc..78fe9987204 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -187,6 +187,7 @@ src_configure() {
-Dbuiltin_xrootd=OFF
-Dbuiltin_xxhash=OFF
-Dbuiltin_zlib=OFF
+ -Dbuiltin_zstd=OFF
-Dx11=$(usex X)
-Dalien=OFF
-Darrow=OFF
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-03-12 7:27 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-03-12 7:27 UTC (permalink / raw
To: gentoo-commits
commit: 6885b8fc1a03a5227bcb423915f94a490b4e7b5d
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 16:12:56 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Mar 12 07:21:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6885b8fc
sci-physics/root: add new build options to configuration
This is to ensure that changes in defaults upstream won't affect
the ebuilds.
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.20.00-r1.ebuild | 2 ++
sci-physics/root/root-9999.ebuild | 2 ++
2 files changed, 4 insertions(+)
diff --git a/sci-physics/root/root-6.20.00-r1.ebuild b/sci-physics/root/root-6.20.00-r1.ebuild
index 48c84a7f57d..d2fe9958e65 100644
--- a/sci-physics/root/root-6.20.00-r1.ebuild
+++ b/sci-physics/root/root-6.20.00-r1.ebuild
@@ -188,7 +188,9 @@ src_configure() {
-Dcuda=$(usex cuda)
-Dcxxmodules=OFF # requires clang, unstable
-Ddavix=$(usex davix)
+ -Ddataframe=ON
-Ddcache=OFF
+ -Dfcgi=$(usex http)
-Dfftw3=$(usex fftw)
-Dfitsio=$(usex fits)
-Dfortran=$(usex fortran)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index ba2e0296e35..bc4a2339916 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -203,7 +203,9 @@ src_configure() {
-Dcudnn=$(usex cudnn)
-Dcxxmodules=OFF # requires clang, unstable
-Ddavix=$(usex davix)
+ -Ddataframe=ON
-Ddcache=OFF
+ -Dfcgi=$(usex http)
-Dfftw3=$(usex fftw)
-Dfitsio=$(usex fits)
-Dfortran=$(usex fortran)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-03-12 12:18 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-03-12 12:18 UTC (permalink / raw
To: gentoo-commits
commit: 48538396017afd2121d9035a088cf8a4e3741480
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 12 12:17:00 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Mar 12 12:17:19 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48538396
sci-physics/root: call cuda_src_prepare when USE=cuda is enabled
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.14.08-r5.ebuild | 2 ++
sci-physics/root/root-6.16.00-r5.ebuild | 2 ++
sci-physics/root/root-6.18.04-r2.ebuild | 2 ++
sci-physics/root/root-6.20.00-r1.ebuild | 2 ++
sci-physics/root/root-9999.ebuild | 2 ++
5 files changed, 10 insertions(+)
diff --git a/sci-physics/root/root-6.14.08-r5.ebuild b/sci-physics/root/root-6.14.08-r5.ebuild
index f8832c53af4..70ca03aa303 100644
--- a/sci-physics/root/root-6.14.08-r5.ebuild
+++ b/sci-physics/root/root-6.14.08-r5.ebuild
@@ -128,6 +128,8 @@ pkg_setup() {
}
src_prepare() {
+ use cuda && cuda_src_prepare
+
cmake-utils_src_prepare
sed -i "/CLING_BUILD_PLUGINS/d" interpreter/CMakeLists.txt || die
diff --git a/sci-physics/root/root-6.16.00-r5.ebuild b/sci-physics/root/root-6.16.00-r5.ebuild
index 3185f5f0186..856ea9fb106 100644
--- a/sci-physics/root/root-6.16.00-r5.ebuild
+++ b/sci-physics/root/root-6.16.00-r5.ebuild
@@ -127,6 +127,8 @@ pkg_setup() {
}
src_prepare() {
+ use cuda && cuda_src_prepare
+
cmake-utils_src_prepare
sed -i "/CLING_BUILD_PLUGINS/d" interpreter/CMakeLists.txt || die
diff --git a/sci-physics/root/root-6.18.04-r2.ebuild b/sci-physics/root/root-6.18.04-r2.ebuild
index 3ea7881ca45..56da9683376 100644
--- a/sci-physics/root/root-6.18.04-r2.ebuild
+++ b/sci-physics/root/root-6.18.04-r2.ebuild
@@ -121,6 +121,8 @@ pkg_setup() {
}
src_prepare() {
+ use cuda && cuda_src_prepare
+
cmake-utils_src_prepare
sed -i "/CLING_BUILD_PLUGINS/d" interpreter/CMakeLists.txt || die
diff --git a/sci-physics/root/root-6.20.00-r1.ebuild b/sci-physics/root/root-6.20.00-r1.ebuild
index 9bb1b81ae15..3b2cfb7aa27 100644
--- a/sci-physics/root/root-6.20.00-r1.ebuild
+++ b/sci-physics/root/root-6.20.00-r1.ebuild
@@ -122,6 +122,8 @@ pkg_setup() {
}
src_prepare() {
+ use cuda && cuda_src_prepare
+
cmake-utils_src_prepare
sed -i "/CLING_BUILD_PLUGINS/d" interpreter/CMakeLists.txt || die
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 172980d28a2..5a0ccb7679d 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -136,6 +136,8 @@ pkg_setup() {
}
src_prepare() {
+ use cuda && cuda_src_prepare
+
cmake-utils_src_prepare
sed -i "/CLING_BUILD_PLUGINS/d" interpreter/CMakeLists.txt || die
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-03-16 13:32 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-03-16 13:32 UTC (permalink / raw
To: gentoo-commits
commit: fd9d97bc8d9d3522d9b16d68c107bdb68d39c264
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 12:25:16 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 13:32:39 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd9d97bc
sci-physics/root: version bump to 6.20.02
The dependency on media-libs/cudnn when USE=cuda has been made
optional upstream.
Closes: https://bugs.gentoo.org/711470
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
.../root/{root-6.20.00-r1.ebuild => root-6.20.02.ebuild} | 11 +++++++++--
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 2647cb1cf94..6735930f074 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -2,4 +2,4 @@ DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff
DIST root_v6.14.08.source.tar.gz 162474562 BLAKE2B f8bfdabb4d91bbdfbab0b17626fff1f8aa265292996d857025cbd1543306f3ec540a1afb080788bfc7149ea835932b59d7c54dcd802354e31294ba2e5e9d2366 SHA512 827e39efbf3c69429a0a256127ca9f87550d9084c34c715bddccbf87a8c111c367b9a0ac6882aac747c9b48f4a3effb3747b4df567429910c93ee64dfe35df5b
DIST root_v6.16.00.source.tar.gz 164836293 BLAKE2B 9d8f02631bdc1fa1775cbdaf50dd1feacd9b3c86b81d679ba6f0ca3c5787cd1d22ef7c33358b608361a01ad4f0aff3e8c749649d24773a35c52ce87f808d08f5 SHA512 17e5b9815973773e30ff83c2f4028e9e93691c1ecb824c162c8b3e02d1f6666fb8e0b72a5d0652a90032af146d92d271cbffcd634fb6fe6a63bdf46d672789bf
DIST root_v6.18.04.source.tar.gz 165938450 BLAKE2B d6545dfa95817940f2bb6b5b49252eca1958df518a4bc05c4857df60a015a39d0df09ea077465533e6ebc815d04e1742da19d18b7af02b5446f9e73dc92e3c16 SHA512 cfcbdd2db4edf55845a7cd1e6ec0cdf714a7ceacb039fa6fb627d7300d6f849b3b462bab724e33b1d6b08eb22ba42c43b7d64c0c6c47dc8a3bb652f86979f2c6
-DIST root_v6.20.00.source.tar.gz 168051568 BLAKE2B 6d0b037cc769a186885c61d3ed9eb3bbb4b0dbc357d2ede8383d4491781ef642d19c5ff3c354aec49abc36cb7da0aac9ba346cd0896ed9b54b03080486031804 SHA512 a6e068430bfdc01922a7f6a4b14fd0b183185d8ef41862c6846b410c814914292573170ab58166e827b706726e27f95ce8ff389f43bc8a76a715992b7d6d32f9
+DIST root_v6.20.02.source.tar.gz 168054715 BLAKE2B b57a40ffb5a69aa7060d5237b701c367198b3e9743c82fa9edfc1b51169c77b68b4ad9c826bbbd2f125bc8ebc7498b4173efb1216a5752a29fc113c7a30f23ab SHA512 04d5ef3afc70fc6ed4a2bdf01a1bc777222c27cf2f9dc39512de81a19cc1e6ec87d8d21cf6ba7d7270498c1c1cd571f3bbfd2699fc49713f1cc685b087b36316
diff --git a/sci-physics/root/root-6.20.00-r1.ebuild b/sci-physics/root/root-6.20.02.ebuild
similarity index 95%
rename from sci-physics/root/root-6.20.00-r1.ebuild
rename to sci-physics/root/root-6.20.02.ebuild
index 3b2cfb7aa27..07d451fd715 100644
--- a/sci-physics/root/root-6.20.00-r1.ebuild
+++ b/sci-physics/root/root-6.20.02.ebuild
@@ -15,7 +15,7 @@ DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
+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 vc
@@ -29,6 +29,7 @@ KEYWORDS="~amd64 ~x86"
REQUIRED_USE="
^^ ( c++11 c++14 c++17 )
cuda? ( tmva !c++17 )
+ cudnn? ( cuda )
!X? ( !asimage !opengl !qt5 )
davix? ( ssl xml )
python? ( ${PYTHON_REQUIRED_USE} )
@@ -69,6 +70,7 @@ CDEPEND="
)
asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff] )
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= )
@@ -140,6 +142,9 @@ src_prepare() {
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++11 || usev c++14 || usev c++17) | cut -c4-)
@@ -189,6 +194,7 @@ src_configure() {
-Dclad=OFF
-Dcocoa=$(usex aqua)
-Dcuda=$(usex cuda)
+ -Dcudnn=$(usex cudnn)
-Dcxxmodules=OFF # requires clang, unstable
-Ddavix=$(usex davix)
-Ddataframe=ON
@@ -221,7 +227,8 @@ src_configure() {
-Dpgsql=$(usex postgres)
-Dpythia6=$(usex pythia6)
-Dpythia8=$(usex pythia8)
- -Dpython=$(usex python)
+ -Dpyroot=$(usex python) # python was renamed to pyroot
+ -Dpyroot_experimental=OFF # use standard PyROOT for now
-Dqt5web=$(usex qt5)
-Droofit=$(usex roofit)
-Droot7=$(usex root7)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-04-01 11:30 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-04-01 11:30 UTC (permalink / raw
To: gentoo-commits
commit: 33e57de11ce61793afbbfa7f498297e14be13bda
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 1 11:28:30 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Apr 1 11:28:43 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e57de1
sci-physics/root: use same compiler for C++ and CUDA in live ebuild
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 5a0ccb7679d..60e7f05e2b1 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -154,6 +154,9 @@ src_prepare() {
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++11 || usev c++14 || usev c++17) | cut -c4-)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-04-01 11:30 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-04-01 11:30 UTC (permalink / raw
To: gentoo-commits
commit: 9efdf83c5d83bab41604d62fbfc810775f21ed0b
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 1 11:24:04 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Apr 1 11:28:43 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9efdf83c
sci-physics/root: version bump to 6.20.04
Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.20.02.ebuild => root-6.20.04.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 6735930f074..1f599c25217 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -2,4 +2,4 @@ DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff
DIST root_v6.14.08.source.tar.gz 162474562 BLAKE2B f8bfdabb4d91bbdfbab0b17626fff1f8aa265292996d857025cbd1543306f3ec540a1afb080788bfc7149ea835932b59d7c54dcd802354e31294ba2e5e9d2366 SHA512 827e39efbf3c69429a0a256127ca9f87550d9084c34c715bddccbf87a8c111c367b9a0ac6882aac747c9b48f4a3effb3747b4df567429910c93ee64dfe35df5b
DIST root_v6.16.00.source.tar.gz 164836293 BLAKE2B 9d8f02631bdc1fa1775cbdaf50dd1feacd9b3c86b81d679ba6f0ca3c5787cd1d22ef7c33358b608361a01ad4f0aff3e8c749649d24773a35c52ce87f808d08f5 SHA512 17e5b9815973773e30ff83c2f4028e9e93691c1ecb824c162c8b3e02d1f6666fb8e0b72a5d0652a90032af146d92d271cbffcd634fb6fe6a63bdf46d672789bf
DIST root_v6.18.04.source.tar.gz 165938450 BLAKE2B d6545dfa95817940f2bb6b5b49252eca1958df518a4bc05c4857df60a015a39d0df09ea077465533e6ebc815d04e1742da19d18b7af02b5446f9e73dc92e3c16 SHA512 cfcbdd2db4edf55845a7cd1e6ec0cdf714a7ceacb039fa6fb627d7300d6f849b3b462bab724e33b1d6b08eb22ba42c43b7d64c0c6c47dc8a3bb652f86979f2c6
-DIST root_v6.20.02.source.tar.gz 168054715 BLAKE2B b57a40ffb5a69aa7060d5237b701c367198b3e9743c82fa9edfc1b51169c77b68b4ad9c826bbbd2f125bc8ebc7498b4173efb1216a5752a29fc113c7a30f23ab SHA512 04d5ef3afc70fc6ed4a2bdf01a1bc777222c27cf2f9dc39512de81a19cc1e6ec87d8d21cf6ba7d7270498c1c1cd571f3bbfd2699fc49713f1cc685b087b36316
+DIST root_v6.20.04.source.tar.gz 168056076 BLAKE2B 814bf74f5a18adf2605954068962d3283504538118d221f55e030b224e09c9542a544c166a317ad981a84d4a1edc48bbfc76a57acd43aefb779d8e27270c4aeb SHA512 3cc214a4b160795c8aa53b6fdb01370c3aea628696d1668cbf47e6beac56f171674619a853a1219336d9b67ad06db1d9ecd13345bf1731f809da9e60b3d39a2c
diff --git a/sci-physics/root/root-6.20.02.ebuild b/sci-physics/root/root-6.20.04.ebuild
similarity index 100%
rename from sci-physics/root/root-6.20.02.ebuild
rename to sci-physics/root/root-6.20.04.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-05-07 13:44 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-05-07 13:44 UTC (permalink / raw
To: gentoo-commits
commit: 6bdfeaf97727c16d33201a382c6e3d0df2d9e133
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu May 7 13:43:00 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu May 7 13:43:51 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bdfeaf9
sci-physics/root: add python3.8 to PYTHON_COMPAT
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.20.04.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/root-6.20.04.ebuild b/sci-physics/root/root-6.20.04.ebuild
index 07d451fd715..71c51ffb3f9 100644
--- a/sci-physics/root/root-6.20.04.ebuild
+++ b/sci-physics/root/root-6.20.04.ebuild
@@ -6,7 +6,7 @@ EAPI=6
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 60e7f05e2b1..c8b16d196ea 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=6
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-06-15 9:45 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-06-15 9:45 UTC (permalink / raw
To: gentoo-commits
commit: f404bf47a71603218c055c25519332f75fbed58a
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 09:15:04 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 09:45:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f404bf47
sci-physics/root: bump to version 6.20.06, EAPI=7
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.20.06.ebuild | 306 +++++++++++++++++++++++++++++++++++
2 files changed, 307 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 1f599c25217..5e35fda2ccf 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -3,3 +3,4 @@ DIST root_v6.14.08.source.tar.gz 162474562 BLAKE2B f8bfdabb4d91bbdfbab0b17626fff
DIST root_v6.16.00.source.tar.gz 164836293 BLAKE2B 9d8f02631bdc1fa1775cbdaf50dd1feacd9b3c86b81d679ba6f0ca3c5787cd1d22ef7c33358b608361a01ad4f0aff3e8c749649d24773a35c52ce87f808d08f5 SHA512 17e5b9815973773e30ff83c2f4028e9e93691c1ecb824c162c8b3e02d1f6666fb8e0b72a5d0652a90032af146d92d271cbffcd634fb6fe6a63bdf46d672789bf
DIST root_v6.18.04.source.tar.gz 165938450 BLAKE2B d6545dfa95817940f2bb6b5b49252eca1958df518a4bc05c4857df60a015a39d0df09ea077465533e6ebc815d04e1742da19d18b7af02b5446f9e73dc92e3c16 SHA512 cfcbdd2db4edf55845a7cd1e6ec0cdf714a7ceacb039fa6fb627d7300d6f849b3b462bab724e33b1d6b08eb22ba42c43b7d64c0c6c47dc8a3bb652f86979f2c6
DIST root_v6.20.04.source.tar.gz 168056076 BLAKE2B 814bf74f5a18adf2605954068962d3283504538118d221f55e030b224e09c9542a544c166a317ad981a84d4a1edc48bbfc76a57acd43aefb779d8e27270c4aeb SHA512 3cc214a4b160795c8aa53b6fdb01370c3aea628696d1668cbf47e6beac56f171674619a853a1219336d9b67ad06db1d9ecd13345bf1731f809da9e60b3d39a2c
+DIST root_v6.20.06.source.tar.gz 168216335 BLAKE2B a0a51f11e6dcc3a6ba657a8b946507bb857088bce3102f5330a0df455fec468ee4228f5394795f3e3b1ee3434b7ddda85f08039bf603a531154c28b335ff803c SHA512 232fd5253e83eb02ad33d03941c7c83d39d5f6b0162bd42594e44a0c1c08deade42ae5793e571db767ce4fa0a582aa332b9d1869e621b825d1eb1162819c98c6
diff --git a/sci-physics/root/root-6.20.06.ebuild b/sci-physics/root/root-6.20.06.ebuild
new file mode 100644
index 00000000000..d719ead370c
--- /dev/null
+++ b/sci-physics/root/root-6.20.06.ebuild
@@ -0,0 +1,306 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+
+inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+
+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 vc
+ vmc +xml xrootd"
+RESTRICT="!test? ( test )"
+
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="
+ ^^ ( c++11 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 )
+"
+
+CDEPEND="
+ app-arch/lz4
+ app-arch/zstd
+ app-arch/xz-utils
+ fortran? ( dev-lang/cfortran )
+ dev-libs/libpcre:3
+ dev-libs/xxhash
+ media-fonts/dejavu
+ media-libs/freetype:2
+ media-libs/libpng:0=
+ 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 )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ 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 )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ 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-2018 )
+ tmva? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
+ )
+ vc? ( dev-libs/vc:= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}"
+
+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.
+# 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=(
+ -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++11 || usev c++14 || usev c++17) | cut -c4-)
+ -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}"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dgnuinstall=OFF
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=ON
+ -Dbuiltin_clang=ON
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=OFF
+ -Dbuiltin_lz4=OFF
+ -Dbuiltin_lzma=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_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
+ -Ddataframe=ON
+ -Ddavix=$(usex davix)
+ -Ddcache=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)
+ -Dlibcxx=$(usex libcxx)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=OFF # deprecated
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(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_experimental=OFF # use standard PyROOT for now
+ -Dpythia6=$(usex pythia6)
+ -Dpythia8=$(usex pythia8)
+ -Dqt5web=$(usex qt5)
+ -Dr=$(usex R)
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=OFF
+ -Drpath=OFF
+ -Druntime_cxxmodules=OFF
+ -Dshadowpw=$(usex shadow)
+ -Dspectrum=ON
+ -Dsqlite=$(usex sqlite)
+ -Dssl=$(usex ssl)
+ -Dtcmalloc=OFF
+ -Dtesting=$(usex test)
+ -Dtmva=$(usex tmva)
+ -Dtmva-cpu=$(usex tmva)
+ -Dtmva-gpu=$(usex cuda)
+ -Dtmva-pymva=$(usex tmva)
+ -Dtmva-rmva=$(usex R)
+ -Dunuran=$(usex unuran)
+ -Dvc=$(usex vc)
+ -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
+}
+
+src_install() {
+ cmake_src_install
+
+ ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/lib"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r emacs bin/*.{csh,sh,fish} || die
+
+ if ! use examples; then
+ rm -r tutorials || die
+ fi
+
+ # create versioned symlinks for binaries
+ cd bin;
+ for exe in *; do
+ dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
+ done
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-06-15 9:45 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-06-15 9:45 UTC (permalink / raw
To: gentoo-commits
commit: 5f681ae8c616ac552c786bd5d2875e574c9c787e
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 09:33:58 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 09:45:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f681ae8
sci-physics/root: drop old
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 -
sci-physics/root/root-6.12.06-r12.ebuild | 313 -----------------------------
sci-physics/root/root-6.14.08-r5.ebuild | 328 -------------------------------
3 files changed, 643 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index fadb9824830..7211f4e8726 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,5 +1,3 @@
-DIST root_v6.12.06.source.tar.gz 162284452 BLAKE2B 944b5e899677bab40842d7ec969ff08cfa470e63be9a02b948a49ae088e8da72ce433a5071d9196bfd98f71e6861b1bda285354012620eee6c61cffcee71a0c8 SHA512 3d44749ccfc3d40a2f516ae53ef40fb244ed785eee0dbc18ff822bbb811a15b943039d30282ef5358a283d485e62531880c877ec77a86089503b06d6f37e42e1
-DIST root_v6.14.08.source.tar.gz 162474562 BLAKE2B f8bfdabb4d91bbdfbab0b17626fff1f8aa265292996d857025cbd1543306f3ec540a1afb080788bfc7149ea835932b59d7c54dcd802354e31294ba2e5e9d2366 SHA512 827e39efbf3c69429a0a256127ca9f87550d9084c34c715bddccbf87a8c111c367b9a0ac6882aac747c9b48f4a3effb3747b4df567429910c93ee64dfe35df5b
DIST root_v6.16.00.source.tar.gz 164836293 BLAKE2B 9d8f02631bdc1fa1775cbdaf50dd1feacd9b3c86b81d679ba6f0ca3c5787cd1d22ef7c33358b608361a01ad4f0aff3e8c749649d24773a35c52ce87f808d08f5 SHA512 17e5b9815973773e30ff83c2f4028e9e93691c1ecb824c162c8b3e02d1f6666fb8e0b72a5d0652a90032af146d92d271cbffcd634fb6fe6a63bdf46d672789bf
DIST root_v6.18.04.source.tar.gz 165938450 BLAKE2B d6545dfa95817940f2bb6b5b49252eca1958df518a4bc05c4857df60a015a39d0df09ea077465533e6ebc815d04e1742da19d18b7af02b5446f9e73dc92e3c16 SHA512 cfcbdd2db4edf55845a7cd1e6ec0cdf714a7ceacb039fa6fb627d7300d6f849b3b462bab724e33b1d6b08eb22ba42c43b7d64c0c6c47dc8a3bb652f86979f2c6
DIST root_v6.20.04.source.tar.gz 168056076 BLAKE2B 814bf74f5a18adf2605954068962d3283504538118d221f55e030b224e09c9542a544c166a317ad981a84d4a1edc48bbfc76a57acd43aefb779d8e27270c4aeb SHA512 3cc214a4b160795c8aa53b6fdb01370c3aea628696d1668cbf47e6beac56f171674619a853a1219336d9b67ad06db1d9ecd13345bf1731f809da9e60b3d39a2c
diff --git a/sci-physics/root/root-6.12.06-r12.ebuild b/sci-physics/root/root-6.12.06-r12.ebuild
deleted file mode 100644
index 8aec2963b96..00000000000
--- a/sci-physics/root/root-6.12.06-r12.ebuild
+++ /dev/null
@@ -1,313 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_6 )
-
-inherit cmake-utils eapi7-ver elisp-common eutils fortran-2 \
- prefix python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-
-IUSE="+X aqua +asimage +davix debug emacs +examples fits fftw fortran
- +gdml graphviz +gsl http jemalloc kerberos ldap libcxx memstat
- +minuit mysql nosplash odbc +opengl oracle postgres prefix pythia6
- pythia8 +python qt5 R +roofit root7 shadow sqlite +ssl table +tbb
- test +threads +tiff +tmva +unuran vc xinetd +xml xrootd zeroconf"
-RESTRICT="!test? ( test )"
-
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="
- !X? ( !asimage !opengl !qt5 !tiff )
- davix? ( ssl xml )
- python? ( ${PYTHON_REQUIRED_USE} )
- qt5? ( root7 )
- tmva? ( gsl )
-"
-
-CDEPEND="
- app-arch/lz4
- app-arch/xz-utils
- fortran? ( dev-lang/cfortran )
- dev-libs/libpcre:3=
- dev-libs/xxhash
- media-fonts/dejavu
- media-libs/freetype:2=
- media-libs/libpng:0=
- 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?] )
- zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
- 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:0= )
- gsl? ( sci-libs/gsl )
- http? ( dev-libs/fcgi:0= )
- jemalloc? ( dev-libs/jemalloc )
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap:0= )
- libcxx? ( sys-libs/libcxx )
- unuran? ( sci-mathematics/unuran:0= )
- minuit? ( !sci-libs/minuit )
- mysql? ( dev-db/mysql-connector-c )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
- oracle? ( dev-db/oracle-instantclient-basic )
- 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_MULTI_USEDEP}]
- ')
- )
- vc? ( dev-libs/vc )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}
- xinetd? ( sys-apps/xinetd )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.11.02-hsimple.patch
- "${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
- "${FILESDIR}"/${PN}-6.12.04-no-opengl.patch
- "${FILESDIR}"/${PN}-6.12.04-z3.patch
- "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
- "${FILESDIR}"/${PN}-6.14.06-oracle.patch
-)
-
-pkg_setup() {
- use fortran && fortran-2_pkg_setup
- use python && python-single-r1_pkg_setup
-
- echo
- elog "There are extra options on packages not yet in Gentoo:"
- elog "Afdsmgrd, AliEn, castor, Chirp, dCache, gfal, Globus, gLite,"
- elog "HDFS, Monalisa, MaxDB/SapDB, SRP, VecCore."
- elog "You can use the env variable EXTRA_ECONF variable for this."
- elog "For example, for Chirp, you would set: "
- elog "EXTRA_ECONF=\"-Dchirp=ON\""
- echo
-}
-
-src_prepare() {
- cmake-utils_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"
-
- if use nosplash; then
- sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
- fi
-
- hprefixify core/clingutils/CMakeLists.txt
-}
-
-# 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 small files into /etc (~100MB in total),
-# we install it into another directory to avoid making /etc too big.
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_C_FLAGS="${CFLAGS}"
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -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}"
- -Dexplicitlink=ON
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=OFF
- -Dbuiltin_lz4=OFF
- -Dbuiltin_lzma=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_zlib=OFF
- -Dx11=$(usex X)
- -Dxft=$(usex X)
- -Dafdsmgrd=OFF
- -Dafs=OFF # not implemented
- -Dalien=OFF
- -Dasimage=$(usex asimage)
- -Dastiff=$(usex tiff)
- -Dbonjour=$(usex zeroconf)
- -Dlibcxx=$(usex libcxx)
- -Dccache=OFF # use ccache via portage
- -Dcastor=OFF
- -Dchirp=OFF
- -Dcling=ON # cling=OFF is broken
- -Dcocoa=$(usex aqua)
- -Dcxx14=$(usex root7)
- -Dcxxmodules=OFF # requires clang, unstable
- -Ddavix=$(usex davix)
- -Ddcache=OFF
- -Dfftw3=$(usex fftw)
- -Dfitsio=$(usex fits)
- -Dfortran=$(usex fortran)
- -Dftgl=$(usex opengl)
- -Dgdml=$(usex gdml)
- -Dgenvector=ON # genvector=OFF ignored
- -Dgeocad=OFF
- -Dgfal=OFF
- -Dgl2ps=$(usex opengl)
- -Dglite=OFF # not implemented
- -Dglobus=OFF
- -Dgminimal=OFF
- -Dgnuinstall=OFF
- -Dgsl_shared=$(usex gsl)
- -Dgviz=$(usex graphviz)
- -Dhdfs=OFF
- -Dhttp=$(usex http)
- -Dimt=$(usex tbb)
- -Djemalloc=$(usex jemalloc)
- -Dkrb5=$(usex kerberos)
- -Dldap=$(usex ldap)
- -Dmathmore=$(usex gsl)
- -Dmemstat=$(usex memstat)
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(usex minuit)
- -Dmonalisa=OFF
- -Dmysql=$(usex mysql)
- -Dodbc=$(usex odbc)
- -Dopengl=$(usex opengl)
- -Doracle=$(usex oracle)
- -Dpch=ON # pch=OFF is broken
- -Dpgsql=$(usex postgres)
- -Dpythia6=$(usex pythia6)
- -Dpythia8=$(usex pythia8)
- -Dpython=$(usex python)
- -Dqt5web=$(usex qt5)
- -Dqtgsi=OFF
- -Dqt=OFF
- -Drfio=OFF
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=$(usex test)
- -Drpath=ON # needed for multi-slot to work
- -Druby=OFF # deprecated and broken
- -Druntime_cxxmodules=OFF # does not work yet
- -Dr=$(usex R)
- -Dsapdb=OFF # not implemented
- -Dshadowpw=$(usex shadow)
- -Dsqlite=$(usex sqlite)
- -Dsrp=OFF # not implemented
- -Dssl=$(usex ssl)
- -Dtable=$(usex table)
- -Dtbb=$(usex tbb)
- -Dtcmalloc=OFF
- -Dtesting=$(usex test)
- -Dthread=$(usex threads)
- -Dtmva=$(usex tmva)
- -Dunuran=$(usex unuran)
- -Dvc=$(usex vc)
- -Dvdt=OFF
- -Dveccore=OFF
- -Dxml=$(usex xml)
- -Dxrootd=$(usex xrootd)
- ${EXTRA_ECONF}
- )
-
- CMAKE_BUILD_TYPE=$(usex debug Debug Release) \
- cmake-utils_src_configure
-}
-
-src_install() {
- cmake-utils_src_install
-
- ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
- ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
-
- cat > ${ROOTENV} <<- EOF || die
- MANPATH="${ROOTSYS}/share/man"
- PATH="${ROOTSYS}/bin"
- ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/lib"
- EOF
-
- if use python; then
- echo "PYTHONPATH=${ROOTSYS}/lib" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- rm -r test emacs bin/*.{csh,sh} || die
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- # create versioned symlinks for binaries
- cd bin;
- for exe in *; do
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
- done
-}
diff --git a/sci-physics/root/root-6.14.08-r5.ebuild b/sci-physics/root/root-6.14.08-r5.ebuild
deleted file mode 100644
index 70ca03aa303..00000000000
--- a/sci-physics/root/root-6.14.08-r5.ebuild
+++ /dev/null
@@ -1,328 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
-
-inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
- prefix python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
- +examples fits fftw fortran +gdml graphviz +gsl http jemalloc
- kerberos ldap libcxx memstat +minuit mysql nosplash odbc +opengl
- oracle postgres prefix pythia6 pythia8 +python qt5 R +roofit root7
- shadow sqlite +ssl table +tbb test +threads +tiff +tmva +unuran vc
- xinetd +xml xrootd zeroconf"
-RESTRICT="!test? ( test )"
-
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="
- ^^ ( c++11 c++14 c++17 )
- cuda? ( tmva !c++17 )
- !X? ( !asimage !opengl !qt5 !tiff )
- davix? ( ssl xml )
- python? ( ${PYTHON_REQUIRED_USE} )
- qt5? ( root7 )
- root7? ( || ( c++14 c++17 ) )
- tmva? ( gsl )
-"
-
-CDEPEND="
- app-arch/lz4
- app-arch/xz-utils
- fortran? ( dev-lang/cfortran )
- dev-libs/libpcre:3
- dev-libs/xxhash
- media-fonts/dejavu
- media-libs/freetype:2
- media-libs/libpng:0=
- 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?] )
- zeroconf? ( net-dns/avahi[mdnsresponder-compat] )
- cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
- 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 )
- gsl? ( sci-libs/gsl:= )
- http? ( dev-libs/fcgi:0= )
- jemalloc? ( dev-libs/jemalloc )
- kerberos? ( virtual/krb5 )
- ldap? ( net-nds/openldap:0= )
- libcxx? ( sys-libs/libcxx )
- unuran? ( sci-mathematics/unuran:0= )
- minuit? ( !sci-libs/minuit )
- mysql? ( dev-db/mysql-connector-c )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
- oracle? ( dev-db/oracle-instantclient-basic )
- 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-2018 )
- tmva? (
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_MULTI_USEDEP}]
- ')
- )
- vc? ( dev-libs/vc:= )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}
- xinetd? ( sys-apps/xinetd )"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.12.04-no-ocaml.patch
- "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
- "${FILESDIR}"/${PN}-6.14.06-oracle.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-utils_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"
-
- if use nosplash; then
- sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
- fi
-
- hprefixify core/clingutils/CMakeLists.txt
-}
-
-# 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=(
- -DCMAKE_C_FLAGS="${CFLAGS}"
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -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}"
- -DCLING_BUILD_PLUGINS=OFF
- -Dexplicitlink=ON
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dgnuinstall=OFF
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=ON
- -Dbuiltin_clang=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=OFF
- -Dbuiltin_lz4=OFF
- -Dbuiltin_lzma=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_zlib=OFF
- -Dx11=$(usex X)
- -Dxft=$(usex X)
- -Dafdsmgrd=OFF
- -Dafs=OFF # not implemented
- -Dalien=OFF
- -Dasimage=$(usex asimage)
- -Dastiff=$(usex tiff)
- -Dbonjour=$(usex zeroconf)
- -Dlibcxx=$(usex libcxx)
- -Dccache=OFF # use ccache via portage
- -Dcastor=OFF
- -Dchirp=OFF
- -Dclad=OFF
- -Dcling=ON # cling=OFF is broken
- -Dcocoa=$(usex aqua)
- -Dcuda=$(usex cuda)
- -Dcxx11=$(usex c++11)
- -Dcxx14=$(usex c++14)
- -Dcxx17=$(usex c++17)
- -Dcxxmodules=OFF # requires clang, unstable
- -Ddavix=$(usex davix)
- -Ddcache=OFF
- -Dfftw3=$(usex fftw)
- -Dfitsio=$(usex fits)
- -Dfortran=$(usex fortran)
- -Dftgl=$(usex opengl)
- -Dgdml=$(usex gdml)
- -Dgenvector=ON # genvector=OFF ignored
- -Dgeocad=OFF
- -Dgfal=OFF
- -Dgl2ps=$(usex opengl)
- -Dglite=OFF # not implemented
- -Dglobus=OFF
- -Dgminimal=OFF
- -Dgsl_shared=$(usex gsl)
- -Dgviz=$(usex graphviz)
- -Dhdfs=OFF
- -Dhttp=$(usex http)
- -Dimt=$(usex tbb)
- -Djemalloc=$(usex jemalloc)
- -Dkrb5=$(usex kerberos)
- -Dldap=$(usex ldap)
- -Dmathmore=$(usex gsl)
- -Dmemstat=$(usex memstat)
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(usex minuit)
- -Dmonalisa=OFF
- -Dmysql=$(usex mysql)
- -Dodbc=$(usex odbc)
- -Dopengl=$(usex opengl)
- -Doracle=$(usex oracle)
- -Dpch=ON # pch=OFF is broken
- -Dpgsql=$(usex postgres)
- -Dpythia6=$(usex pythia6)
- -Dpythia8=$(usex pythia8)
- -Dpython=$(usex python)
- -Dqt5web=$(usex qt5)
- -Dqtgsi=OFF
- -Dqt=OFF
- -Drfio=OFF
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=OFF
- -Drpath=OFF
- -Druby=OFF # deprecated and broken
- -Druntime_cxxmodules=OFF # does not work yet
- -Dr=$(usex R)
- -Dsapdb=OFF # not implemented
- -Dshadowpw=$(usex shadow)
- -Dsqlite=$(usex sqlite)
- -Dsrp=OFF # not implemented
- -Dssl=$(usex ssl)
- -Dtable=$(usex table)
- -Dtcmalloc=OFF
- -Dtesting=$(usex test)
- -Dthread=$(usex threads)
- -Dtmva=$(usex tmva)
- -Dtmva-cpu=$(usex tmva)
- -Dtmva-gpu=$(usex cuda)
- -Dunuran=$(usex unuran)
- -Dvc=$(usex vc)
- -Dvdt=OFF
- -Dveccore=OFF
- -Dxml=$(usex xml)
- -Dxrootd=$(usex xrootd)
- ${EXTRA_ECONF}
- )
-
- CMAKE_BUILD_TYPE=$(usex debug Debug Release) \
- cmake-utils_src_configure
-}
-
-src_compile() {
- # needed for hsimple.root
- addwrite /dev/random
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
-
- ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
- ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
-
- cat > ${ROOTENV} <<- EOF || die
- MANPATH="${ROOTSYS}/share/man"
- PATH="${ROOTSYS}/bin"
- ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/lib"
- EOF
-
- if use python; then
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- rm -r test emacs bin/*.{csh,sh} || die
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- # create versioned symlinks for binaries
- cd bin;
- for exe in *; do
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
- done
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-06-15 9:45 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-06-15 9:45 UTC (permalink / raw
To: gentoo-commits
commit: 2ce9a0a9acd1365f9fbb33a748d61b430d9c5ec7
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 09:36:56 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 09:45:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ce9a0a9
sci-physics/root: mark 6.16..6.20.04 as stable on amd64 and x86
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.16.00-r5.ebuild | 2 +-
sci-physics/root/root-6.18.04-r2.ebuild | 2 +-
sci-physics/root/root-6.20.04.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sci-physics/root/root-6.16.00-r5.ebuild b/sci-physics/root/root-6.16.00-r5.ebuild
index 856ea9fb106..5b4861dbe3c 100644
--- a/sci-physics/root/root-6.16.00-r5.ebuild
+++ b/sci-physics/root/root-6.16.00-r5.ebuild
@@ -25,7 +25,7 @@ RESTRICT="!test? ( test )"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
REQUIRED_USE="
^^ ( c++11 c++14 c++17 )
diff --git a/sci-physics/root/root-6.18.04-r2.ebuild b/sci-physics/root/root-6.18.04-r2.ebuild
index 56da9683376..043dfdd8ac3 100644
--- a/sci-physics/root/root-6.18.04-r2.ebuild
+++ b/sci-physics/root/root-6.18.04-r2.ebuild
@@ -24,7 +24,7 @@ RESTRICT="!test? ( test )"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
REQUIRED_USE="
^^ ( c++11 c++14 c++17 )
diff --git a/sci-physics/root/root-6.20.04.ebuild b/sci-physics/root/root-6.20.04.ebuild
index 71c51ffb3f9..9f650c469aa 100644
--- a/sci-physics/root/root-6.20.04.ebuild
+++ b/sci-physics/root/root-6.20.04.ebuild
@@ -24,7 +24,7 @@ RESTRICT="!test? ( test )"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
REQUIRED_USE="
^^ ( c++11 c++14 c++17 )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-06-15 9:45 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-06-15 9:45 UTC (permalink / raw
To: gentoo-commits
commit: 30155f2646e28cc2a287088be3cac2c9de0f125d
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 09:33:13 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 09:45:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30155f26
sci-physics/root: update live ebuild for EAPI=7
EAPI=7, cmake.eclass, drop eutils, update build options.
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 44 ++++++++++++++++++++-------------------
1 file changed, 23 insertions(+), 21 deletions(-)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index c8b16d196ea..54b3cc2715b 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -1,15 +1,14 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
-inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
- prefix python-single-r1 toolchain-funcs
+inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
@@ -24,7 +23,7 @@ RESTRICT="!test? ( test )"
if [[ ${PV} =~ "9999" ]] ; then
inherit git-r3
KEYWORDS=""
- EGIT_REPO_URI="http://root.cern/git/root.git"
+ EGIT_REPO_URI="https://github.com/root-project/root.git"
if [[ ${PV} == "9999" ]]; then
SLOT="0"
else
@@ -40,7 +39,7 @@ LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
REQUIRED_USE="
^^ ( c++11 c++14 c++17 )
- cuda? ( tmva !c++17 )
+ cuda? ( tmva )
cudnn? ( cuda )
!X? ( !asimage !opengl !qt5 )
davix? ( ssl xml )
@@ -138,12 +137,14 @@ pkg_setup() {
src_prepare() {
use cuda && cuda_src_prepare
- cmake-utils_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
@@ -166,7 +167,6 @@ src_configure() {
-DCMAKE_INSTALL_LIBDIR="lib"
-DDEFAULT_SYSROOT="${EPREFIX}"
-DCLING_BUILD_PLUGINS=OFF
- -Dexplicitlink=ON
-Dexceptions=ON
-Dfail-on-missing=ON
-Dgnuinstall=OFF
@@ -196,11 +196,9 @@ src_configure() {
-Dbuiltin_xxhash=OFF
-Dbuiltin_zlib=OFF
-Dbuiltin_zstd=OFF
- -Dx11=$(usex X)
-Dalien=OFF
-Darrow=OFF
-Dasimage=$(usex asimage)
- -Dlibcxx=$(usex libcxx)
-Dccache=OFF # use ccache via portage
-Dcefweb=OFF
-Dclad=OFF
@@ -208,22 +206,21 @@ src_configure() {
-Dcuda=$(usex cuda)
-Dcudnn=$(usex cudnn)
-Dcxxmodules=OFF # requires clang, unstable
- -Ddavix=$(usex davix)
-Ddataframe=ON
+ -Ddavix=$(usex davix)
-Ddcache=OFF
-Dfcgi=$(usex http)
-Dfftw3=$(usex fftw)
-Dfitsio=$(usex fits)
-Dfortran=$(usex fortran)
- -Dftgl=$(usex opengl)
-Dgdml=$(usex gdml)
-Dgfal=OFF
- -Dgl2ps=$(usex opengl)
-Dgminimal=OFF
-Dgsl_shared=$(usex gsl)
-Dgviz=$(usex graphviz)
-Dhttp=$(usex http)
-Dimt=$(usex tbb)
+ -Dlibcxx=$(usex libcxx)
-Dmathmore=$(usex gsl)
-Dmemstat=OFF # deprecated
-Dminimal=OFF
@@ -238,19 +235,20 @@ src_configure() {
-Doracle=$(usex oracle)
-Dpgsql=$(usex postgres)
-Dpythia6=$(usex pythia6)
- -Dpythia8=$(usex pythia8)
-Dpyroot=$(usex python) # python was renamed to pyroot
- -Dpython=$(usex python) # kept for backward compatibility
- -Dpyroot_experimental=OFF # use standard PyROOT for now
+ #-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)
+ -Dpythia8=$(usex pythia8)
-Dqt5web=$(usex qt5)
+ -Dr=$(usex R)
-Droofit=$(usex roofit)
-Droot7=$(usex root7)
-Drootbench=OFF
-Droottest=OFF
-Drpath=OFF
- -Druntime_cxxmodules=OFF # does not work yet
- -Dr=$(usex R)
+ -Druntime_cxxmodules=OFF
-Dshadowpw=$(usex shadow)
+ -Dspectrum=ON
-Dsqlite=$(usex sqlite)
-Dssl=$(usex ssl)
-Dtcmalloc=OFF
@@ -258,28 +256,32 @@ src_configure() {
-Dtmva=$(usex tmva)
-Dtmva-cpu=$(usex tmva)
-Dtmva-gpu=$(usex cuda)
+ -Dtmva-pymva=$(usex tmva)
+ -Dtmva-rmva=$(usex R)
-Dunuran=$(usex unuran)
-Dvc=$(usex vc)
- -Dvmc=$(usex vmc)
-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-utils_src_configure
+ cmake_src_configure
}
src_compile() {
# needed for hsimple.root
addwrite /dev/random
- cmake-utils_src_compile
+ cmake_src_compile
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-06-15 9:45 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-06-15 9:45 UTC (permalink / raw
To: gentoo-commits
commit: b2fb83ebe261adff5beebb3f314c4e854ca766d1
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 09:18:10 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 09:45:22 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2fb83eb
sci-physics/root: version bump to 6.22.00
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.22.00.ebuild | 306 +++++++++++++++++++++++++++++++++++
2 files changed, 307 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 5e35fda2ccf..fadb9824830 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -4,3 +4,4 @@ DIST root_v6.16.00.source.tar.gz 164836293 BLAKE2B 9d8f02631bdc1fa1775cbdaf50dd1
DIST root_v6.18.04.source.tar.gz 165938450 BLAKE2B d6545dfa95817940f2bb6b5b49252eca1958df518a4bc05c4857df60a015a39d0df09ea077465533e6ebc815d04e1742da19d18b7af02b5446f9e73dc92e3c16 SHA512 cfcbdd2db4edf55845a7cd1e6ec0cdf714a7ceacb039fa6fb627d7300d6f849b3b462bab724e33b1d6b08eb22ba42c43b7d64c0c6c47dc8a3bb652f86979f2c6
DIST root_v6.20.04.source.tar.gz 168056076 BLAKE2B 814bf74f5a18adf2605954068962d3283504538118d221f55e030b224e09c9542a544c166a317ad981a84d4a1edc48bbfc76a57acd43aefb779d8e27270c4aeb SHA512 3cc214a4b160795c8aa53b6fdb01370c3aea628696d1668cbf47e6beac56f171674619a853a1219336d9b67ad06db1d9ecd13345bf1731f809da9e60b3d39a2c
DIST root_v6.20.06.source.tar.gz 168216335 BLAKE2B a0a51f11e6dcc3a6ba657a8b946507bb857088bce3102f5330a0df455fec468ee4228f5394795f3e3b1ee3434b7ddda85f08039bf603a531154c28b335ff803c SHA512 232fd5253e83eb02ad33d03941c7c83d39d5f6b0162bd42594e44a0c1c08deade42ae5793e571db767ce4fa0a582aa332b9d1869e621b825d1eb1162819c98c6
+DIST root_v6.22.00.source.tar.gz 173014392 BLAKE2B a59071ee5b13466505323fca30fe656668a243006239e7f9ebc71bb21a7fe244cafe6d33ff4579b67920c9102eb36344f20415079bb627834fb8a57d9117476d SHA512 9e3c54bbc146b0abb0a2d960af380255ec59d0b3a11a4a97a2a25cb7ac567b07280c4eb48dddf99c1fa2e692881f6396a842ce125d3a253037e52f719739f01e
diff --git a/sci-physics/root/root-6.22.00.ebuild b/sci-physics/root/root-6.22.00.ebuild
new file mode 100644
index 00000000000..bc8ff3c8c0f
--- /dev/null
+++ b/sci-physics/root/root-6.22.00.ebuild
@@ -0,0 +1,306 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+
+inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+
+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 vc
+ vmc +xml xrootd"
+RESTRICT="!test? ( test )"
+
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="
+ ^^ ( c++11 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 )
+"
+
+CDEPEND="
+ app-arch/lz4
+ app-arch/zstd
+ app-arch/xz-utils
+ fortran? ( dev-lang/cfortran )
+ dev-libs/libpcre:3
+ dev-libs/xxhash
+ media-fonts/dejavu
+ media-libs/freetype:2
+ media-libs/libpng:0=
+ 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 )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ 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 )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ 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-2018 )
+ tmva? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
+ )
+ vc? ( dev-libs/vc:= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}"
+
+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.
+# 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=(
+ -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++11 || usev c++14 || usev c++17) | cut -c4-)
+ -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}"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dgnuinstall=OFF
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=ON
+ -Dbuiltin_clang=ON
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=OFF
+ -Dbuiltin_lz4=OFF
+ -Dbuiltin_lzma=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_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
+ -Ddataframe=ON
+ -Ddavix=$(usex davix)
+ -Ddcache=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)
+ -Dlibcxx=$(usex libcxx)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=OFF # deprecated
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(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)
+ -Dr=$(usex R)
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=OFF
+ -Drpath=OFF
+ -Druntime_cxxmodules=OFF
+ -Dshadowpw=$(usex shadow)
+ -Dspectrum=ON
+ -Dsqlite=$(usex sqlite)
+ -Dssl=$(usex ssl)
+ -Dtcmalloc=OFF
+ -Dtesting=$(usex test)
+ -Dtmva=$(usex tmva)
+ -Dtmva-cpu=$(usex tmva)
+ -Dtmva-gpu=$(usex cuda)
+ -Dtmva-pymva=$(usex tmva)
+ -Dtmva-rmva=$(usex R)
+ -Dunuran=$(usex unuran)
+ -Dvc=$(usex vc)
+ -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
+}
+
+src_install() {
+ cmake_src_install
+
+ ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/lib"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r emacs bin/*.{csh,sh,fish} || die
+
+ if ! use examples; then
+ rm -r tutorials || die
+ fi
+
+ # create versioned symlinks for binaries
+ cd bin;
+ for exe in *; do
+ dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
+ done
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-06-15 10:28 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-06-15 10:28 UTC (permalink / raw
To: gentoo-commits
commit: bff76a52a0544663eb161bbb4b04143069af35ec
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 15 10:27:11 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 15 10:28:20 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bff76a52
sci-physics/root: mark 6.20.04 ~amd64 ~x86 due to cudnn
This version has an optional dependency on sci-libs/cudnn,
which is only marked ~amd64 and ~x86.
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.20.04.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/root-6.20.04.ebuild b/sci-physics/root/root-6.20.04.ebuild
index 9f650c469aa..71c51ffb3f9 100644
--- a/sci-physics/root/root-6.20.04.ebuild
+++ b/sci-physics/root/root-6.20.04.ebuild
@@ -24,7 +24,7 @@ RESTRICT="!test? ( test )"
SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
REQUIRED_USE="
^^ ( c++11 c++14 c++17 )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-07-08 13:32 Marek Szuba
0 siblings, 0 replies; 196+ messages in thread
From: Marek Szuba @ 2020-07-08 13:32 UTC (permalink / raw
To: gentoo-commits
commit: 6129f720ccda12911e6e54781f9e45ca710a00d1
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 8 13:28:34 2020 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Wed Jul 8 13:31:09 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6129f720
sci-physics/root: block >=net-libs/xrootd-5
The net-libs/xrootd client library required by sci-physics/root[xrootd]
has been removed between 4.12.3 and 5.0.0. Upstream ticket:
https://sft.its.cern.ch/jira/browse/ROOT-10910
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
sci-physics/root/root-6.16.00-r5.ebuild | 2 +-
sci-physics/root/root-6.18.04-r2.ebuild | 2 +-
sci-physics/root/root-6.20.04.ebuild | 2 +-
sci-physics/root/root-6.20.06.ebuild | 2 +-
sci-physics/root/root-6.22.00.ebuild | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/sci-physics/root/root-6.16.00-r5.ebuild b/sci-physics/root/root-6.16.00-r5.ebuild
index 5b4861dbe3c..654e8431079 100644
--- a/sci-physics/root/root-6.16.00-r5.ebuild
+++ b/sci-physics/root/root-6.16.00-r5.ebuild
@@ -102,7 +102,7 @@ CDEPEND="
)
vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
+ xrootd? ( <net-libs/xrootd-5:0= )
"
DEPEND="${CDEPEND}
diff --git a/sci-physics/root/root-6.18.04-r2.ebuild b/sci-physics/root/root-6.18.04-r2.ebuild
index 043dfdd8ac3..43c415eacfd 100644
--- a/sci-physics/root/root-6.18.04-r2.ebuild
+++ b/sci-physics/root/root-6.18.04-r2.ebuild
@@ -98,7 +98,7 @@ CDEPEND="
)
vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
+ xrootd? ( <net-libs/xrootd-5:0= )
"
DEPEND="${CDEPEND}
diff --git a/sci-physics/root/root-6.20.04.ebuild b/sci-physics/root/root-6.20.04.ebuild
index 71c51ffb3f9..4806caa94c9 100644
--- a/sci-physics/root/root-6.20.04.ebuild
+++ b/sci-physics/root/root-6.20.04.ebuild
@@ -101,7 +101,7 @@ CDEPEND="
)
vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
+ xrootd? ( <net-libs/xrootd-5:0= )
"
DEPEND="${CDEPEND}
diff --git a/sci-physics/root/root-6.20.06.ebuild b/sci-physics/root/root-6.20.06.ebuild
index d719ead370c..4403d94be47 100644
--- a/sci-physics/root/root-6.20.06.ebuild
+++ b/sci-physics/root/root-6.20.06.ebuild
@@ -100,7 +100,7 @@ CDEPEND="
)
vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
+ xrootd? ( <net-libs/xrootd-5:0= )
"
DEPEND="${CDEPEND}
diff --git a/sci-physics/root/root-6.22.00.ebuild b/sci-physics/root/root-6.22.00.ebuild
index f81b6676084..004a33d9d3c 100644
--- a/sci-physics/root/root-6.22.00.ebuild
+++ b/sci-physics/root/root-6.22.00.ebuild
@@ -100,7 +100,7 @@ CDEPEND="
)
vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
+ xrootd? ( <net-libs/xrootd-5:0= )
"
DEPEND="${CDEPEND}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-08-27 15:31 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-08-27 15:31 UTC (permalink / raw
To: gentoo-commits
commit: 545502ed1b8dc81dd31c119bcee46c0ae785ec35
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 27 09:06:42 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 15:29:19 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=545502ed
sci-physics/root: version bump to 6.20.08
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.20.08.ebuild | 306 +++++++++++++++++++++++++++++++++++
2 files changed, 307 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 673df40908f..5631b64929a 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -2,5 +2,6 @@ DIST root_v6.16.00.source.tar.gz 164836293 BLAKE2B 9d8f02631bdc1fa1775cbdaf50dd1
DIST root_v6.18.04.source.tar.gz 165938450 BLAKE2B d6545dfa95817940f2bb6b5b49252eca1958df518a4bc05c4857df60a015a39d0df09ea077465533e6ebc815d04e1742da19d18b7af02b5446f9e73dc92e3c16 SHA512 cfcbdd2db4edf55845a7cd1e6ec0cdf714a7ceacb039fa6fb627d7300d6f849b3b462bab724e33b1d6b08eb22ba42c43b7d64c0c6c47dc8a3bb652f86979f2c6
DIST root_v6.20.04.source.tar.gz 168056076 BLAKE2B 814bf74f5a18adf2605954068962d3283504538118d221f55e030b224e09c9542a544c166a317ad981a84d4a1edc48bbfc76a57acd43aefb779d8e27270c4aeb SHA512 3cc214a4b160795c8aa53b6fdb01370c3aea628696d1668cbf47e6beac56f171674619a853a1219336d9b67ad06db1d9ecd13345bf1731f809da9e60b3d39a2c
DIST root_v6.20.06.source.tar.gz 168216335 BLAKE2B a0a51f11e6dcc3a6ba657a8b946507bb857088bce3102f5330a0df455fec468ee4228f5394795f3e3b1ee3434b7ddda85f08039bf603a531154c28b335ff803c SHA512 232fd5253e83eb02ad33d03941c7c83d39d5f6b0162bd42594e44a0c1c08deade42ae5793e571db767ce4fa0a582aa332b9d1869e621b825d1eb1162819c98c6
+DIST root_v6.20.08.source.tar.gz 168218062 BLAKE2B 79b1eb89f1003c140a60d47e9d447576ad215e66321a265ed047b069d05f008cf8f0d23df99ed35a8ee5a802e5de5a42122e8f1c075b01ef74eb11926a1b31d7 SHA512 205d5ae94a6c1b6e1a479a8631d5a9bab4a9f76c396cf3ed2c23a26c767a5a892a087b872a69853ada0f84e60a6015f732342c5f48acc696cb626528748f81fe
DIST root_v6.22.00.source.tar.gz 173014392 BLAKE2B a59071ee5b13466505323fca30fe656668a243006239e7f9ebc71bb21a7fe244cafe6d33ff4579b67920c9102eb36344f20415079bb627834fb8a57d9117476d SHA512 9e3c54bbc146b0abb0a2d960af380255ec59d0b3a11a4a97a2a25cb7ac567b07280c4eb48dddf99c1fa2e692881f6396a842ce125d3a253037e52f719739f01e
DIST root_v6.22.02.source.tar.gz 173033408 BLAKE2B c7e3719b612093386fddecbfd098c428345d3562537c2dc546e12b9da62fa6f2cc776a5314ae1257eeaaa498af29236520931ea3f6dd5ad3e03095bc117da125 SHA512 0a0ffbcee2ef971bebf32bc38a247ea981f56721314bc2eab69cfe66ae86eafb00568c475b41b2ae7db7ad25f0c8b0953e10f1841316a49cf62fbad664ccee17
diff --git a/sci-physics/root/root-6.20.08.ebuild b/sci-physics/root/root-6.20.08.ebuild
new file mode 100644
index 00000000000..4403d94be47
--- /dev/null
+++ b/sci-physics/root/root-6.20.08.ebuild
@@ -0,0 +1,306 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+
+inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+
+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 vc
+ vmc +xml xrootd"
+RESTRICT="!test? ( test )"
+
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="
+ ^^ ( c++11 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 )
+"
+
+CDEPEND="
+ app-arch/lz4
+ app-arch/zstd
+ app-arch/xz-utils
+ fortran? ( dev-lang/cfortran )
+ dev-libs/libpcre:3
+ dev-libs/xxhash
+ media-fonts/dejavu
+ media-libs/freetype:2
+ media-libs/libpng:0=
+ 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 )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ 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 )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ 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-2018 )
+ tmva? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
+ )
+ vc? ( dev-libs/vc:= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( <net-libs/xrootd-5:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}"
+
+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.
+# 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=(
+ -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++11 || usev c++14 || usev c++17) | cut -c4-)
+ -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}"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dgnuinstall=OFF
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=ON
+ -Dbuiltin_clang=ON
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=OFF
+ -Dbuiltin_lz4=OFF
+ -Dbuiltin_lzma=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_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
+ -Ddataframe=ON
+ -Ddavix=$(usex davix)
+ -Ddcache=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)
+ -Dlibcxx=$(usex libcxx)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=OFF # deprecated
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(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_experimental=OFF # use standard PyROOT for now
+ -Dpythia6=$(usex pythia6)
+ -Dpythia8=$(usex pythia8)
+ -Dqt5web=$(usex qt5)
+ -Dr=$(usex R)
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=OFF
+ -Drpath=OFF
+ -Druntime_cxxmodules=OFF
+ -Dshadowpw=$(usex shadow)
+ -Dspectrum=ON
+ -Dsqlite=$(usex sqlite)
+ -Dssl=$(usex ssl)
+ -Dtcmalloc=OFF
+ -Dtesting=$(usex test)
+ -Dtmva=$(usex tmva)
+ -Dtmva-cpu=$(usex tmva)
+ -Dtmva-gpu=$(usex cuda)
+ -Dtmva-pymva=$(usex tmva)
+ -Dtmva-rmva=$(usex R)
+ -Dunuran=$(usex unuran)
+ -Dvc=$(usex vc)
+ -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
+}
+
+src_install() {
+ cmake_src_install
+
+ ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/lib"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r emacs bin/*.{csh,sh,fish} || die
+
+ if ! use examples; then
+ rm -r tutorials || die
+ fi
+
+ # create versioned symlinks for binaries
+ cd bin;
+ for exe in *; do
+ dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
+ done
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-08-27 15:31 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-08-27 15:31 UTC (permalink / raw
To: gentoo-commits
commit: a47734591b877c881904c508d63f6427d0bb02c7
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 27 08:12:05 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Aug 27 15:29:19 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4773459
sci-physics/root: version bump to 6.22.02
Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.22.02.ebuild | 306 +++++++++++++++++++++++++++++++++++
2 files changed, 307 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 7211f4e8726..673df40908f 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -3,3 +3,4 @@ DIST root_v6.18.04.source.tar.gz 165938450 BLAKE2B d6545dfa95817940f2bb6b5b49252
DIST root_v6.20.04.source.tar.gz 168056076 BLAKE2B 814bf74f5a18adf2605954068962d3283504538118d221f55e030b224e09c9542a544c166a317ad981a84d4a1edc48bbfc76a57acd43aefb779d8e27270c4aeb SHA512 3cc214a4b160795c8aa53b6fdb01370c3aea628696d1668cbf47e6beac56f171674619a853a1219336d9b67ad06db1d9ecd13345bf1731f809da9e60b3d39a2c
DIST root_v6.20.06.source.tar.gz 168216335 BLAKE2B a0a51f11e6dcc3a6ba657a8b946507bb857088bce3102f5330a0df455fec468ee4228f5394795f3e3b1ee3434b7ddda85f08039bf603a531154c28b335ff803c SHA512 232fd5253e83eb02ad33d03941c7c83d39d5f6b0162bd42594e44a0c1c08deade42ae5793e571db767ce4fa0a582aa332b9d1869e621b825d1eb1162819c98c6
DIST root_v6.22.00.source.tar.gz 173014392 BLAKE2B a59071ee5b13466505323fca30fe656668a243006239e7f9ebc71bb21a7fe244cafe6d33ff4579b67920c9102eb36344f20415079bb627834fb8a57d9117476d SHA512 9e3c54bbc146b0abb0a2d960af380255ec59d0b3a11a4a97a2a25cb7ac567b07280c4eb48dddf99c1fa2e692881f6396a842ce125d3a253037e52f719739f01e
+DIST root_v6.22.02.source.tar.gz 173033408 BLAKE2B c7e3719b612093386fddecbfd098c428345d3562537c2dc546e12b9da62fa6f2cc776a5314ae1257eeaaa498af29236520931ea3f6dd5ad3e03095bc117da125 SHA512 0a0ffbcee2ef971bebf32bc38a247ea981f56721314bc2eab69cfe66ae86eafb00568c475b41b2ae7db7ad25f0c8b0953e10f1841316a49cf62fbad664ccee17
diff --git a/sci-physics/root/root-6.22.02.ebuild b/sci-physics/root/root-6.22.02.ebuild
new file mode 100644
index 00000000000..24742a32e5e
--- /dev/null
+++ b/sci-physics/root/root-6.22.02.ebuild
@@ -0,0 +1,306 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+
+inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+
+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 vc
+ vmc +xml xrootd"
+RESTRICT="!test? ( test )"
+
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="
+ ^^ ( c++11 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 )
+"
+
+CDEPEND="
+ app-arch/lz4
+ app-arch/zstd
+ app-arch/xz-utils
+ fortran? ( dev-lang/cfortran )
+ dev-libs/libpcre:3
+ dev-libs/xxhash
+ media-fonts/dejavu
+ media-libs/freetype:2
+ media-libs/libpng:0=
+ 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 )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ 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 )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ 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-2018 )
+ tmva? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
+ )
+ vc? ( dev-libs/vc:= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( <net-libs/xrootd-5:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}"
+
+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.
+# 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=(
+ -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++11 || usev c++14 || usev c++17) | cut -c4-)
+ -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}"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dgnuinstall=OFF
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=ON
+ -Dbuiltin_clang=ON
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=OFF
+ -Dbuiltin_lz4=OFF
+ -Dbuiltin_lzma=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_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
+ -Ddataframe=ON
+ -Ddavix=$(usex davix)
+ -Ddcache=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)
+ -Dlibcxx=$(usex libcxx)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=OFF # deprecated
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(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)
+ -Dr=$(usex R)
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=OFF
+ -Drpath=OFF
+ -Druntime_cxxmodules=OFF
+ -Dshadowpw=$(usex shadow)
+ -Dspectrum=ON
+ -Dsqlite=$(usex sqlite)
+ -Dssl=$(usex ssl)
+ -Dtcmalloc=OFF
+ -Dtesting=$(usex test)
+ -Dtmva=$(usex tmva)
+ -Dtmva-cpu=$(usex tmva)
+ -Dtmva-gpu=$(usex cuda)
+ -Dtmva-pymva=$(usex tmva)
+ -Dtmva-rmva=$(usex R)
+ -Dunuran=$(usex unuran)
+ -Dvc=$(usex vc)
+ -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
+}
+
+src_install() {
+ cmake_src_install
+
+ ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/lib"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r emacs bin/*.{csh,sh,fish} || die
+
+ if ! use examples; then
+ rm -r tutorials || die
+ fi
+
+ # create versioned symlinks for binaries
+ cd bin;
+ for exe in *; do
+ dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
+ done
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-09-16 10:05 Michał Górny
0 siblings, 0 replies; 196+ messages in thread
From: Michał Górny @ 2020-09-16 10:05 UTC (permalink / raw
To: gentoo-commits
commit: 92c5ae47a5cf6dae15a6e81cb8969b168b287555
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 16 10:03:21 2020 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep 16 10:04:59 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92c5ae47
sci-physics/root: Remove python2
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
sci-physics/root/{root-6.18.04-r2.ebuild => root-6.18.04-r3.ebuild} | 2 +-
sci-physics/root/root-6.20.06.ebuild | 2 +-
sci-physics/root/root-6.20.08.ebuild | 2 +-
sci-physics/root/root-6.22.00.ebuild | 2 +-
sci-physics/root/{root-6.22.02.ebuild => root-6.22.02-r1.ebuild} | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
6 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/sci-physics/root/root-6.18.04-r2.ebuild b/sci-physics/root/root-6.18.04-r3.ebuild
similarity index 99%
rename from sci-physics/root/root-6.18.04-r2.ebuild
rename to sci-physics/root/root-6.18.04-r3.ebuild
index 43c415eacfd..45eb62c6d7d 100644
--- a/sci-physics/root/root-6.18.04-r2.ebuild
+++ b/sci-physics/root/root-6.18.04-r3.ebuild
@@ -6,7 +6,7 @@ EAPI=6
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{6,7} )
+PYTHON_COMPAT=( python3_{6,7} )
inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-6.20.06.ebuild b/sci-physics/root/root-6.20.06.ebuild
index 4403d94be47..b87d8f13f49 100644
--- a/sci-physics/root/root-6.20.06.ebuild
+++ b/sci-physics/root/root-6.20.06.ebuild
@@ -6,7 +6,7 @@ EAPI=7
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8} )
inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-6.20.08.ebuild b/sci-physics/root/root-6.20.08.ebuild
index 4403d94be47..b87d8f13f49 100644
--- a/sci-physics/root/root-6.20.08.ebuild
+++ b/sci-physics/root/root-6.20.08.ebuild
@@ -6,7 +6,7 @@ EAPI=7
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8} )
inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-6.22.00.ebuild b/sci-physics/root/root-6.22.00.ebuild
index 004a33d9d3c..6d38269415d 100644
--- a/sci-physics/root/root-6.22.00.ebuild
+++ b/sci-physics/root/root-6.22.00.ebuild
@@ -6,7 +6,7 @@ EAPI=7
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8} )
inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-6.22.02.ebuild b/sci-physics/root/root-6.22.02-r1.ebuild
similarity index 99%
rename from sci-physics/root/root-6.22.02.ebuild
rename to sci-physics/root/root-6.22.02-r1.ebuild
index 24742a32e5e..0e959e9f8eb 100644
--- a/sci-physics/root/root-6.22.02.ebuild
+++ b/sci-physics/root/root-6.22.02-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8} )
inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 54b3cc2715b..ea179bf40fa 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6,7,8} )
inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-11-18 9:39 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-11-18 9:39 UTC (permalink / raw
To: gentoo-commits
commit: bebf9342db4041f6564288e40c5c82dfbf1b2d91
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 09:35:36 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Nov 18 09:38:30 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bebf9342
sci-physics/root: drop old versions
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 4 -
sci-physics/root/metadata.xml | 2 -
sci-physics/root/root-6.18.04-r3.ebuild | 304 -------------------------------
sci-physics/root/root-6.20.06.ebuild | 306 -------------------------------
sci-physics/root/root-6.22.00.ebuild | 307 --------------------------------
sci-physics/root/root-6.22.02-r1.ebuild | 306 -------------------------------
6 files changed, 1229 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 049d1451eec..6f3ae9026c0 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,6 +1,2 @@
-DIST root_v6.18.04.source.tar.gz 165938450 BLAKE2B d6545dfa95817940f2bb6b5b49252eca1958df518a4bc05c4857df60a015a39d0df09ea077465533e6ebc815d04e1742da19d18b7af02b5446f9e73dc92e3c16 SHA512 cfcbdd2db4edf55845a7cd1e6ec0cdf714a7ceacb039fa6fb627d7300d6f849b3b462bab724e33b1d6b08eb22ba42c43b7d64c0c6c47dc8a3bb652f86979f2c6
-DIST root_v6.20.06.source.tar.gz 168216335 BLAKE2B a0a51f11e6dcc3a6ba657a8b946507bb857088bce3102f5330a0df455fec468ee4228f5394795f3e3b1ee3434b7ddda85f08039bf603a531154c28b335ff803c SHA512 232fd5253e83eb02ad33d03941c7c83d39d5f6b0162bd42594e44a0c1c08deade42ae5793e571db767ce4fa0a582aa332b9d1869e621b825d1eb1162819c98c6
DIST root_v6.20.08.source.tar.gz 168218062 BLAKE2B 79b1eb89f1003c140a60d47e9d447576ad215e66321a265ed047b069d05f008cf8f0d23df99ed35a8ee5a802e5de5a42122e8f1c075b01ef74eb11926a1b31d7 SHA512 205d5ae94a6c1b6e1a479a8631d5a9bab4a9f76c396cf3ed2c23a26c767a5a892a087b872a69853ada0f84e60a6015f732342c5f48acc696cb626528748f81fe
-DIST root_v6.22.00.source.tar.gz 173014392 BLAKE2B a59071ee5b13466505323fca30fe656668a243006239e7f9ebc71bb21a7fe244cafe6d33ff4579b67920c9102eb36344f20415079bb627834fb8a57d9117476d SHA512 9e3c54bbc146b0abb0a2d960af380255ec59d0b3a11a4a97a2a25cb7ac567b07280c4eb48dddf99c1fa2e692881f6396a842ce125d3a253037e52f719739f01e
-DIST root_v6.22.02.source.tar.gz 173033408 BLAKE2B c7e3719b612093386fddecbfd098c428345d3562537c2dc546e12b9da62fa6f2cc776a5314ae1257eeaaa498af29236520931ea3f6dd5ad3e03095bc117da125 SHA512 0a0ffbcee2ef971bebf32bc38a247ea981f56721314bc2eab69cfe66ae86eafb00568c475b41b2ae7db7ad25f0c8b0953e10f1841316a49cf62fbad664ccee17
DIST root_v6.22.04.source.tar.gz 173070733 BLAKE2B 7f2f2c2c01c4144656c517186b64479ad3ac2a8262da3e55ad8c3f446677d3ce00165d182dec33a744351c666fedc9adb87c0fa0f7165eba3400a40d80214bda SHA512 aad5901f0c621fd0fa3865da93348420545c86f75bef5459240d6de63bf3312906a329537bc93c35d58a20d1bb90205bb6fff2d88e8c83ff61a30209fd77416b
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml
index 85a5b09bdff..453df091a13 100644
--- a/sci-physics/root/metadata.xml
+++ b/sci-physics/root/metadata.xml
@@ -32,9 +32,7 @@
<flag name="gdml">Enable GDML writer and reader</flag>
<flag name="http">Enable http server support including but not limited to fastcgi support</flag>
<flag name="libcxx">Build ROOT against <pkg>sys-libs/libcxx</pkg></flag>
- <flag name="memstat">Build memory statistics library, helps to detect memory leaks</flag>
<flag name="minuit">Build ROOT's internal versions of minuit (fortran) and minuit2 (C++)</flag>
- <flag name="nosplash">Disable ROOT's splash screen by default</flag>
<flag name="pythia6">Build the interface for <pkg>sci-physics/pythia</pkg> version 6.x </flag>
<flag name="pythia8">Build the interface for <pkg>sci-physics/pythia</pkg> version 8.x </flag>
<flag name="R">Enable support for <pkg>dev-lang/R</pkg></flag>
diff --git a/sci-physics/root/root-6.18.04-r3.ebuild b/sci-physics/root/root-6.18.04-r3.ebuild
deleted file mode 100644
index 45eb62c6d7d..00000000000
--- a/sci-physics/root/root-6.18.04-r3.ebuild
+++ /dev/null
@@ -1,304 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{6,7} )
-
-inherit cmake-utils cuda eapi7-ver elisp-common eutils fortran-2 \
- prefix python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda +davix debug emacs
- +examples fits fftw fortran +gdml graphviz +gsl http jemalloc
- libcxx memstat +minuit mysql nosplash odbc +opengl oracle postgres
- prefix pythia6 pythia8 +python qt5 R +roofit root7 shadow sqlite
- +ssl +tbb test +threads +tiff +tmva +unuran vc +vmc +xml xrootd"
-RESTRICT="!test? ( test )"
-
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="amd64 x86"
-
-REQUIRED_USE="
- ^^ ( c++11 c++14 c++17 )
- cuda? ( tmva !c++17 )
- !X? ( !asimage !opengl !qt5 !tiff )
- davix? ( ssl xml )
- python? ( ${PYTHON_REQUIRED_USE} )
- qt5? ( root7 )
- root7? ( || ( c++14 c++17 ) )
- tmva? ( gsl )
-"
-
-CDEPEND="
- app-arch/lz4
- app-arch/xz-utils
- fortran? ( dev-lang/cfortran )
- dev-libs/libpcre:3
- dev-libs/xxhash
- media-fonts/dejavu
- media-libs/freetype:2
- media-libs/libpng:0=
- 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 )
- 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 )
- gsl? ( sci-libs/gsl:= )
- http? ( dev-libs/fcgi:0= )
- jemalloc? ( dev-libs/jemalloc )
- libcxx? ( sys-libs/libcxx )
- unuran? ( sci-mathematics/unuran:0= )
- minuit? ( !sci-libs/minuit )
- mysql? ( dev-db/mysql-connector-c )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
- oracle? ( dev-db/oracle-instantclient-basic )
- 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-2018 )
- tmva? (
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_MULTI_USEDEP}]
- ')
- )
- vc? ( dev-libs/vc:= )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( <net-libs/xrootd-5:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}"
-
-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-utils_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"
-
- if use nosplash; then
- sed -i -e '/bool gNoLogo/s@false@true@' rootx/src/rootx.cxx
- fi
-}
-
-# 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=(
- -DCMAKE_C_FLAGS="${CFLAGS}"
- -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
- -DCMAKE_CXX_STANDARD=$((usev c++11 || usev c++14 || usev c++17) | cut -c4-)
- -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}"
- -DCLING_BUILD_PLUGINS=OFF
- -Dexplicitlink=ON
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dgnuinstall=OFF
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=ON
- -Dbuiltin_clang=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=OFF
- -Dbuiltin_lz4=OFF
- -Dbuiltin_lzma=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_zlib=OFF
- -Dx11=$(usex X)
- -Dxft=$(usex X)
- -Dalien=OFF
- -Darrow=OFF
- -Dasimage=$(usex asimage)
- -Dastiff=$(usex tiff)
- -Dlibcxx=$(usex libcxx)
- -Dccache=OFF # use ccache via portage
- -Dcefweb=OFF
- -Dchirp=OFF
- -Dclad=OFF
- -Dcling=ON # cling=OFF is broken
- -Dcocoa=$(usex aqua)
- -Dcuda=$(usex cuda)
- -Dcxxmodules=OFF # requires clang, unstable
- -Ddavix=$(usex davix)
- -Ddcache=OFF
- -Dfftw3=$(usex fftw)
- -Dfitsio=$(usex fits)
- -Dfortran=$(usex fortran)
- -Dftgl=$(usex opengl)
- -Dgdml=$(usex gdml)
- -Dgenvector=ON # genvector=OFF ignored
- -Dgeocad=OFF
- -Dgfal=OFF
- -Dgl2ps=$(usex opengl)
- -Dgminimal=OFF
- -Dgsl_shared=$(usex gsl)
- -Dgviz=$(usex graphviz)
- -Dhttp=$(usex http)
- -Dimt=$(usex tbb)
- -Djemalloc=$(usex jemalloc)
- -Dmathmore=$(usex gsl)
- -Dmemstat=$(usex memstat)
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(usex minuit)
- -Dmonalisa=OFF
- -Dmysql=$(usex mysql)
- -Dodbc=$(usex odbc)
- -Dopengl=$(usex opengl)
- -Doracle=$(usex oracle)
- -Dpch=ON # pch=OFF is broken
- -Dpgsql=$(usex postgres)
- -Dpythia6=$(usex pythia6)
- -Dpythia8=$(usex pythia8)
- -Dpython=$(usex python)
- -Dqt5web=$(usex qt5)
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=OFF
- -Drpath=OFF
- -Druntime_cxxmodules=OFF # does not work yet
- -Dr=$(usex R)
- -Dshadowpw=$(usex shadow)
- -Dsqlite=$(usex sqlite)
- -Dssl=$(usex ssl)
- -Dtcmalloc=OFF
- -Dtesting=$(usex test)
- -Dthread=$(usex threads)
- -Dtmva=$(usex tmva)
- -Dtmva-cpu=$(usex tmva)
- -Dtmva-gpu=$(usex cuda)
- -Dunuran=$(usex unuran)
- -Dvc=$(usex vc)
- -Dvmc=$(usex vmc)
- -Dvdt=OFF
- -Dveccore=OFF
- -Dxml=$(usex xml)
- -Dxrootd=$(usex xrootd)
- ${EXTRA_ECONF}
- )
-
- CMAKE_BUILD_TYPE=$(usex debug Debug Release) \
- cmake-utils_src_configure
-}
-
-src_compile() {
- # needed for hsimple.root
- addwrite /dev/random
- cmake-utils_src_compile
-}
-
-src_install() {
- cmake-utils_src_install
-
- ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
- ROOTENV=$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)
-
- cat > ${ROOTENV} <<- EOF || die
- MANPATH="${ROOTSYS}/share/man"
- PATH="${ROOTSYS}/bin"
- ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/lib"
- EOF
-
- if use python; then
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- rm -r emacs bin/*.{csh,sh,fish} || die
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- # create versioned symlinks for binaries
- cd bin;
- for exe in *; do
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
- done
-}
diff --git a/sci-physics/root/root-6.20.06.ebuild b/sci-physics/root/root-6.20.06.ebuild
deleted file mode 100644
index b87d8f13f49..00000000000
--- a/sci-physics/root/root-6.20.06.ebuild
+++ /dev/null
@@ -1,306 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-
-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 vc
- vmc +xml xrootd"
-RESTRICT="!test? ( test )"
-
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="
- ^^ ( c++11 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 )
-"
-
-CDEPEND="
- app-arch/lz4
- app-arch/zstd
- app-arch/xz-utils
- fortran? ( dev-lang/cfortran )
- dev-libs/libpcre:3
- dev-libs/xxhash
- media-fonts/dejavu
- media-libs/freetype:2
- media-libs/libpng:0=
- 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 )
- emacs? ( >=app-editors/emacs-23.1:* )
- 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 )
- mysql? ( dev-db/mysql-connector-c )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
- oracle? ( dev-db/oracle-instantclient-basic )
- 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-2018 )
- tmva? (
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_MULTI_USEDEP}]
- ')
- )
- vc? ( dev-libs/vc:= )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( <net-libs/xrootd-5:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}"
-
-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.
-# 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=(
- -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++11 || usev c++14 || usev c++17) | cut -c4-)
- -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}"
- -DCLING_BUILD_PLUGINS=OFF
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dgnuinstall=OFF
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=ON
- -Dbuiltin_clang=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=OFF
- -Dbuiltin_lz4=OFF
- -Dbuiltin_lzma=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_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
- -Ddataframe=ON
- -Ddavix=$(usex davix)
- -Ddcache=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)
- -Dlibcxx=$(usex libcxx)
- -Dmathmore=$(usex gsl)
- -Dmemstat=OFF # deprecated
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(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_experimental=OFF # use standard PyROOT for now
- -Dpythia6=$(usex pythia6)
- -Dpythia8=$(usex pythia8)
- -Dqt5web=$(usex qt5)
- -Dr=$(usex R)
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=OFF
- -Drpath=OFF
- -Druntime_cxxmodules=OFF
- -Dshadowpw=$(usex shadow)
- -Dspectrum=ON
- -Dsqlite=$(usex sqlite)
- -Dssl=$(usex ssl)
- -Dtcmalloc=OFF
- -Dtesting=$(usex test)
- -Dtmva=$(usex tmva)
- -Dtmva-cpu=$(usex tmva)
- -Dtmva-gpu=$(usex cuda)
- -Dtmva-pymva=$(usex tmva)
- -Dtmva-rmva=$(usex R)
- -Dunuran=$(usex unuran)
- -Dvc=$(usex vc)
- -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
-}
-
-src_install() {
- cmake_src_install
-
- ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
- ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
-
- cat > ${ROOTENV} <<- EOF || die
- MANPATH="${ROOTSYS}/share/man"
- PATH="${ROOTSYS}/bin"
- ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/lib"
- EOF
-
- if use python; then
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- rm -r emacs bin/*.{csh,sh,fish} || die
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- # create versioned symlinks for binaries
- cd bin;
- for exe in *; do
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
- done
-}
diff --git a/sci-physics/root/root-6.22.00.ebuild b/sci-physics/root/root-6.22.00.ebuild
deleted file mode 100644
index 6d38269415d..00000000000
--- a/sci-physics/root/root-6.22.00.ebuild
+++ /dev/null
@@ -1,307 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-
-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 vc
- vmc +xml xrootd"
-RESTRICT="!test? ( test )"
-
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="
- ^^ ( c++11 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 )
-"
-
-CDEPEND="
- app-arch/lz4
- app-arch/zstd
- app-arch/xz-utils
- fortran? ( dev-lang/cfortran )
- dev-libs/libpcre:3
- dev-libs/xxhash
- media-fonts/dejavu
- media-libs/freetype:2
- media-libs/libpng:0=
- 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 )
- emacs? ( >=app-editors/emacs-23.1:* )
- 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 )
- mysql? ( dev-db/mysql-connector-c )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
- oracle? ( dev-db/oracle-instantclient-basic )
- 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-2018 )
- tmva? (
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_MULTI_USEDEP}]
- ')
- )
- vc? ( dev-libs/vc:= )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( <net-libs/xrootd-5:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
- "${FILESDIR}"/${PN}-6.22.00-rlogger.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.
-# 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=(
- -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++11 || usev c++14 || usev c++17) | cut -c4-)
- -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}"
- -DCLING_BUILD_PLUGINS=OFF
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dgnuinstall=OFF
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=ON
- -Dbuiltin_clang=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=OFF
- -Dbuiltin_lz4=OFF
- -Dbuiltin_lzma=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_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
- -Ddataframe=ON
- -Ddavix=$(usex davix)
- -Ddcache=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)
- -Dlibcxx=$(usex libcxx)
- -Dmathmore=$(usex gsl)
- -Dmemstat=OFF # deprecated
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(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)
- -Dr=$(usex R)
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=OFF
- -Drpath=OFF
- -Druntime_cxxmodules=OFF
- -Dshadowpw=$(usex shadow)
- -Dspectrum=ON
- -Dsqlite=$(usex sqlite)
- -Dssl=$(usex ssl)
- -Dtcmalloc=OFF
- -Dtesting=$(usex test)
- -Dtmva=$(usex tmva)
- -Dtmva-cpu=$(usex tmva)
- -Dtmva-gpu=$(usex cuda)
- -Dtmva-pymva=$(usex tmva)
- -Dtmva-rmva=$(usex R)
- -Dunuran=$(usex unuran)
- -Dvc=$(usex vc)
- -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
-}
-
-src_install() {
- cmake_src_install
-
- ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
- ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
-
- cat > ${ROOTENV} <<- EOF || die
- MANPATH="${ROOTSYS}/share/man"
- PATH="${ROOTSYS}/bin"
- ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/lib"
- EOF
-
- if use python; then
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- rm -r emacs bin/*.{csh,sh,fish} || die
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- # create versioned symlinks for binaries
- cd bin;
- for exe in *; do
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
- done
-}
diff --git a/sci-physics/root/root-6.22.02-r1.ebuild b/sci-physics/root/root-6.22.02-r1.ebuild
deleted file mode 100644
index 0e959e9f8eb..00000000000
--- a/sci-physics/root/root-6.22.02-r1.ebuild
+++ /dev/null
@@ -1,306 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-
-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 vc
- vmc +xml xrootd"
-RESTRICT="!test? ( test )"
-
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="
- ^^ ( c++11 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 )
-"
-
-CDEPEND="
- app-arch/lz4
- app-arch/zstd
- app-arch/xz-utils
- fortran? ( dev-lang/cfortran )
- dev-libs/libpcre:3
- dev-libs/xxhash
- media-fonts/dejavu
- media-libs/freetype:2
- media-libs/libpng:0=
- 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 )
- emacs? ( >=app-editors/emacs-23.1:* )
- 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 )
- mysql? ( dev-db/mysql-connector-c )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
- oracle? ( dev-db/oracle-instantclient-basic )
- 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-2018 )
- tmva? (
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_MULTI_USEDEP}]
- ')
- )
- vc? ( dev-libs/vc:= )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( <net-libs/xrootd-5:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}"
-
-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.
-# 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=(
- -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++11 || usev c++14 || usev c++17) | cut -c4-)
- -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}"
- -DCLING_BUILD_PLUGINS=OFF
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dgnuinstall=OFF
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=ON
- -Dbuiltin_clang=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=OFF
- -Dbuiltin_lz4=OFF
- -Dbuiltin_lzma=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_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
- -Ddataframe=ON
- -Ddavix=$(usex davix)
- -Ddcache=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)
- -Dlibcxx=$(usex libcxx)
- -Dmathmore=$(usex gsl)
- -Dmemstat=OFF # deprecated
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(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)
- -Dr=$(usex R)
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=OFF
- -Drpath=OFF
- -Druntime_cxxmodules=OFF
- -Dshadowpw=$(usex shadow)
- -Dspectrum=ON
- -Dsqlite=$(usex sqlite)
- -Dssl=$(usex ssl)
- -Dtcmalloc=OFF
- -Dtesting=$(usex test)
- -Dtmva=$(usex tmva)
- -Dtmva-cpu=$(usex tmva)
- -Dtmva-gpu=$(usex cuda)
- -Dtmva-pymva=$(usex tmva)
- -Dtmva-rmva=$(usex R)
- -Dunuran=$(usex unuran)
- -Dvc=$(usex vc)
- -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
-}
-
-src_install() {
- cmake_src_install
-
- ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
- ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
-
- cat > ${ROOTENV} <<- EOF || die
- MANPATH="${ROOTSYS}/share/man"
- PATH="${ROOTSYS}/bin"
- ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/lib"
- EOF
-
- if use python; then
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- rm -r emacs bin/*.{csh,sh,fish} || die
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- # create versioned symlinks for binaries
- cd bin;
- for exe in *; do
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
- done
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-11-18 9:39 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-11-18 9:39 UTC (permalink / raw
To: gentoo-commits
commit: b9fe838dbaa93ede10ef95e7830bf920f2bb0e52
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 18 09:32:18 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Nov 18 09:38:30 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9fe838d
sci-physics/root: version bump to 6.22.04
Compatible with XRootD 5.x and Python 3.9.
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.22.04.ebuild | 306 +++++++++++++++++++++++++++++++++++
2 files changed, 307 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 0f54fac2c5f..049d1451eec 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -3,3 +3,4 @@ DIST root_v6.20.06.source.tar.gz 168216335 BLAKE2B a0a51f11e6dcc3a6ba657a8b94650
DIST root_v6.20.08.source.tar.gz 168218062 BLAKE2B 79b1eb89f1003c140a60d47e9d447576ad215e66321a265ed047b069d05f008cf8f0d23df99ed35a8ee5a802e5de5a42122e8f1c075b01ef74eb11926a1b31d7 SHA512 205d5ae94a6c1b6e1a479a8631d5a9bab4a9f76c396cf3ed2c23a26c767a5a892a087b872a69853ada0f84e60a6015f732342c5f48acc696cb626528748f81fe
DIST root_v6.22.00.source.tar.gz 173014392 BLAKE2B a59071ee5b13466505323fca30fe656668a243006239e7f9ebc71bb21a7fe244cafe6d33ff4579b67920c9102eb36344f20415079bb627834fb8a57d9117476d SHA512 9e3c54bbc146b0abb0a2d960af380255ec59d0b3a11a4a97a2a25cb7ac567b07280c4eb48dddf99c1fa2e692881f6396a842ce125d3a253037e52f719739f01e
DIST root_v6.22.02.source.tar.gz 173033408 BLAKE2B c7e3719b612093386fddecbfd098c428345d3562537c2dc546e12b9da62fa6f2cc776a5314ae1257eeaaa498af29236520931ea3f6dd5ad3e03095bc117da125 SHA512 0a0ffbcee2ef971bebf32bc38a247ea981f56721314bc2eab69cfe66ae86eafb00568c475b41b2ae7db7ad25f0c8b0953e10f1841316a49cf62fbad664ccee17
+DIST root_v6.22.04.source.tar.gz 173070733 BLAKE2B 7f2f2c2c01c4144656c517186b64479ad3ac2a8262da3e55ad8c3f446677d3ce00165d182dec33a744351c666fedc9adb87c0fa0f7165eba3400a40d80214bda SHA512 aad5901f0c621fd0fa3865da93348420545c86f75bef5459240d6de63bf3312906a329537bc93c35d58a20d1bb90205bb6fff2d88e8c83ff61a30209fd77416b
diff --git a/sci-physics/root/root-6.22.04.ebuild b/sci-physics/root/root-6.22.04.ebuild
new file mode 100644
index 00000000000..ecc426ffdc8
--- /dev/null
+++ b/sci-physics/root/root-6.22.04.ebuild
@@ -0,0 +1,306 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+
+inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+
+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 vc
+ vmc +xml xrootd"
+RESTRICT="!test? ( test )"
+
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="
+ ^^ ( c++11 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 )
+"
+
+CDEPEND="
+ app-arch/lz4
+ app-arch/zstd
+ app-arch/xz-utils
+ fortran? ( dev-lang/cfortran )
+ dev-libs/libpcre:3
+ dev-libs/xxhash
+ media-fonts/dejavu
+ media-libs/freetype:2
+ media-libs/libpng:0=
+ 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 )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ 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 )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ 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-2018 )
+ tmva? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
+ )
+ vc? ( dev-libs/vc:= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}"
+
+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.
+# 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=(
+ -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++11 || usev c++14 || usev c++17) | cut -c4-)
+ -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}"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dgnuinstall=OFF
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=ON
+ -Dbuiltin_clang=ON
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=OFF
+ -Dbuiltin_lz4=OFF
+ -Dbuiltin_lzma=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_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
+ -Ddataframe=ON
+ -Ddavix=$(usex davix)
+ -Ddcache=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)
+ -Dlibcxx=$(usex libcxx)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=OFF # deprecated
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(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)
+ -Dr=$(usex R)
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=OFF
+ -Drpath=OFF
+ -Druntime_cxxmodules=OFF
+ -Dshadowpw=$(usex shadow)
+ -Dspectrum=ON
+ -Dsqlite=$(usex sqlite)
+ -Dssl=$(usex ssl)
+ -Dtcmalloc=OFF
+ -Dtesting=$(usex test)
+ -Dtmva=$(usex tmva)
+ -Dtmva-cpu=$(usex tmva)
+ -Dtmva-gpu=$(usex cuda)
+ -Dtmva-pymva=$(usex tmva)
+ -Dtmva-rmva=$(usex R)
+ -Dunuran=$(usex unuran)
+ -Dvc=$(usex vc)
+ -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
+}
+
+src_install() {
+ cmake_src_install
+
+ ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/lib"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r emacs bin/*.{csh,sh,fish} || die
+
+ if ! use examples; then
+ rm -r tutorials || die
+ fi
+
+ # create versioned symlinks for binaries
+ cd bin;
+ for exe in *; do
+ dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
+ done
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2020-11-30 13:00 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2020-11-30 13:00 UTC (permalink / raw
To: gentoo-commits
commit: 51b1edc9236a65291a207a7943866de770ecafe1
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 30 09:12:09 2020 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Nov 30 12:59:45 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51b1edc9
sci-physics/root: version bump to 6.22.06
Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.22.04.ebuild => root-6.22.06.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 6f3ae9026c0..9e4540b1597 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
DIST root_v6.20.08.source.tar.gz 168218062 BLAKE2B 79b1eb89f1003c140a60d47e9d447576ad215e66321a265ed047b069d05f008cf8f0d23df99ed35a8ee5a802e5de5a42122e8f1c075b01ef74eb11926a1b31d7 SHA512 205d5ae94a6c1b6e1a479a8631d5a9bab4a9f76c396cf3ed2c23a26c767a5a892a087b872a69853ada0f84e60a6015f732342c5f48acc696cb626528748f81fe
-DIST root_v6.22.04.source.tar.gz 173070733 BLAKE2B 7f2f2c2c01c4144656c517186b64479ad3ac2a8262da3e55ad8c3f446677d3ce00165d182dec33a744351c666fedc9adb87c0fa0f7165eba3400a40d80214bda SHA512 aad5901f0c621fd0fa3865da93348420545c86f75bef5459240d6de63bf3312906a329537bc93c35d58a20d1bb90205bb6fff2d88e8c83ff61a30209fd77416b
+DIST root_v6.22.06.source.tar.gz 173073959 BLAKE2B 3db5e5ff73509a87d00aaba5a394c96aaddebac210ce692d10b9174f0bdff5dc5862c25c9ff66e481b9fda96684cfca45ab49824166404f59ad76edb3fbdddde SHA512 39b330f0cd594f06e30e33dd4b0fc86cfd076b006e5287ff61e577deaf76e63f2e5780b72f53c0770b7d2e28e6f61133ff54b5d905ec2ad845c8f00b10be6fb7
diff --git a/sci-physics/root/root-6.22.04.ebuild b/sci-physics/root/root-6.22.06.ebuild
similarity index 100%
rename from sci-physics/root/root-6.22.04.ebuild
rename to sci-physics/root/root-6.22.06.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-02-15 0:32 Sam James
0 siblings, 0 replies; 196+ messages in thread
From: Sam James @ 2021-02-15 0:32 UTC (permalink / raw
To: gentoo-commits
commit: 33e51e2af79da442c8702b4bfc8c227de8134b22
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 14 23:23:32 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 15 00:31:59 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33e51e2a
sci-physics/root: fix double KEYWORDS
Double KEYWORDS lines break tools like ekeyword and Nattka.
As per PMS, blank/empty KEYWORDS is implied by not defining
the variable.
See: https://projects.gentoo.org/qa/policy-guide/ebuild-format.html#pg0105
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 061d66cd1d1..ea14149330d 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -22,7 +22,6 @@ RESTRICT="!test? ( test )"
if [[ ${PV} =~ "9999" ]] ; then
inherit git-r3
- KEYWORDS=""
EGIT_REPO_URI="https://github.com/root-project/root.git"
if [[ ${PV} == "9999" ]]; then
SLOT="0"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-03-04 23:39 Andreas Sturmlechner
0 siblings, 0 replies; 196+ messages in thread
From: Andreas Sturmlechner @ 2021-03-04 23:39 UTC (permalink / raw
To: gentoo-commits
commit: df1e001569d4944d5e77f18d80dc29810a3d71cf
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 28 16:28:21 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 4 23:39:28 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df1e0015
sci-physics/root: Drop 6.20.08, last <net-libs/xrootd-5 revdep
Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-physics/root/Manifest | 1 -
sci-physics/root/root-6.20.08.ebuild | 306 -----------------------------------
2 files changed, 307 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 9e4540b1597..b99ec53faf0 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1 @@
-DIST root_v6.20.08.source.tar.gz 168218062 BLAKE2B 79b1eb89f1003c140a60d47e9d447576ad215e66321a265ed047b069d05f008cf8f0d23df99ed35a8ee5a802e5de5a42122e8f1c075b01ef74eb11926a1b31d7 SHA512 205d5ae94a6c1b6e1a479a8631d5a9bab4a9f76c396cf3ed2c23a26c767a5a892a087b872a69853ada0f84e60a6015f732342c5f48acc696cb626528748f81fe
DIST root_v6.22.06.source.tar.gz 173073959 BLAKE2B 3db5e5ff73509a87d00aaba5a394c96aaddebac210ce692d10b9174f0bdff5dc5862c25c9ff66e481b9fda96684cfca45ab49824166404f59ad76edb3fbdddde SHA512 39b330f0cd594f06e30e33dd4b0fc86cfd076b006e5287ff61e577deaf76e63f2e5780b72f53c0770b7d2e28e6f61133ff54b5d905ec2ad845c8f00b10be6fb7
diff --git a/sci-physics/root/root-6.20.08.ebuild b/sci-physics/root/root-6.20.08.ebuild
deleted file mode 100644
index 49cc6a7cf6d..00000000000
--- a/sci-physics/root/root-6.20.08.ebuild
+++ /dev/null
@@ -1,306 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{7,8} )
-
-inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-
-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 vc
- vmc +xml xrootd"
-RESTRICT="!test? ( test )"
-
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="
- ^^ ( c++11 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 )
-"
-
-CDEPEND="
- app-arch/lz4
- app-arch/zstd
- app-arch/xz-utils
- fortran? ( dev-lang/cfortran )
- dev-libs/libpcre:3
- dev-libs/xxhash
- media-fonts/dejavu
- media-libs/freetype:2
- media-libs/libpng:0=
- 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 )
- emacs? ( >=app-editors/emacs-23.1:* )
- 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 )
- mysql? ( dev-db/mysql-connector-c )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
- oracle? ( dev-db/oracle-instantclient-basic )
- 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-2018 )
- tmva? (
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_MULTI_USEDEP}]
- ')
- )
- vc? ( dev-libs/vc:= )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( <net-libs/xrootd-5:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}"
-
-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.
-# 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=(
- -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++11 || usev c++14 || usev c++17) | cut -c4-)
- -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}"
- -DCLING_BUILD_PLUGINS=OFF
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dgnuinstall=OFF
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=ON
- -Dbuiltin_clang=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=OFF
- -Dbuiltin_lz4=OFF
- -Dbuiltin_lzma=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_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
- -Ddataframe=ON
- -Ddavix=$(usex davix)
- -Ddcache=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)
- -Dlibcxx=$(usex libcxx)
- -Dmathmore=$(usex gsl)
- -Dmemstat=OFF # deprecated
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(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_experimental=OFF # use standard PyROOT for now
- -Dpythia6=$(usex pythia6)
- -Dpythia8=$(usex pythia8)
- -Dqt5web=$(usex qt5)
- -Dr=$(usex R)
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=OFF
- -Drpath=OFF
- -Druntime_cxxmodules=OFF
- -Dshadowpw=$(usex shadow)
- -Dspectrum=ON
- -Dsqlite=$(usex sqlite)
- -Dssl=$(usex ssl)
- -Dtcmalloc=OFF
- -Dtesting=$(usex test)
- -Dtmva=$(usex tmva)
- -Dtmva-cpu=$(usex tmva)
- -Dtmva-gpu=$(usex cuda)
- -Dtmva-pymva=$(usex tmva)
- -Dtmva-rmva=$(usex R)
- -Dunuran=$(usex unuran)
- -Dvc=$(usex vc)
- -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
-}
-
-src_install() {
- cmake_src_install
-
- ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
- ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
-
- cat > ${ROOTENV} <<- EOF || die
- MANPATH="${ROOTSYS}/share/man"
- PATH="${ROOTSYS}/bin"
- ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/lib"
- EOF
-
- if use python; then
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- rm -r emacs bin/*.{csh,sh,fish} || die
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- # create versioned symlinks for binaries
- cd bin;
- for exe in *; do
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
- done
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-03-23 13:09 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2021-03-23 13:09 UTC (permalink / raw
To: gentoo-commits
commit: 865c5a1de13ec74ae177c64ee5003f26a0a740f7
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 23 12:44:50 2021 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Mar 23 13:09:23 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=865c5a1d
sci-physics/root: version bump to 6.22.08
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.22.08.ebuild | 306 +++++++++++++++++++++++++++++++++++
2 files changed, 307 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index b99ec53faf0..ad30622b862 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1 +1,2 @@
DIST root_v6.22.06.source.tar.gz 173073959 BLAKE2B 3db5e5ff73509a87d00aaba5a394c96aaddebac210ce692d10b9174f0bdff5dc5862c25c9ff66e481b9fda96684cfca45ab49824166404f59ad76edb3fbdddde SHA512 39b330f0cd594f06e30e33dd4b0fc86cfd076b006e5287ff61e577deaf76e63f2e5780b72f53c0770b7d2e28e6f61133ff54b5d905ec2ad845c8f00b10be6fb7
+DIST root_v6.22.08.source.tar.gz 173079716 BLAKE2B 0b3c15dfedd0215334dcd59db133aa9097709996e0e9cc20a1ae96f954ee607cad314291148f78a31f24ba78dee84204e617e17a6ed8a390503b068e8120e9f3 SHA512 2355e20b8c4d7ad747c31956a3ad0f6e7b70039f3e6613182bd7c53d0e8776267ee85fc1d8aad9ed0d942e28f4124ad79a7dc1082bb1ea7974be2cb6a8a85b39
diff --git a/sci-physics/root/root-6.22.08.ebuild b/sci-physics/root/root-6.22.08.ebuild
new file mode 100644
index 00000000000..a29242ff0a8
--- /dev/null
+++ b/sci-physics/root/root-6.22.08.ebuild
@@ -0,0 +1,306 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+
+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 vc
+ vmc +xml xrootd"
+RESTRICT="!test? ( test )"
+
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="
+ ^^ ( c++11 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 )
+"
+
+CDEPEND="
+ app-arch/lz4
+ app-arch/zstd
+ app-arch/xz-utils
+ fortran? ( dev-lang/cfortran )
+ dev-libs/libpcre:3
+ dev-libs/xxhash
+ media-fonts/dejavu
+ media-libs/freetype:2
+ media-libs/libpng:0=
+ 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 )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ 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 )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ 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-2018 )
+ tmva? (
+ $(python_gen_cond_dep '
+ dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ ')
+ )
+ vc? ( dev-libs/vc:= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}"
+
+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.
+# 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=(
+ -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++11 || usev c++14 || usev c++17) | cut -c4-)
+ -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}"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dgnuinstall=OFF
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=ON
+ -Dbuiltin_clang=ON
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=OFF
+ -Dbuiltin_lz4=OFF
+ -Dbuiltin_lzma=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_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
+ -Ddataframe=ON
+ -Ddavix=$(usex davix)
+ -Ddcache=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)
+ -Dlibcxx=$(usex libcxx)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=OFF # deprecated
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(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)
+ -Dr=$(usex R)
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=OFF
+ -Drpath=OFF
+ -Druntime_cxxmodules=OFF
+ -Dshadowpw=$(usex shadow)
+ -Dspectrum=ON
+ -Dsqlite=$(usex sqlite)
+ -Dssl=$(usex ssl)
+ -Dtcmalloc=OFF
+ -Dtesting=$(usex test)
+ -Dtmva=$(usex tmva)
+ -Dtmva-cpu=$(usex tmva)
+ -Dtmva-gpu=$(usex cuda)
+ -Dtmva-pymva=$(usex tmva)
+ -Dtmva-rmva=$(usex R)
+ -Dunuran=$(usex unuran)
+ -Dvc=$(usex vc)
+ -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
+}
+
+src_install() {
+ cmake_src_install
+
+ ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/lib"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r emacs bin/*.{csh,sh,fish} || die
+
+ if ! use examples; then
+ rm -r tutorials || die
+ fi
+
+ # create versioned symlinks for binaries
+ cd bin;
+ for exe in *; do
+ dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
+ done
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-04-21 14:13 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2021-04-21 14:13 UTC (permalink / raw
To: gentoo-commits
commit: 354119800ec15f93b315b9219b1262aaf8e06f58
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 21 14:09:36 2021 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Apr 21 14:12:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35411980
sci-physics/root: version bump to 6.24.00
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.24.00.ebuild | 317 +++++++++++++++++++++++++++++++++++
2 files changed, 318 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index ad30622b862..3ff3cc6fedd 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,3 @@
DIST root_v6.22.06.source.tar.gz 173073959 BLAKE2B 3db5e5ff73509a87d00aaba5a394c96aaddebac210ce692d10b9174f0bdff5dc5862c25c9ff66e481b9fda96684cfca45ab49824166404f59ad76edb3fbdddde SHA512 39b330f0cd594f06e30e33dd4b0fc86cfd076b006e5287ff61e577deaf76e63f2e5780b72f53c0770b7d2e28e6f61133ff54b5d905ec2ad845c8f00b10be6fb7
DIST root_v6.22.08.source.tar.gz 173079716 BLAKE2B 0b3c15dfedd0215334dcd59db133aa9097709996e0e9cc20a1ae96f954ee607cad314291148f78a31f24ba78dee84204e617e17a6ed8a390503b068e8120e9f3 SHA512 2355e20b8c4d7ad747c31956a3ad0f6e7b70039f3e6613182bd7c53d0e8776267ee85fc1d8aad9ed0d942e28f4124ad79a7dc1082bb1ea7974be2cb6a8a85b39
+DIST root_v6.24.00.source.tar.gz 185185756 BLAKE2B cf46534c0e9476a428291c65ec1456af10e47d830dd006aacf43307db11ad5732c357aabd09f4297276190d21fc18fdd6966f5f5e6cd437cc46878fa72fde260 SHA512 bba72cbe310c3ce9a64adc990aaeba6df970f17dc7132d2c3fdc83cc72d24973a3e15c02067a95870794e576e4065478d7a3ed52bfb8f0598294356a7fceff03
diff --git a/sci-physics/root/root-6.24.00.ebuild b/sci-physics/root/root-6.24.00.ebuild
new file mode 100644
index 00000000000..9357a155802
--- /dev/null
+++ b/sci-physics/root/root-6.24.00.ebuild
@@ -0,0 +1,317 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+
+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"
+RESTRICT="!test? ( test )"
+
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+KEYWORDS="~amd64 ~x86"
+
+REQUIRED_USE="
+ ^^ ( c++11 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 )
+ 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=
+ 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 )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ 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 )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ 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_MULTI_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}"
+
+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.
+# 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=(
+ -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++11 || usev c++14 || usev c++17) | cut -c4-)
+ -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}"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dasserts=OFF
+ -Ddev=OFF
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dgnuinstall=OFF
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=ON
+ -Dbuiltin_clang=ON
+ -Dbuiltin_cling=ON
+ -Dbuiltin_openui5=ON
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=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_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
+ -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)
+ -Dlibcxx=$(usex libcxx)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=OFF # deprecated
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(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)
+ -Dr=$(usex R)
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=OFF
+ -Drpath=OFF
+ -Druntime_cxxmodules=OFF
+ -Dshadowpw=$(usex shadow)
+ -Dspectrum=ON
+ -Dsqlite=$(usex sqlite)
+ -Dssl=$(usex ssl)
+ -Dtcmalloc=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)
+ -Dunuran=$(usex unuran)
+ -During=$(usex uring)
+ -Dvc=$(usex vc)
+ -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
+}
+
+src_install() {
+ cmake_src_install
+
+ ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/lib"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r emacs bin/*.{csh,sh,fish} || die
+
+ if ! use examples; then
+ rm -r tutorials || die
+ fi
+
+ # create versioned symlinks for binaries
+ cd bin;
+ for exe in *; do
+ dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
+ done
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-04-21 14:13 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2021-04-21 14:13 UTC (permalink / raw
To: gentoo-commits
commit: cc4e9c966e9abf628ce57149b395bb6eeaafbbe1
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 21 14:11:46 2021 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Apr 21 14:12:04 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc4e9c96
sci-physics/root: add live ebuild tracking 6.24 branch
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.24.9999.ebuild | 336 +++++++++++++++++++++++++++++++++
1 file changed, 336 insertions(+)
diff --git a/sci-physics/root/root-6.24.9999.ebuild b/sci-physics/root/root-6.24.9999.ebuild
new file mode 100644
index 00000000000..dabb6bbd617
--- /dev/null
+++ b/sci-physics/root/root-6.24.9999.ebuild
@@ -0,0 +1,336 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit cmake cuda elisp-common fortran-2 prefix 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"
+RESTRICT="!test? ( test )"
+
+if [[ ${PV} =~ "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/root-project/root.git"
+ if [[ ${PV} == "9999" ]]; then
+ SLOT="0"
+ else
+ SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+ EGIT_BRANCH="v$(ver_cut 1)-$(ver_cut 2)-00-patches"
+ fi
+else
+ 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++11 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 )
+ 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=
+ 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 )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ 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 )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ oracle? ( dev-db/oracle-instantclient-basic )
+ 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_MULTI_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}"
+
+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.
+# 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=(
+ -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++11 || usev c++14 || usev c++17) | cut -c4-)
+ -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}"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dasserts=OFF
+ -Ddev=OFF
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dgnuinstall=OFF
+ -Dshared=ON
+ -Dsoversion=ON
+ -Dbuiltin_llvm=ON
+ -Dbuiltin_clang=ON
+ -Dbuiltin_cling=ON
+ -Dbuiltin_openui5=ON
+ -Dbuiltin_afterimage=OFF
+ -Dbuiltin_cfitsio=OFF
+ -Dbuiltin_davix=OFF
+ -Dbuiltin_fftw3=OFF
+ -Dbuiltin_freetype=OFF
+ -Dbuiltin_ftgl=OFF
+ -Dbuiltin_gl2ps=OFF
+ -Dbuiltin_glew=OFF
+ -Dbuiltin_gsl=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_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
+ -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)
+ -Dlibcxx=$(usex libcxx)
+ -Dmathmore=$(usex gsl)
+ -Dmemstat=OFF # deprecated
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(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)
+ -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)
+ -Dpythia8=$(usex pythia8)
+ -Dqt5web=$(usex qt5)
+ -Dr=$(usex R)
+ -Droofit=$(usex roofit)
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=OFF
+ -Drpath=OFF
+ -Druntime_cxxmodules=OFF
+ -Dshadowpw=$(usex shadow)
+ -Dspectrum=ON
+ -Dsqlite=$(usex sqlite)
+ -Dssl=$(usex ssl)
+ -Dtcmalloc=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)
+ -Dunuran=$(usex unuran)
+ -During=$(usex uring)
+ -Dvc=$(usex vc)
+ -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
+}
+
+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"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r emacs bin/*.{csh,sh,fish} || die
+
+ if ! use examples; then
+ rm -r tutorials || die
+ fi
+
+ # 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
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-04-21 14:13 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2021-04-21 14:13 UTC (permalink / raw
To: gentoo-commits
commit: f434ec9d1415100d289b4a9f15509637df051d37
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 21 14:03:46 2021 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Apr 21 14:12:03 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f434ec9d
sci-physics/root: update live ebuild
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/metadata.xml | 1 +
sci-physics/root/root-9999.ebuild | 19 +++++++++++++++----
2 files changed, 16 insertions(+), 4 deletions(-)
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml
index 453df091a13..15ba329fe27 100644
--- a/sci-physics/root/metadata.xml
+++ b/sci-physics/root/metadata.xml
@@ -42,6 +42,7 @@
<flag name="tbb">Enable implicit multi-threading (IMT) with <pkg>dev-cpp/tbb</pkg></flag>
<flag name="tmva">Built TMVA (ROOT's multi-variate analysis toolkit for machine learning)</flag>
<flag name="unuran">Enable support for <pkg>sci-mathematics/unuran</pkg></flag>
+ <flag name="uring">Enable support for <pkg>sys-libs/liburing</pkg> in RNTuple</flag>
<flag name="vc">Enable support for <pkg>dev-libs/vc</pkg> with VecCore</flag>
<flag name="vmc">Built the Virtual Monte Carlo library</flag>
<flag name="xrootd">Build the interface for <pkg>net-libs/xrootd</pkg> </flag>
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index ea14149330d..dabb6bbd617 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
@@ -16,8 +16,8 @@ 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 vc
- vmc +xml xrootd"
+ qt5 R +roofit root7 shadow sqlite +ssl +tbb test +tmva +unuran uring
+ vc vmc +xml xrootd"
RESTRICT="!test? ( test )"
if [[ ${PV} =~ "9999" ]] ; then
@@ -46,6 +46,7 @@ REQUIRED_USE="
qt5? ( root7 )
root7? ( || ( c++14 c++17 ) )
tmva? ( gsl )
+ uring? ( root7 )
"
CDEPEND="
@@ -53,6 +54,7 @@ CDEPEND="
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
@@ -103,12 +105,13 @@ CDEPEND="
shadow? ( sys-apps/shadow )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
- tbb? ( >=dev-cpp/tbb-2018 )
+ tbb? ( dev-cpp/tbb )
tmva? (
$(python_gen_cond_dep '
dev-python/numpy[${PYTHON_MULTI_USEDEP}]
')
)
+ uring? ( sys-libs/liburing )
vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
@@ -166,6 +169,8 @@ src_configure() {
-DCMAKE_INSTALL_LIBDIR="lib"
-DDEFAULT_SYSROOT="${EPREFIX}"
-DCLING_BUILD_PLUGINS=OFF
+ -Dasserts=OFF
+ -Ddev=OFF
-Dexceptions=ON
-Dfail-on-missing=ON
-Dgnuinstall=OFF
@@ -173,6 +178,8 @@ src_configure() {
-Dsoversion=ON
-Dbuiltin_llvm=ON
-Dbuiltin_clang=ON
+ -Dbuiltin_cling=ON
+ -Dbuiltin_openui5=ON
-Dbuiltin_afterimage=OFF
-Dbuiltin_cfitsio=OFF
-Dbuiltin_davix=OFF
@@ -184,6 +191,7 @@ src_configure() {
-Dbuiltin_gsl=OFF
-Dbuiltin_lz4=OFF
-Dbuiltin_lzma=OFF
+ -Dbuiltin_nlohmannjson=OFF
-Dbuiltin_openssl=OFF
-Dbuiltin_pcre=OFF
-Dbuiltin_tbb=OFF
@@ -208,6 +216,7 @@ src_configure() {
-Ddataframe=ON
-Ddavix=$(usex davix)
-Ddcache=OFF
+ -Ddistcc=OFF
-Dfcgi=$(usex http)
-Dfftw3=$(usex fftw)
-Dfitsio=$(usex fits)
@@ -251,6 +260,7 @@ src_configure() {
-Dsqlite=$(usex sqlite)
-Dssl=$(usex ssl)
-Dtcmalloc=OFF
+ -Dtest_distrdf_pyspark=OFF
-Dtesting=$(usex test)
-Dtmva=$(usex tmva)
-Dtmva-cpu=$(usex tmva)
@@ -258,6 +268,7 @@ src_configure() {
-Dtmva-pymva=$(usex tmva)
-Dtmva-rmva=$(usex R)
-Dunuran=$(usex unuran)
+ -During=$(usex uring)
-Dvc=$(usex vc)
-Dvdt=OFF
-Dveccore=OFF
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-06-22 22:38 Sam James
0 siblings, 0 replies; 196+ messages in thread
From: Sam James @ 2021-06-22 22:38 UTC (permalink / raw
To: gentoo-commits
commit: 841fd9c87329a1ecf4df681cf1a340ed5ee44882
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 22 22:07:46 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jun 22 22:34:35 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=841fd9c8
sci-physics/root: add virtual/libcrypt dependency
Needed for upcoming libcrypt migration.
Acked-by: David Seifert <soap <AT> gentoo.org>
Reported-by: Ulrich Müller <ulm <AT> gentoo.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-physics/root/{root-6.22.08.ebuild => root-6.22.06-r1.ebuild} | 1 +
sci-physics/root/{root-6.22.06.ebuild => root-6.22.08-r1.ebuild} | 3 ++-
sci-physics/root/{root-6.24.00.ebuild => root-6.24.00-r1.ebuild} | 1 +
sci-physics/root/root-6.24.9999.ebuild | 1 +
sci-physics/root/root-9999.ebuild | 1 +
5 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/sci-physics/root/root-6.22.08.ebuild b/sci-physics/root/root-6.22.06-r1.ebuild
similarity index 99%
rename from sci-physics/root/root-6.22.08.ebuild
rename to sci-physics/root/root-6.22.06-r1.ebuild
index a29242ff0a8..905c8eea79f 100644
--- a/sci-physics/root/root-6.22.08.ebuild
+++ b/sci-physics/root/root-6.22.06-r1.ebuild
@@ -47,6 +47,7 @@ CDEPEND="
media-fonts/dejavu
media-libs/freetype:2
media-libs/libpng:0=
+ virtual/libcrypt:=
sys-libs/ncurses:=
sys-libs/zlib
X? (
diff --git a/sci-physics/root/root-6.22.06.ebuild b/sci-physics/root/root-6.22.08-r1.ebuild
similarity index 99%
rename from sci-physics/root/root-6.22.06.ebuild
rename to sci-physics/root/root-6.22.08-r1.ebuild
index 9828e1e27d7..905c8eea79f 100644
--- a/sci-physics/root/root-6.22.06.ebuild
+++ b/sci-physics/root/root-6.22.08-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -47,6 +47,7 @@ CDEPEND="
media-fonts/dejavu
media-libs/freetype:2
media-libs/libpng:0=
+ virtual/libcrypt:=
sys-libs/ncurses:=
sys-libs/zlib
X? (
diff --git a/sci-physics/root/root-6.24.00.ebuild b/sci-physics/root/root-6.24.00-r1.ebuild
similarity index 99%
rename from sci-physics/root/root-6.24.00.ebuild
rename to sci-physics/root/root-6.24.00-r1.ebuild
index 9357a155802..176a2987b02 100644
--- a/sci-physics/root/root-6.24.00.ebuild
+++ b/sci-physics/root/root-6.24.00-r1.ebuild
@@ -49,6 +49,7 @@ CDEPEND="
media-fonts/dejavu
media-libs/freetype:2
media-libs/libpng:0=
+ virtual/libcrypt:=
sys-libs/ncurses:=
sys-libs/zlib
X? (
diff --git a/sci-physics/root/root-6.24.9999.ebuild b/sci-physics/root/root-6.24.9999.ebuild
index dabb6bbd617..b9d938a4ba8 100644
--- a/sci-physics/root/root-6.24.9999.ebuild
+++ b/sci-physics/root/root-6.24.9999.ebuild
@@ -60,6 +60,7 @@ CDEPEND="
media-fonts/dejavu
media-libs/freetype:2
media-libs/libpng:0=
+ virtual/libcrypt:=
sys-libs/ncurses:=
sys-libs/zlib
X? (
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index dabb6bbd617..b9d938a4ba8 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -60,6 +60,7 @@ CDEPEND="
media-fonts/dejavu
media-libs/freetype:2
media-libs/libpng:0=
+ virtual/libcrypt:=
sys-libs/ncurses:=
sys-libs/zlib
X? (
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-06-28 12:24 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2021-06-28 12:24 UTC (permalink / raw
To: gentoo-commits
commit: 812f5ebad3448655d92585bd39406adc10922e9d
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 11:21:10 2021 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 12:24:23 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=812f5eba
sci-physics/root: version bump to 6.24.02
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.24.00-r1.ebuild => root-6.24.02.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 3ff3cc6fedd..e66ff0f7836 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,3 +1,3 @@
DIST root_v6.22.06.source.tar.gz 173073959 BLAKE2B 3db5e5ff73509a87d00aaba5a394c96aaddebac210ce692d10b9174f0bdff5dc5862c25c9ff66e481b9fda96684cfca45ab49824166404f59ad76edb3fbdddde SHA512 39b330f0cd594f06e30e33dd4b0fc86cfd076b006e5287ff61e577deaf76e63f2e5780b72f53c0770b7d2e28e6f61133ff54b5d905ec2ad845c8f00b10be6fb7
DIST root_v6.22.08.source.tar.gz 173079716 BLAKE2B 0b3c15dfedd0215334dcd59db133aa9097709996e0e9cc20a1ae96f954ee607cad314291148f78a31f24ba78dee84204e617e17a6ed8a390503b068e8120e9f3 SHA512 2355e20b8c4d7ad747c31956a3ad0f6e7b70039f3e6613182bd7c53d0e8776267ee85fc1d8aad9ed0d942e28f4124ad79a7dc1082bb1ea7974be2cb6a8a85b39
-DIST root_v6.24.00.source.tar.gz 185185756 BLAKE2B cf46534c0e9476a428291c65ec1456af10e47d830dd006aacf43307db11ad5732c357aabd09f4297276190d21fc18fdd6966f5f5e6cd437cc46878fa72fde260 SHA512 bba72cbe310c3ce9a64adc990aaeba6df970f17dc7132d2c3fdc83cc72d24973a3e15c02067a95870794e576e4065478d7a3ed52bfb8f0598294356a7fceff03
+DIST root_v6.24.02.source.tar.gz 185205849 BLAKE2B 2b8b7aaf6d1bf498a52f341128ee3202ae5166d6ad49d8a0a05da64d4ed2887b50c22e67a7ce694e85d4330a1002937e21a4746be0342a9e21631e4b88125535 SHA512 8ff64688c6c675e157a5db504f8347511752dd10142c70af677fde9396841eb0a76bb9ec43631e73c83b09f278e34706a5492e22db52b6c100578329cef3c461
diff --git a/sci-physics/root/root-6.24.00-r1.ebuild b/sci-physics/root/root-6.24.02.ebuild
similarity index 100%
rename from sci-physics/root/root-6.24.00-r1.ebuild
rename to sci-physics/root/root-6.24.02.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-06-28 12:24 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2021-06-28 12:24 UTC (permalink / raw
To: gentoo-commits
commit: 6b55686cf7e2e81ad8dc946607f6c189fd3807e2
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 11:22:58 2021 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 12:24:24 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b55686c
sci-physics/root: drop old
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 -
sci-physics/root/root-6.22.06-r1.ebuild | 307 --------------------------------
2 files changed, 308 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index e66ff0f7836..6839ea17b34 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,3 +1,2 @@
-DIST root_v6.22.06.source.tar.gz 173073959 BLAKE2B 3db5e5ff73509a87d00aaba5a394c96aaddebac210ce692d10b9174f0bdff5dc5862c25c9ff66e481b9fda96684cfca45ab49824166404f59ad76edb3fbdddde SHA512 39b330f0cd594f06e30e33dd4b0fc86cfd076b006e5287ff61e577deaf76e63f2e5780b72f53c0770b7d2e28e6f61133ff54b5d905ec2ad845c8f00b10be6fb7
DIST root_v6.22.08.source.tar.gz 173079716 BLAKE2B 0b3c15dfedd0215334dcd59db133aa9097709996e0e9cc20a1ae96f954ee607cad314291148f78a31f24ba78dee84204e617e17a6ed8a390503b068e8120e9f3 SHA512 2355e20b8c4d7ad747c31956a3ad0f6e7b70039f3e6613182bd7c53d0e8776267ee85fc1d8aad9ed0d942e28f4124ad79a7dc1082bb1ea7974be2cb6a8a85b39
DIST root_v6.24.02.source.tar.gz 185205849 BLAKE2B 2b8b7aaf6d1bf498a52f341128ee3202ae5166d6ad49d8a0a05da64d4ed2887b50c22e67a7ce694e85d4330a1002937e21a4746be0342a9e21631e4b88125535 SHA512 8ff64688c6c675e157a5db504f8347511752dd10142c70af677fde9396841eb0a76bb9ec43631e73c83b09f278e34706a5492e22db52b6c100578329cef3c461
diff --git a/sci-physics/root/root-6.22.06-r1.ebuild b/sci-physics/root/root-6.22.06-r1.ebuild
deleted file mode 100644
index 905c8eea79f..00000000000
--- a/sci-physics/root/root-6.22.06-r1.ebuild
+++ /dev/null
@@ -1,307 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-
-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 vc
- vmc +xml xrootd"
-RESTRICT="!test? ( test )"
-
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="
- ^^ ( c++11 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 )
-"
-
-CDEPEND="
- app-arch/lz4
- app-arch/zstd
- app-arch/xz-utils
- fortran? ( dev-lang/cfortran )
- 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 )
- emacs? ( >=app-editors/emacs-23.1:* )
- 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 )
- mysql? ( dev-db/mysql-connector-c )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
- oracle? ( dev-db/oracle-instantclient-basic )
- 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-2018 )
- tmva? (
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_MULTI_USEDEP}]
- ')
- )
- vc? ( dev-libs/vc:= )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}"
-
-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.
-# 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=(
- -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++11 || usev c++14 || usev c++17) | cut -c4-)
- -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}"
- -DCLING_BUILD_PLUGINS=OFF
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dgnuinstall=OFF
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=ON
- -Dbuiltin_clang=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=OFF
- -Dbuiltin_lz4=OFF
- -Dbuiltin_lzma=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_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
- -Ddataframe=ON
- -Ddavix=$(usex davix)
- -Ddcache=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)
- -Dlibcxx=$(usex libcxx)
- -Dmathmore=$(usex gsl)
- -Dmemstat=OFF # deprecated
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(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)
- -Dr=$(usex R)
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=OFF
- -Drpath=OFF
- -Druntime_cxxmodules=OFF
- -Dshadowpw=$(usex shadow)
- -Dspectrum=ON
- -Dsqlite=$(usex sqlite)
- -Dssl=$(usex ssl)
- -Dtcmalloc=OFF
- -Dtesting=$(usex test)
- -Dtmva=$(usex tmva)
- -Dtmva-cpu=$(usex tmva)
- -Dtmva-gpu=$(usex cuda)
- -Dtmva-pymva=$(usex tmva)
- -Dtmva-rmva=$(usex R)
- -Dunuran=$(usex unuran)
- -Dvc=$(usex vc)
- -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
-}
-
-src_install() {
- cmake_src_install
-
- ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
- ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
-
- cat > ${ROOTENV} <<- EOF || die
- MANPATH="${ROOTSYS}/share/man"
- PATH="${ROOTSYS}/bin"
- ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/lib"
- EOF
-
- if use python; then
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- rm -r emacs bin/*.{csh,sh,fish} || die
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- # create versioned symlinks for binaries
- cd bin;
- for exe in *; do
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
- done
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-06-28 16:15 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2021-06-28 16:15 UTC (permalink / raw
To: gentoo-commits
commit: c8aedb6b25dc3620256ab66a880707e08b07ff97
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 14:12:16 2021 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 16:15:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8aedb6b
sci-physics/root: enable USE=root7 by default
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.22.08-r2.ebuild | 2 +-
sci-physics/root/root-6.24.02-r1.ebuild | 2 +-
sci-physics/root/root-6.24.9999.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sci-physics/root/root-6.22.08-r2.ebuild b/sci-physics/root/root-6.22.08-r2.ebuild
index f19a12d4be9..1d4557c0adb 100644
--- a/sci-physics/root/root-6.22.08-r2.ebuild
+++ b/sci-physics/root/root-6.22.08-r2.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
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 vc
+ qt5 R +roofit +root7 shadow sqlite +ssl +tbb test +tmva +unuran vc
vmc +xml xrootd"
RESTRICT="!test? ( test )"
diff --git a/sci-physics/root/root-6.24.02-r1.ebuild b/sci-physics/root/root-6.24.02-r1.ebuild
index 2c240f9fd74..8ec7d9abcef 100644
--- a/sci-physics/root/root-6.24.02-r1.ebuild
+++ b/sci-physics/root/root-6.24.02-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
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
+ qt5 R +roofit +root7 shadow sqlite +ssl +tbb test +tmva +unuran uring
vc vmc +xml xrootd"
RESTRICT="!test? ( test )"
diff --git a/sci-physics/root/root-6.24.9999.ebuild b/sci-physics/root/root-6.24.9999.ebuild
index 3412813a7a8..499d8ead6b5 100644
--- a/sci-physics/root/root-6.24.9999.ebuild
+++ b/sci-physics/root/root-6.24.9999.ebuild
@@ -16,7 +16,7 @@ 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
+ qt5 R +roofit +root7 shadow sqlite +ssl +tbb test +tmva +unuran uring
vc vmc +xml xrootd"
RESTRICT="!test? ( test )"
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 3412813a7a8..499d8ead6b5 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -16,7 +16,7 @@ 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
+ qt5 R +roofit +root7 shadow sqlite +ssl +tbb test +tmva +unuran uring
vc vmc +xml xrootd"
RESTRICT="!test? ( test )"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-06-28 16:15 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2021-06-28 16:15 UTC (permalink / raw
To: gentoo-commits
commit: f66c4566dca7d207a7fd83bd23c4a61939a221fe
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 13:52:56 2021 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 16:15:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f66c4566
sci-physics/root: move default C++ standard to C++17
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/{root-6.22.08-r1.ebuild => root-6.22.08-r2.ebuild} | 2 +-
sci-physics/root/{root-6.24.02.ebuild => root-6.24.02-r1.ebuild} | 2 +-
sci-physics/root/root-6.24.9999.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sci-physics/root/root-6.22.08-r1.ebuild b/sci-physics/root/root-6.22.08-r2.ebuild
similarity index 99%
rename from sci-physics/root/root-6.22.08-r1.ebuild
rename to sci-physics/root/root-6.22.08-r2.ebuild
index 905c8eea79f..f19a12d4be9 100644
--- a/sci-physics/root/root-6.22.08-r1.ebuild
+++ b/sci-physics/root/root-6.22.08-r2.ebuild
@@ -14,7 +14,7 @@ DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda cudnn +davix debug emacs
+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 vc
diff --git a/sci-physics/root/root-6.24.02.ebuild b/sci-physics/root/root-6.24.02-r1.ebuild
similarity index 99%
rename from sci-physics/root/root-6.24.02.ebuild
rename to sci-physics/root/root-6.24.02-r1.ebuild
index 176a2987b02..2c240f9fd74 100644
--- a/sci-physics/root/root-6.24.02.ebuild
+++ b/sci-physics/root/root-6.24.02-r1.ebuild
@@ -14,7 +14,7 @@ DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-IUSE="+X aqua +asimage +c++11 c++14 c++17 cuda cudnn +davix debug emacs
+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
diff --git a/sci-physics/root/root-6.24.9999.ebuild b/sci-physics/root/root-6.24.9999.ebuild
index b9d938a4ba8..3412813a7a8 100644
--- a/sci-physics/root/root-6.24.9999.ebuild
+++ b/sci-physics/root/root-6.24.9999.ebuild
@@ -13,7 +13,7 @@ inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-func
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
+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
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index b9d938a4ba8..3412813a7a8 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -13,7 +13,7 @@ inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-func
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
+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
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-06-28 19:42 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2021-06-28 19:42 UTC (permalink / raw
To: gentoo-commits
commit: 8ba292d38f8e115f923656a50f92b41118f5731c
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 19:35:54 2021 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 19:35:54 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ba292d3
sci-physics/root: QA: fix multiple deps in one line
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.22.08-r2.ebuild | 7 ++++++-
sci-physics/root/root-6.24.02-r1.ebuild | 7 ++++++-
sci-physics/root/root-6.24.9999.ebuild | 7 ++++++-
sci-physics/root/root-9999.ebuild | 7 ++++++-
4 files changed, 24 insertions(+), 4 deletions(-)
diff --git a/sci-physics/root/root-6.22.08-r2.ebuild b/sci-physics/root/root-6.22.08-r2.ebuild
index 1d4557c0adb..b7c414808d0 100644
--- a/sci-physics/root/root-6.22.08-r2.ebuild
+++ b/sci-physics/root/root-6.22.08-r2.ebuild
@@ -83,7 +83,12 @@ CDEPEND="
minuit? ( !sci-libs/minuit )
mpi? ( virtual/mpi )
mysql? ( dev-db/mysql-connector-c )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ odbc? (
+ || (
+ dev-db/libiodbc
+ dev-db/unixODBC
+ )
+ )
oracle? ( dev-db/oracle-instantclient-basic )
postgres? ( dev-db/postgresql:= )
pythia6? ( sci-physics/pythia:6 )
diff --git a/sci-physics/root/root-6.24.02-r1.ebuild b/sci-physics/root/root-6.24.02-r1.ebuild
index 8ec7d9abcef..00c2a627b4d 100644
--- a/sci-physics/root/root-6.24.02-r1.ebuild
+++ b/sci-physics/root/root-6.24.02-r1.ebuild
@@ -85,7 +85,12 @@ CDEPEND="
minuit? ( !sci-libs/minuit )
mpi? ( virtual/mpi )
mysql? ( dev-db/mysql-connector-c )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ odbc? (
+ || (
+ dev-db/libiodbc
+ dev-db/unixODBC
+ )
+ )
oracle? ( dev-db/oracle-instantclient-basic )
postgres? ( dev-db/postgresql:= )
pythia6? ( sci-physics/pythia:6 )
diff --git a/sci-physics/root/root-6.24.9999.ebuild b/sci-physics/root/root-6.24.9999.ebuild
index 499d8ead6b5..e91fa0be492 100644
--- a/sci-physics/root/root-6.24.9999.ebuild
+++ b/sci-physics/root/root-6.24.9999.ebuild
@@ -96,7 +96,12 @@ CDEPEND="
minuit? ( !sci-libs/minuit )
mpi? ( virtual/mpi )
mysql? ( dev-db/mysql-connector-c )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ odbc? (
+ || (
+ dev-db/libiodbc
+ dev-db/unixODBC
+ )
+ )
oracle? ( dev-db/oracle-instantclient-basic )
postgres? ( dev-db/postgresql:= )
pythia6? ( sci-physics/pythia:6 )
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 499d8ead6b5..e91fa0be492 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -96,7 +96,12 @@ CDEPEND="
minuit? ( !sci-libs/minuit )
mpi? ( virtual/mpi )
mysql? ( dev-db/mysql-connector-c )
- odbc? ( || ( dev-db/libiodbc dev-db/unixODBC ) )
+ odbc? (
+ || (
+ dev-db/libiodbc
+ dev-db/unixODBC
+ )
+ )
oracle? ( dev-db/oracle-instantclient-basic )
postgres? ( dev-db/postgresql:= )
pythia6? ( sci-physics/pythia:6 )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-07-17 18:18 David Seifert
0 siblings, 0 replies; 196+ messages in thread
From: David Seifert @ 2021-07-17 18:18 UTC (permalink / raw
To: gentoo-commits
commit: 526e60bde16898446d6a0e3f2d0797842233523d
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 17 18:17:09 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jul 17 18:17:09 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=526e60bd
sci-physics/root: PYTHON_MULTI_USEDEP -> PYTHON_USEDEP
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-physics/root/root-6.22.08-r2.ebuild | 4 ++--
sci-physics/root/root-6.24.02-r1.ebuild | 4 ++--
sci-physics/root/root-6.24.9999.ebuild | 4 ++--
sci-physics/root/root-9999.ebuild | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/sci-physics/root/root-6.22.08-r2.ebuild b/sci-physics/root/root-6.22.08-r2.ebuild
index b7c414808d0..17ce327af5d 100644
--- a/sci-physics/root/root-6.22.08-r2.ebuild
+++ b/sci-physics/root/root-6.22.08-r2.ebuild
@@ -6,7 +6,7 @@ EAPI=7
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9} )
inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
@@ -101,7 +101,7 @@ CDEPEND="
tbb? ( >=dev-cpp/tbb-2018 )
tmva? (
$(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
')
)
vc? ( dev-libs/vc:= )
diff --git a/sci-physics/root/root-6.24.02-r1.ebuild b/sci-physics/root/root-6.24.02-r1.ebuild
index 00c2a627b4d..19bce3d18d0 100644
--- a/sci-physics/root/root-6.24.02-r1.ebuild
+++ b/sci-physics/root/root-6.24.02-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9} )
inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
@@ -103,7 +103,7 @@ CDEPEND="
tbb? ( dev-cpp/tbb )
tmva? (
$(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
')
)
uring? ( sys-libs/liburing )
diff --git a/sci-physics/root/root-6.24.9999.ebuild b/sci-physics/root/root-6.24.9999.ebuild
index e91fa0be492..cc894943f89 100644
--- a/sci-physics/root/root-6.24.9999.ebuild
+++ b/sci-physics/root/root-6.24.9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9} )
inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
@@ -114,7 +114,7 @@ CDEPEND="
tbb? ( dev-cpp/tbb )
tmva? (
$(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
')
)
uring? ( sys-libs/liburing )
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index e91fa0be492..cc894943f89 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{8,9} )
inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
@@ -114,7 +114,7 @@ CDEPEND="
tbb? ( dev-cpp/tbb )
tmva? (
$(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_MULTI_USEDEP}]
+ dev-python/numpy[${PYTHON_USEDEP}]
')
)
uring? ( sys-libs/liburing )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-08-26 9:28 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2021-08-26 9:28 UTC (permalink / raw
To: gentoo-commits
commit: 9bc9697f58b1ea336cd4f92ff8e0f0181fd32db5
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 26 08:17:31 2021 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Aug 26 09:27:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bc9697f
sci-physics/root: version bump to 6.24.04
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.24.02-r1.ebuild => root-6.24.04.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 6839ea17b34..a87c1eefc8e 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
DIST root_v6.22.08.source.tar.gz 173079716 BLAKE2B 0b3c15dfedd0215334dcd59db133aa9097709996e0e9cc20a1ae96f954ee607cad314291148f78a31f24ba78dee84204e617e17a6ed8a390503b068e8120e9f3 SHA512 2355e20b8c4d7ad747c31956a3ad0f6e7b70039f3e6613182bd7c53d0e8776267ee85fc1d8aad9ed0d942e28f4124ad79a7dc1082bb1ea7974be2cb6a8a85b39
-DIST root_v6.24.02.source.tar.gz 185205849 BLAKE2B 2b8b7aaf6d1bf498a52f341128ee3202ae5166d6ad49d8a0a05da64d4ed2887b50c22e67a7ce694e85d4330a1002937e21a4746be0342a9e21631e4b88125535 SHA512 8ff64688c6c675e157a5db504f8347511752dd10142c70af677fde9396841eb0a76bb9ec43631e73c83b09f278e34706a5492e22db52b6c100578329cef3c461
+DIST root_v6.24.04.source.tar.gz 185202985 BLAKE2B 2624984bc612d8fe40957278bc9155c7cb572e38ede0310a1946ebc4b308df3e2d2bc0fa48d25b600935905e7fb3d3c4c232bf019b267781e51398d0f519436c SHA512 175edb81a3a6eac80ba3fe1115dadb1098672463246a1eab3fe821414adf64257b4c803a8e4c04eb7847133138c14cdcebd9be8bb26e46b2ea3bf44461a6f0e3
diff --git a/sci-physics/root/root-6.24.02-r1.ebuild b/sci-physics/root/root-6.24.04.ebuild
similarity index 100%
rename from sci-physics/root/root-6.24.02-r1.ebuild
rename to sci-physics/root/root-6.24.04.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-09-06 6:38 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2021-09-06 6:38 UTC (permalink / raw
To: gentoo-commits
commit: febe20be3fe13e3691ba3128a5a1b6c3a3aa48d2
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 5 16:50:08 2021 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Sep 6 06:38:18 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=febe20be
sci-physics/root: version bump to 6.24.06
Package-Manager: Portage-3.0.22, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.24.04.ebuild => root-6.24.06.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index a87c1eefc8e..3e50ee4ab67 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
DIST root_v6.22.08.source.tar.gz 173079716 BLAKE2B 0b3c15dfedd0215334dcd59db133aa9097709996e0e9cc20a1ae96f954ee607cad314291148f78a31f24ba78dee84204e617e17a6ed8a390503b068e8120e9f3 SHA512 2355e20b8c4d7ad747c31956a3ad0f6e7b70039f3e6613182bd7c53d0e8776267ee85fc1d8aad9ed0d942e28f4124ad79a7dc1082bb1ea7974be2cb6a8a85b39
-DIST root_v6.24.04.source.tar.gz 185202985 BLAKE2B 2624984bc612d8fe40957278bc9155c7cb572e38ede0310a1946ebc4b308df3e2d2bc0fa48d25b600935905e7fb3d3c4c232bf019b267781e51398d0f519436c SHA512 175edb81a3a6eac80ba3fe1115dadb1098672463246a1eab3fe821414adf64257b4c803a8e4c04eb7847133138c14cdcebd9be8bb26e46b2ea3bf44461a6f0e3
+DIST root_v6.24.06.source.tar.gz 185205236 BLAKE2B 6b3343ad8d86373de3abd328480eaa89825bca46ebb5ccc16ddcb8c1060fa023eeb8be3d1832e3ce2ad0beaafe66334f20ed8344ffb6df72d89c6622aa1c947a SHA512 356d6287df2900de9e831347d9513f444bf7cbd29c39fbb5841051ae877dac1e22dc255c64166cd3925b82aac860ae67ef6ce171732c16fd23d7919a47e7cb5a
diff --git a/sci-physics/root/root-6.24.04.ebuild b/sci-physics/root/root-6.24.06.ebuild
similarity index 100%
rename from sci-physics/root/root-6.24.04.ebuild
rename to sci-physics/root/root-6.24.06.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-10-18 11:36 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2021-10-18 11:36 UTC (permalink / raw
To: gentoo-commits
commit: 975cfa4b5f04433810310627bd0ce4b9994fd1a7
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 18 10:48:24 2021 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Oct 18 11:35:17 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=975cfa4b
sci-physics/root: fix dependency on mpi, bug #818460
Closes: https://bugs.gentoo.org/818460
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.22.08-r2.ebuild | 2 +-
sci-physics/root/root-6.24.06.ebuild | 2 +-
sci-physics/root/root-6.24.9999.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sci-physics/root/root-6.22.08-r2.ebuild b/sci-physics/root/root-6.22.08-r2.ebuild
index 17ce327af5d..49b680c7001 100644
--- a/sci-physics/root/root-6.22.08-r2.ebuild
+++ b/sci-physics/root/root-6.22.08-r2.ebuild
@@ -81,7 +81,7 @@ CDEPEND="
libcxx? ( sys-libs/libcxx )
unuran? ( sci-mathematics/unuran:0= )
minuit? ( !sci-libs/minuit )
- mpi? ( virtual/mpi )
+ mpi? ( virtual/mpi[fortran?] )
mysql? ( dev-db/mysql-connector-c )
odbc? (
|| (
diff --git a/sci-physics/root/root-6.24.06.ebuild b/sci-physics/root/root-6.24.06.ebuild
index 19bce3d18d0..708fc6d4c7b 100644
--- a/sci-physics/root/root-6.24.06.ebuild
+++ b/sci-physics/root/root-6.24.06.ebuild
@@ -83,7 +83,7 @@ CDEPEND="
libcxx? ( sys-libs/libcxx )
unuran? ( sci-mathematics/unuran:0= )
minuit? ( !sci-libs/minuit )
- mpi? ( virtual/mpi )
+ mpi? ( virtual/mpi[fortran?] )
mysql? ( dev-db/mysql-connector-c )
odbc? (
|| (
diff --git a/sci-physics/root/root-6.24.9999.ebuild b/sci-physics/root/root-6.24.9999.ebuild
index cc894943f89..769f8a4eb08 100644
--- a/sci-physics/root/root-6.24.9999.ebuild
+++ b/sci-physics/root/root-6.24.9999.ebuild
@@ -94,7 +94,7 @@ CDEPEND="
libcxx? ( sys-libs/libcxx )
unuran? ( sci-mathematics/unuran:0= )
minuit? ( !sci-libs/minuit )
- mpi? ( virtual/mpi )
+ mpi? ( virtual/mpi[fortran?] )
mysql? ( dev-db/mysql-connector-c )
odbc? (
|| (
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index cc894943f89..769f8a4eb08 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -94,7 +94,7 @@ CDEPEND="
libcxx? ( sys-libs/libcxx )
unuran? ( sci-mathematics/unuran:0= )
minuit? ( !sci-libs/minuit )
- mpi? ( virtual/mpi )
+ mpi? ( virtual/mpi[fortran?] )
mysql? ( dev-db/mysql-connector-c )
odbc? (
|| (
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2021-10-29 22:23 Sam James
0 siblings, 0 replies; 196+ messages in thread
From: Sam James @ 2021-10-29 22:23 UTC (permalink / raw
To: gentoo-commits
commit: b1ca4c6c179e134de5e5154888e3618c5463f376
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 22:22:12 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 22:22:51 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1ca4c6c
sci-physics/root: add tbb subslot operator
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-physics/root/{root-6.22.08-r2.ebuild => root-6.22.08-r3.ebuild} | 2 +-
sci-physics/root/{root-6.24.06.ebuild => root-6.24.06-r1.ebuild} | 4 ++--
sci-physics/root/root-6.24.9999.ebuild | 4 ++--
sci-physics/root/root-9999.ebuild | 4 ++--
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/sci-physics/root/root-6.22.08-r2.ebuild b/sci-physics/root/root-6.22.08-r3.ebuild
similarity index 99%
rename from sci-physics/root/root-6.22.08-r2.ebuild
rename to sci-physics/root/root-6.22.08-r3.ebuild
index 49b680c7001..e50075307bb 100644
--- a/sci-physics/root/root-6.22.08-r2.ebuild
+++ b/sci-physics/root/root-6.22.08-r3.ebuild
@@ -98,7 +98,7 @@ CDEPEND="
shadow? ( sys-apps/shadow )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
- tbb? ( >=dev-cpp/tbb-2018 )
+ tbb? ( >=dev-cpp/tbb-2018:= )
tmva? (
$(python_gen_cond_dep '
dev-python/numpy[${PYTHON_USEDEP}]
diff --git a/sci-physics/root/root-6.24.06.ebuild b/sci-physics/root/root-6.24.06-r1.ebuild
similarity index 99%
rename from sci-physics/root/root-6.24.06.ebuild
rename to sci-physics/root/root-6.24.06-r1.ebuild
index 708fc6d4c7b..f368ddd41f2 100644
--- a/sci-physics/root/root-6.24.06.ebuild
+++ b/sci-physics/root/root-6.24.06-r1.ebuild
@@ -100,13 +100,13 @@ CDEPEND="
shadow? ( sys-apps/shadow )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
- tbb? ( dev-cpp/tbb )
+ tbb? ( dev-cpp/tbb:= )
tmva? (
$(python_gen_cond_dep '
dev-python/numpy[${PYTHON_USEDEP}]
')
)
- uring? ( sys-libs/liburing )
+ uring? ( sys-libs/liburing:= )
vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
diff --git a/sci-physics/root/root-6.24.9999.ebuild b/sci-physics/root/root-6.24.9999.ebuild
index 769f8a4eb08..ee32ed846f5 100644
--- a/sci-physics/root/root-6.24.9999.ebuild
+++ b/sci-physics/root/root-6.24.9999.ebuild
@@ -111,13 +111,13 @@ CDEPEND="
shadow? ( sys-apps/shadow )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
- tbb? ( dev-cpp/tbb )
+ tbb? ( dev-cpp/tbb:= )
tmva? (
$(python_gen_cond_dep '
dev-python/numpy[${PYTHON_USEDEP}]
')
)
- uring? ( sys-libs/liburing )
+ uring? ( sys-libs/liburing:= )
vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 769f8a4eb08..ee32ed846f5 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -111,13 +111,13 @@ CDEPEND="
shadow? ( sys-apps/shadow )
sqlite? ( dev-db/sqlite:3 )
ssl? ( dev-libs/openssl:0= )
- tbb? ( dev-cpp/tbb )
+ tbb? ( dev-cpp/tbb:= )
tmva? (
$(python_gen_cond_dep '
dev-python/numpy[${PYTHON_USEDEP}]
')
)
- uring? ( sys-libs/liburing )
+ uring? ( sys-libs/liburing:= )
vc? ( dev-libs/vc:= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-01-15 21:51 Sam James
0 siblings, 0 replies; 196+ messages in thread
From: Sam James @ 2022-01-15 21:51 UTC (permalink / raw
To: gentoo-commits
commit: ce2e6dfb49b3daac46698ed2353015edfc65ebde
Author: Marco Genasci <fedeliallalinea <AT> gmail <DOT> com>
AuthorDate: Fri Jan 7 12:38:42 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 15 21:50:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce2e6dfb
sci-physics/root: changed old oracle-instantclient-basic dependency
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Marco Genasci <fedeliallalinea <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-physics/root/{root-6.22.08-r3.ebuild => root-6.22.08-r4.ebuild} | 4 ++--
sci-physics/root/{root-6.24.06-r1.ebuild => root-6.24.06-r2.ebuild} | 4 ++--
sci-physics/root/root-6.24.9999.ebuild | 4 ++--
sci-physics/root/root-9999.ebuild | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/sci-physics/root/root-6.22.08-r3.ebuild b/sci-physics/root/root-6.22.08-r4.ebuild
similarity index 98%
rename from sci-physics/root/root-6.22.08-r3.ebuild
rename to sci-physics/root/root-6.22.08-r4.ebuild
index e50075307bb3..ff49aae7cc47 100644
--- a/sci-physics/root/root-6.22.08-r3.ebuild
+++ b/sci-physics/root/root-6.22.08-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -89,7 +89,7 @@ CDEPEND="
dev-db/unixODBC
)
)
- oracle? ( dev-db/oracle-instantclient-basic )
+ oracle? ( dev-db/oracle-instantclient[sdk] )
postgres? ( dev-db/postgresql:= )
pythia6? ( sci-physics/pythia:6 )
pythia8? ( sci-physics/pythia:8 )
diff --git a/sci-physics/root/root-6.24.06-r1.ebuild b/sci-physics/root/root-6.24.06-r2.ebuild
similarity index 98%
rename from sci-physics/root/root-6.24.06-r1.ebuild
rename to sci-physics/root/root-6.24.06-r2.ebuild
index f368ddd41f23..baa622feb887 100644
--- a/sci-physics/root/root-6.24.06-r1.ebuild
+++ b/sci-physics/root/root-6.24.06-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -91,7 +91,7 @@ CDEPEND="
dev-db/unixODBC
)
)
- oracle? ( dev-db/oracle-instantclient-basic )
+ oracle? ( dev-db/oracle-instantclient[sdk] )
postgres? ( dev-db/postgresql:= )
pythia6? ( sci-physics/pythia:6 )
pythia8? ( sci-physics/pythia:8 )
diff --git a/sci-physics/root/root-6.24.9999.ebuild b/sci-physics/root/root-6.24.9999.ebuild
index ee32ed846f57..821f43c2d80e 100644
--- a/sci-physics/root/root-6.24.9999.ebuild
+++ b/sci-physics/root/root-6.24.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -102,7 +102,7 @@ CDEPEND="
dev-db/unixODBC
)
)
- oracle? ( dev-db/oracle-instantclient-basic )
+ oracle? ( dev-db/oracle-instantclient[sdk] )
postgres? ( dev-db/postgresql:= )
pythia6? ( sci-physics/pythia:6 )
pythia8? ( sci-physics/pythia:8 )
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index ee32ed846f57..821f43c2d80e 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -102,7 +102,7 @@ CDEPEND="
dev-db/unixODBC
)
)
- oracle? ( dev-db/oracle-instantclient-basic )
+ oracle? ( dev-db/oracle-instantclient[sdk] )
postgres? ( dev-db/postgresql:= )
pythia6? ( sci-physics/pythia:6 )
pythia8? ( sci-physics/pythia:8 )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-03-09 16:31 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2022-03-09 16:31 UTC (permalink / raw
To: gentoo-commits
commit: 86f3dcfb747ce9e2be688c7812a7c9065a703613
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 9 15:38:49 2022 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Mar 9 16:31:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86f3dcfb
sci-physics/root: version bump to 6.26.00
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.26.00.ebuild | 327 +++++++++++++++++++++++++++++++++++
2 files changed, 328 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 3e50ee4ab674..60ac54cb5650 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,3 @@
DIST root_v6.22.08.source.tar.gz 173079716 BLAKE2B 0b3c15dfedd0215334dcd59db133aa9097709996e0e9cc20a1ae96f954ee607cad314291148f78a31f24ba78dee84204e617e17a6ed8a390503b068e8120e9f3 SHA512 2355e20b8c4d7ad747c31956a3ad0f6e7b70039f3e6613182bd7c53d0e8776267ee85fc1d8aad9ed0d942e28f4124ad79a7dc1082bb1ea7974be2cb6a8a85b39
DIST root_v6.24.06.source.tar.gz 185205236 BLAKE2B 6b3343ad8d86373de3abd328480eaa89825bca46ebb5ccc16ddcb8c1060fa023eeb8be3d1832e3ce2ad0beaafe66334f20ed8344ffb6df72d89c6622aa1c947a SHA512 356d6287df2900de9e831347d9513f444bf7cbd29c39fbb5841051ae877dac1e22dc255c64166cd3925b82aac860ae67ef6ce171732c16fd23d7919a47e7cb5a
+DIST root_v6.26.00.source.tar.gz 193685534 BLAKE2B 22e2845308362ceefd85e7ae567f1593a387e24e6ac779c6a681b8b9b9354686ba42db81f9a0c7c033d046c374bc4ba7b74cf8979e9b2a49e5231201c1765204 SHA512 78428de6b7ba546263aed51df2e23f9493a8dc8112a320142a8e5187a88ed4d0c0402e453cec2dc79063da15ad28cb89ec154085aed2579f87c6657c77362f45
diff --git a/sci-physics/root/root-6.26.00.ebuild b/sci-physics/root/root-6.26.00.ebuild
new file mode 100644
index 000000000000..43196c9075de
--- /dev/null
+++ b/sci-physics/root/root-6.26.00.ebuild
@@ -0,0 +1,327 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python3_{8,9,10} )
+
+inherit cmake cuda elisp-common fortran-2 python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+
+IUSE="+X aqua +asimage 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 pythia6 pythia8 +python
+ qt5 R +roofit +root7 shadow sqlite +ssl +tbb test +tmva +unuran uring
+ vc +xml xrootd"
+RESTRICT="!test? ( test )"
+
+SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+KEYWORDS="~amd64 ~x86"
+
+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 )
+ 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 )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ 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}"
+
+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.
+# 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=(
+ -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-)
+ -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}"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dasserts=OFF
+ -Ddev=OFF
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dgnuinstall=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_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
+ -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
+ -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)
+ -Dlibcxx=$(usex libcxx)
+ -Dmathmore=$(usex gsl)
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(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
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=OFF
+ -Drpath=OFF
+ -Druntime_cxxmodules=OFF
+ -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}
+ )
+
+ CMAKE_BUILD_TYPE=$(usex debug Debug Release) \
+ cmake_src_configure
+}
+
+src_compile() {
+ # needed for hsimple.root
+ addwrite /dev/random
+ cmake_src_compile
+}
+
+src_install() {
+ cmake_src_install
+
+ ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
+ ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
+
+ cat > ${ROOTENV} <<- EOF || die
+ MANPATH="${ROOTSYS}/share/man"
+ PATH="${ROOTSYS}/bin"
+ ROOTPATH="${ROOTSYS}/bin"
+ LDPATH="${ROOTSYS}/lib"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r emacs bin/*.{csh,sh,fish} || die
+
+ if ! use examples; then
+ rm -r tutorials || die
+ fi
+
+ # create versioned symlinks for binaries
+ cd bin;
+ for exe in *; do
+ dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
+ done
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-03-09 16:31 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2022-03-09 16:31 UTC (permalink / raw
To: gentoo-commits
commit: b6ee67b051ac368af3783da0f938591a9b8f40b9
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 9 15:46:20 2022 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Mar 9 16:31:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6ee67b0
sci-physics/root: drop old versions
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 -
sci-physics/root/root-6.22.08-r4.ebuild | 312 -----------------------------
sci-physics/root/root-6.24.9999.ebuild | 342 --------------------------------
3 files changed, 655 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 60ac54cb5650..e8c2a79db693 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,3 +1,2 @@
-DIST root_v6.22.08.source.tar.gz 173079716 BLAKE2B 0b3c15dfedd0215334dcd59db133aa9097709996e0e9cc20a1ae96f954ee607cad314291148f78a31f24ba78dee84204e617e17a6ed8a390503b068e8120e9f3 SHA512 2355e20b8c4d7ad747c31956a3ad0f6e7b70039f3e6613182bd7c53d0e8776267ee85fc1d8aad9ed0d942e28f4124ad79a7dc1082bb1ea7974be2cb6a8a85b39
DIST root_v6.24.06.source.tar.gz 185205236 BLAKE2B 6b3343ad8d86373de3abd328480eaa89825bca46ebb5ccc16ddcb8c1060fa023eeb8be3d1832e3ce2ad0beaafe66334f20ed8344ffb6df72d89c6622aa1c947a SHA512 356d6287df2900de9e831347d9513f444bf7cbd29c39fbb5841051ae877dac1e22dc255c64166cd3925b82aac860ae67ef6ce171732c16fd23d7919a47e7cb5a
DIST root_v6.26.00.source.tar.gz 193685534 BLAKE2B 22e2845308362ceefd85e7ae567f1593a387e24e6ac779c6a681b8b9b9354686ba42db81f9a0c7c033d046c374bc4ba7b74cf8979e9b2a49e5231201c1765204 SHA512 78428de6b7ba546263aed51df2e23f9493a8dc8112a320142a8e5187a88ed4d0c0402e453cec2dc79063da15ad28cb89ec154085aed2579f87c6657c77362f45
diff --git a/sci-physics/root/root-6.22.08-r4.ebuild b/sci-physics/root/root-6.22.08-r4.ebuild
deleted file mode 100644
index ff49aae7cc47..000000000000
--- a/sci-physics/root/root-6.22.08-r4.ebuild
+++ /dev/null
@@ -1,312 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{8,9} )
-
-inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-
-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 vc
- vmc +xml xrootd"
-RESTRICT="!test? ( test )"
-
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="
- ^^ ( c++11 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 )
-"
-
-CDEPEND="
- app-arch/lz4
- app-arch/zstd
- app-arch/xz-utils
- fortran? ( dev-lang/cfortran )
- 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 )
- emacs? ( >=app-editors/emacs-23.1:* )
- 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-2018:= )
- tmva? (
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- ')
- )
- vc? ( dev-libs/vc:= )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}"
-
-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.
-# 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=(
- -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++11 || usev c++14 || usev c++17) | cut -c4-)
- -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}"
- -DCLING_BUILD_PLUGINS=OFF
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dgnuinstall=OFF
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=ON
- -Dbuiltin_clang=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=OFF
- -Dbuiltin_lz4=OFF
- -Dbuiltin_lzma=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_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
- -Ddataframe=ON
- -Ddavix=$(usex davix)
- -Ddcache=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)
- -Dlibcxx=$(usex libcxx)
- -Dmathmore=$(usex gsl)
- -Dmemstat=OFF # deprecated
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(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)
- -Dr=$(usex R)
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=OFF
- -Drpath=OFF
- -Druntime_cxxmodules=OFF
- -Dshadowpw=$(usex shadow)
- -Dspectrum=ON
- -Dsqlite=$(usex sqlite)
- -Dssl=$(usex ssl)
- -Dtcmalloc=OFF
- -Dtesting=$(usex test)
- -Dtmva=$(usex tmva)
- -Dtmva-cpu=$(usex tmva)
- -Dtmva-gpu=$(usex cuda)
- -Dtmva-pymva=$(usex tmva)
- -Dtmva-rmva=$(usex R)
- -Dunuran=$(usex unuran)
- -Dvc=$(usex vc)
- -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
-}
-
-src_install() {
- cmake_src_install
-
- ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
- ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
-
- cat > ${ROOTENV} <<- EOF || die
- MANPATH="${ROOTSYS}/share/man"
- PATH="${ROOTSYS}/bin"
- ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/lib"
- EOF
-
- if use python; then
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- rm -r emacs bin/*.{csh,sh,fish} || die
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- # create versioned symlinks for binaries
- cd bin;
- for exe in *; do
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
- done
-}
diff --git a/sci-physics/root/root-6.24.9999.ebuild b/sci-physics/root/root-6.24.9999.ebuild
deleted file mode 100644
index 821f43c2d80e..000000000000
--- a/sci-physics/root/root-6.24.9999.ebuild
+++ /dev/null
@@ -1,342 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{8,9} )
-
-inherit cmake cuda elisp-common fortran-2 prefix 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"
-RESTRICT="!test? ( test )"
-
-if [[ ${PV} =~ "9999" ]] ; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/root-project/root.git"
- if [[ ${PV} == "9999" ]]; then
- SLOT="0"
- else
- SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
- EGIT_BRANCH="v$(ver_cut 1)-$(ver_cut 2)-00-patches"
- fi
-else
- 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++11 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 )
- 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 )
- emacs? ( >=app-editors/emacs-23.1:* )
- 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}"
-
-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.
-# 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=(
- -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++11 || usev c++14 || usev c++17) | cut -c4-)
- -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}"
- -DCLING_BUILD_PLUGINS=OFF
- -Dasserts=OFF
- -Ddev=OFF
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dgnuinstall=OFF
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=ON
- -Dbuiltin_clang=ON
- -Dbuiltin_cling=ON
- -Dbuiltin_openui5=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=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_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
- -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)
- -Dlibcxx=$(usex libcxx)
- -Dmathmore=$(usex gsl)
- -Dmemstat=OFF # deprecated
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(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)
- -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)
- -Dpythia8=$(usex pythia8)
- -Dqt5web=$(usex qt5)
- -Dr=$(usex R)
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=OFF
- -Drpath=OFF
- -Druntime_cxxmodules=OFF
- -Dshadowpw=$(usex shadow)
- -Dspectrum=ON
- -Dsqlite=$(usex sqlite)
- -Dssl=$(usex ssl)
- -Dtcmalloc=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)
- -Dunuran=$(usex unuran)
- -During=$(usex uring)
- -Dvc=$(usex vc)
- -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
-}
-
-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"
- EOF
-
- if use python; then
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- rm -r emacs bin/*.{csh,sh,fish} || die
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- # 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
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-03-09 16:31 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2022-03-09 16:31 UTC (permalink / raw
To: gentoo-commits
commit: 36f31de4f183ea61aea6bf269f7eea2fbe7fe209
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 9 15:32:54 2022 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Mar 9 16:31:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36f31de4
sci-physics/root: update live ebuild
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 821f43c2d80e..17abcfdfccb2 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -188,6 +188,7 @@ src_configure() {
-Dbuiltin_openui5=ON
-Dbuiltin_afterimage=OFF
-Dbuiltin_cfitsio=OFF
+ -Dbuiltin_cppzmq=OFF
-Dbuiltin_davix=OFF
-Dbuiltin_fftw3=OFF
-Dbuiltin_freetype=OFF
@@ -207,6 +208,7 @@ src_configure() {
-Dbuiltin_veccore=OFF
-Dbuiltin_xrootd=OFF
-Dbuiltin_xxhash=OFF
+ -Dbuiltin_zeromq=OFF
-Dbuiltin_zlib=OFF
-Dbuiltin_zstd=OFF
-Dalien=OFF
@@ -254,8 +256,10 @@ src_configure() {
#-Dpyroot_experimental=OFF # set to ON to use new PyROOT (6.20 and earlier)
-Dpythia8=$(usex pythia8)
-Dqt5web=$(usex qt5)
+ -Dqt6web=OFF
-Dr=$(usex R)
-Droofit=$(usex roofit)
+ -Droofit_multiprocess=OFF
-Droot7=$(usex root7)
-Drootbench=OFF
-Droottest=OFF
@@ -266,6 +270,7 @@ src_configure() {
-Dsqlite=$(usex sqlite)
-Dssl=$(usex ssl)
-Dtcmalloc=OFF
+ -Dtest_distrdf_dask=OFF
-Dtest_distrdf_pyspark=OFF
-Dtesting=$(usex test)
-Dtmva=$(usex tmva)
@@ -273,6 +278,7 @@ src_configure() {
-Dtmva-gpu=$(usex cuda)
-Dtmva-pymva=$(usex tmva)
-Dtmva-rmva=$(usex R)
+ -Dtmva-sofie=OFF
-Dunuran=$(usex unuran)
-During=$(usex uring)
-Dvc=$(usex vc)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-03-09 16:31 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2022-03-09 16:31 UTC (permalink / raw
To: gentoo-commits
commit: 46df4269ef98bd5b99634dad13dbc4647371f447
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 9 15:44:52 2022 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Mar 9 16:31:01 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46df4269
sci-physics/root: add live ebuild for 6.26 branch
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.26.9999.ebuild | 345 +++++++++++++++++++++++++++++++++
1 file changed, 345 insertions(+)
diff --git a/sci-physics/root/root-6.26.9999.ebuild b/sci-physics/root/root-6.26.9999.ebuild
new file mode 100644
index 000000000000..2dda688768c6
--- /dev/null
+++ b/sci-physics/root/root-6.26.9999.ebuild
@@ -0,0 +1,345 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ninja does not work due to fortran
+CMAKE_MAKEFILE_GENERATOR=emake
+FORTRAN_NEEDED="fortran"
+PYTHON_COMPAT=( python3_{8,9,10} )
+
+inherit cmake cuda elisp-common 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 emacs
+ +examples fits fftw fortran +gdml graphviz +gsl http 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? ( test )"
+
+if [[ ${PV} =~ "9999" ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/root-project/root.git"
+ if [[ ${PV} == "9999" ]]; then
+ SLOT="0"
+ else
+ SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+ EGIT_BRANCH="v$(ver_cut 1)-$(ver_cut 2)-00-patches"
+ fi
+else
+ 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 )
+ 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 )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ 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}"
+
+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.
+# 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=(
+ -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-)
+ -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}"
+ -DCLING_BUILD_PLUGINS=OFF
+ -Dasserts=OFF
+ -Ddev=OFF
+ -Dexceptions=ON
+ -Dfail-on-missing=ON
+ -Dgnuinstall=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_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
+ -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
+ -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)
+ -Dlibcxx=$(usex libcxx)
+ -Dmathmore=$(usex gsl)
+ -Dminimal=OFF
+ -Dminuit2=$(usex minuit)
+ -Dminuit=$(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
+ -Droot7=$(usex root7)
+ -Drootbench=OFF
+ -Droottest=OFF
+ -Drpath=OFF
+ -Druntime_cxxmodules=OFF
+ -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}
+ )
+
+ CMAKE_BUILD_TYPE=$(usex debug Debug Release) \
+ cmake_src_configure
+}
+
+src_compile() {
+ # needed for hsimple.root
+ addwrite /dev/random
+ cmake_src_compile
+}
+
+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"
+ EOF
+
+ if use python; then
+ echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
+ fi
+
+ doenvd ${ROOTENV}
+
+ if use emacs; then
+ elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
+ fi
+
+ pushd "${D}/${ROOTSYS}" > /dev/null
+
+ rm -r emacs bin/*.{csh,sh,fish} || die
+
+ if ! use examples; then
+ rm -r tutorials || die
+ fi
+
+ # 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
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-03-20 18:51 Sam James
0 siblings, 0 replies; 196+ messages in thread
From: Sam James @ 2022-03-20 18:51 UTC (permalink / raw
To: gentoo-commits
commit: 7b402b94726e70f8f047b06bda8455dfd59b74e7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 18:50:36 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 18:51:34 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b402b94
sci-physics/root: [QA] fix tc-get* quoting
This can cause build problems for e.g. 32-bit (gcc -m32 ...)
Signed-off-by: Sam James <sam <AT> gentoo.org>
sci-physics/root/root-6.24.06-r2.ebuild | 6 +++---
sci-physics/root/root-6.26.00.ebuild | 6 +++---
sci-physics/root/root-6.26.9999.ebuild | 6 +++---
sci-physics/root/root-9999.ebuild | 6 +++---
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/sci-physics/root/root-6.24.06-r2.ebuild b/sci-physics/root/root-6.24.06-r2.ebuild
index baa622feb887..d0010c0eb95c 100644
--- a/sci-physics/root/root-6.24.06-r2.ebuild
+++ b/sci-physics/root/root-6.24.06-r2.ebuild
@@ -152,9 +152,9 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
- -DCMAKE_C_COMPILER=$(tc-getCC)
- -DCMAKE_CXX_COMPILER=$(tc-getCXX)
- -DCMAKE_CUDA_HOST_COMPILER=$(tc-getCXX)
+ -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++11 || usev c++14 || usev c++17) | cut -c4-)
diff --git a/sci-physics/root/root-6.26.00.ebuild b/sci-physics/root/root-6.26.00.ebuild
index 43196c9075de..fc9568849f88 100644
--- a/sci-physics/root/root-6.26.00.ebuild
+++ b/sci-physics/root/root-6.26.00.ebuild
@@ -152,9 +152,9 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
- -DCMAKE_C_COMPILER=$(tc-getCC)
- -DCMAKE_CXX_COMPILER=$(tc-getCXX)
- -DCMAKE_CUDA_HOST_COMPILER=$(tc-getCXX)
+ -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-)
diff --git a/sci-physics/root/root-6.26.9999.ebuild b/sci-physics/root/root-6.26.9999.ebuild
index 2dda688768c6..9089f78b2f9a 100644
--- a/sci-physics/root/root-6.26.9999.ebuild
+++ b/sci-physics/root/root-6.26.9999.ebuild
@@ -163,9 +163,9 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
- -DCMAKE_C_COMPILER=$(tc-getCC)
- -DCMAKE_CXX_COMPILER=$(tc-getCXX)
- -DCMAKE_CUDA_HOST_COMPILER=$(tc-getCXX)
+ -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-)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 17abcfdfccb2..5b33a45e4b12 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -163,9 +163,9 @@ src_prepare() {
src_configure() {
local mycmakeargs=(
- -DCMAKE_C_COMPILER=$(tc-getCC)
- -DCMAKE_CXX_COMPILER=$(tc-getCXX)
- -DCMAKE_CUDA_HOST_COMPILER=$(tc-getCXX)
+ -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++11 || usev c++14 || usev c++17) | cut -c4-)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-04-13 6:22 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2022-04-13 6:22 UTC (permalink / raw
To: gentoo-commits
commit: 90ff93a5c3b11c26b19e8516ed43ae3379d44191
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 13 06:15:04 2022 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Apr 13 06:21:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90ff93a5
sci-physics/root: version bump to 6.26.02
Closes: https://bugs.gentoo.org/835780
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.26.00.ebuild => root-6.26.02.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index e8c2a79db693..7dd2b0d71af1 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
DIST root_v6.24.06.source.tar.gz 185205236 BLAKE2B 6b3343ad8d86373de3abd328480eaa89825bca46ebb5ccc16ddcb8c1060fa023eeb8be3d1832e3ce2ad0beaafe66334f20ed8344ffb6df72d89c6622aa1c947a SHA512 356d6287df2900de9e831347d9513f444bf7cbd29c39fbb5841051ae877dac1e22dc255c64166cd3925b82aac860ae67ef6ce171732c16fd23d7919a47e7cb5a
-DIST root_v6.26.00.source.tar.gz 193685534 BLAKE2B 22e2845308362ceefd85e7ae567f1593a387e24e6ac779c6a681b8b9b9354686ba42db81f9a0c7c033d046c374bc4ba7b74cf8979e9b2a49e5231201c1765204 SHA512 78428de6b7ba546263aed51df2e23f9493a8dc8112a320142a8e5187a88ed4d0c0402e453cec2dc79063da15ad28cb89ec154085aed2579f87c6657c77362f45
+DIST root_v6.26.02.source.tar.gz 193704724 BLAKE2B 31d8e1068b29cac32b45066f487f570f07ccf657d6f45e5750e6c914804444eafea65aec13b40363db0125765a71e29703a9a13a685c658539ceb26319b966a5 SHA512 593022ecac14dc057f69ca18ebffef610f5c6064d6c4a7b658cffd26110110f66da2f11cc935b03eca5e557f18cded43f43bdee984660b4f4db1dbe1787bba9f
diff --git a/sci-physics/root/root-6.26.00.ebuild b/sci-physics/root/root-6.26.02.ebuild
similarity index 100%
rename from sci-physics/root/root-6.26.00.ebuild
rename to sci-physics/root/root-6.26.02.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-04-13 6:22 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2022-04-13 6:22 UTC (permalink / raw
To: gentoo-commits
commit: 70339de944a75fbbd355f2a1ea0d84eac931339d
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 13 06:19:49 2022 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Apr 13 06:21:33 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70339de9
sci-physics/root: add 3.10 to PYTHON_COMPAT in live ebuild
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 6610a29bf1e0..2459437b34a4 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=7
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{8,9} )
+PYTHON_COMPAT=( python3_{8,9,10} )
inherit cmake cuda elisp-common fortran-2 python-single-r1 toolchain-funcs
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-04-13 6:22 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2022-04-13 6:22 UTC (permalink / raw
To: gentoo-commits
commit: cb74cda8278d1900c75927a0cba9600d3cfb5229
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 13 06:18:42 2022 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Apr 13 06:21:32 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb74cda8
sci-physics/root: remove unused inherit of prefix eclass
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.24.06-r2.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/root-6.24.06-r2.ebuild b/sci-physics/root/root-6.24.06-r2.ebuild
index d0010c0eb95c..8da6d265fdfe 100644
--- a/sci-physics/root/root-6.24.06-r2.ebuild
+++ b/sci-physics/root/root-6.24.06-r2.ebuild
@@ -8,7 +8,7 @@ CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python3_{8,9} )
-inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
+inherit cmake cuda elisp-common fortran-2 python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 5b33a45e4b12..6610a29bf1e0 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -8,7 +8,7 @@ CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python3_{8,9} )
-inherit cmake cuda elisp-common fortran-2 prefix python-single-r1 toolchain-funcs
+inherit cmake cuda elisp-common fortran-2 python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-05-23 15:21 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2022-05-23 15:21 UTC (permalink / raw
To: gentoo-commits
commit: 10ac46020de851a183cfe6eccfa3f09c7fdaf68a
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon May 23 15:19:27 2022 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon May 23 15:19:35 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10ac4602
sci-physics/root: fix bug 839234
Closes: https://bugs.gentoo.org/839234
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.24.06-r2.ebuild | 2 +-
sci-physics/root/root-6.26.02.ebuild | 2 +-
sci-physics/root/root-6.26.9999.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/sci-physics/root/root-6.24.06-r2.ebuild b/sci-physics/root/root-6.24.06-r2.ebuild
index 8da6d265fdfe..521449068ccb 100644
--- a/sci-physics/root/root-6.24.06-r2.ebuild
+++ b/sci-physics/root/root-6.24.06-r2.ebuild
@@ -157,7 +157,7 @@ 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++11 || usev c++14 || usev c++17) | cut -c4-)
-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"
diff --git a/sci-physics/root/root-6.26.02.ebuild b/sci-physics/root/root-6.26.02.ebuild
index fc9568849f88..304b7de69514 100644
--- a/sci-physics/root/root-6.26.02.ebuild
+++ b/sci-physics/root/root-6.26.02.ebuild
@@ -157,7 +157,7 @@ src_configure() {
-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-)
+ -DCMAKE_CXX_STANDARD=$( (usev c++14 || usev c++17) | cut -c4-)
-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"
diff --git a/sci-physics/root/root-6.26.9999.ebuild b/sci-physics/root/root-6.26.9999.ebuild
index 9089f78b2f9a..246be36df972 100644
--- a/sci-physics/root/root-6.26.9999.ebuild
+++ b/sci-physics/root/root-6.26.9999.ebuild
@@ -168,7 +168,7 @@ src_configure() {
-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-)
+ -DCMAKE_CXX_STANDARD=$( (usev c++14 || usev c++17) | cut -c4-)
-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"
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 2459437b34a4..295ee5f051f2 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -168,7 +168,7 @@ 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++11 || usev c++14 || usev c++17) | cut -c4-)
-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"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-06-09 9:28 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2022-06-09 9:28 UTC (permalink / raw
To: gentoo-commits
commit: d82acc20ec713a4d18baa10c0002f2ffe9e7584e
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 8 14:52:31 2022 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Jun 9 09:18:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82acc20
sci-physics/root: version bump to 6.26.04
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.26.02.ebuild => root-6.26.04.ebuild} | 10 ++--------
2 files changed, 3 insertions(+), 9 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 7dd2b0d71af1..2c2111d75879 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
DIST root_v6.24.06.source.tar.gz 185205236 BLAKE2B 6b3343ad8d86373de3abd328480eaa89825bca46ebb5ccc16ddcb8c1060fa023eeb8be3d1832e3ce2ad0beaafe66334f20ed8344ffb6df72d89c6622aa1c947a SHA512 356d6287df2900de9e831347d9513f444bf7cbd29c39fbb5841051ae877dac1e22dc255c64166cd3925b82aac860ae67ef6ce171732c16fd23d7919a47e7cb5a
-DIST root_v6.26.02.source.tar.gz 193704724 BLAKE2B 31d8e1068b29cac32b45066f487f570f07ccf657d6f45e5750e6c914804444eafea65aec13b40363db0125765a71e29703a9a13a685c658539ceb26319b966a5 SHA512 593022ecac14dc057f69ca18ebffef610f5c6064d6c4a7b658cffd26110110f66da2f11cc935b03eca5e557f18cded43f43bdee984660b4f4db1dbe1787bba9f
+DIST root_v6.26.04.source.tar.gz 193717639 BLAKE2B ea8372221a2498c57cef8a23356bff06bae722c105d3ae926fefb6abd09c1d58b070f8784feaa5ad425affea553759ebdb8760dc7ad2a7de655a145a2cd098cb SHA512 d1088f7a6c4f6c00efc3fa57add1e12eb45784934520a1be1aa76442cf526a6d9cb5f69e7fe17b7193c89ff829136842568c00389aa3b9ed9e5638451689ca38
diff --git a/sci-physics/root/root-6.26.02.ebuild b/sci-physics/root/root-6.26.04.ebuild
similarity index 98%
rename from sci-physics/root/root-6.26.02.ebuild
rename to sci-physics/root/root-6.26.04.ebuild
index 304b7de69514..52029f018115 100644
--- a/sci-physics/root/root-6.26.02.ebuild
+++ b/sci-physics/root/root-6.26.04.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
@@ -209,7 +209,7 @@ src_configure() {
-Dcocoa=$(usex aqua)
-Dcuda=$(usex cuda)
-Dcudnn=$(usex cudnn)
- -Dcxxmodules=OFF # requires clang, unstable
+ -Dcxxmodules=OFF
-Ddataframe=ON
-Ddavix=$(usex davix)
-Ddcache=OFF
@@ -282,12 +282,6 @@ src_configure() {
cmake_src_configure
}
-src_compile() {
- # needed for hsimple.root
- addwrite /dev/random
- cmake_src_compile
-}
-
src_install() {
cmake_src_install
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-09-21 8:19 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2022-09-21 8:19 UTC (permalink / raw
To: gentoo-commits
commit: 28108eda36a70e799da71cc4fcf19ffcc3df03aa
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 21 07:30:08 2022 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Sep 21 08:19:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28108eda
sci-physics/root: version bump to 6.26.06
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.26.04.ebuild => root-6.26.06.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 2c2111d75879..bd5b98ce902d 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
DIST root_v6.24.06.source.tar.gz 185205236 BLAKE2B 6b3343ad8d86373de3abd328480eaa89825bca46ebb5ccc16ddcb8c1060fa023eeb8be3d1832e3ce2ad0beaafe66334f20ed8344ffb6df72d89c6622aa1c947a SHA512 356d6287df2900de9e831347d9513f444bf7cbd29c39fbb5841051ae877dac1e22dc255c64166cd3925b82aac860ae67ef6ce171732c16fd23d7919a47e7cb5a
-DIST root_v6.26.04.source.tar.gz 193717639 BLAKE2B ea8372221a2498c57cef8a23356bff06bae722c105d3ae926fefb6abd09c1d58b070f8784feaa5ad425affea553759ebdb8760dc7ad2a7de655a145a2cd098cb SHA512 d1088f7a6c4f6c00efc3fa57add1e12eb45784934520a1be1aa76442cf526a6d9cb5f69e7fe17b7193c89ff829136842568c00389aa3b9ed9e5638451689ca38
+DIST root_v6.26.06.source.tar.gz 195214157 BLAKE2B cb9f4b17f7eae36fbd728aa9c03a5705f5d05da0a9c0913fef6145d3fae4843f1a77b3f6251cd6cc322fa7ada4837c0be69aa53b2e1572c72e6e91d1b68aef47 SHA512 ae2b7396e0821adba6cad75346c0bfb1b7a0d4dd1cc4bc9b195c632358fe078949012b6269e55dabadc6ecd8c0fd6d819fa87099046d399ed00a45db56a879d4
diff --git a/sci-physics/root/root-6.26.04.ebuild b/sci-physics/root/root-6.26.06.ebuild
similarity index 100%
rename from sci-physics/root/root-6.26.04.ebuild
rename to sci-physics/root/root-6.26.06.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-09-21 8:19 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2022-09-21 8:19 UTC (permalink / raw
To: gentoo-commits
commit: a0ac0762cf8a5281a17ea294c94ecb64cd8b8f35
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 21 07:04:37 2022 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Sep 21 08:19:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0ac0762
sci-physics/root: restrict dependency on nlohmann_json, bug 872053
Closes: https://bugs.gentoo.org/872053
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.24.06-r2.ebuild | 2 +-
sci-physics/root/root-6.26.04.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/root-6.24.06-r2.ebuild b/sci-physics/root/root-6.24.06-r2.ebuild
index 521449068ccb..16f8551c4135 100644
--- a/sci-physics/root/root-6.24.06-r2.ebuild
+++ b/sci-physics/root/root-6.24.06-r2.ebuild
@@ -43,7 +43,7 @@ CDEPEND="
app-arch/zstd
app-arch/xz-utils
fortran? ( dev-lang/cfortran )
- dev-cpp/nlohmann_json
+ <dev-cpp/nlohmann_json-3.11
dev-libs/libpcre:3
dev-libs/xxhash
media-fonts/dejavu
diff --git a/sci-physics/root/root-6.26.04.ebuild b/sci-physics/root/root-6.26.04.ebuild
index 52029f018115..76dd06ff9af8 100644
--- a/sci-physics/root/root-6.26.04.ebuild
+++ b/sci-physics/root/root-6.26.04.ebuild
@@ -43,7 +43,7 @@ CDEPEND="
app-arch/zstd
app-arch/xz-utils
fortran? ( dev-lang/cfortran )
- dev-cpp/nlohmann_json
+ <dev-cpp/nlohmann_json-3.11
dev-libs/libpcre:3
dev-libs/xxhash
media-fonts/dejavu
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-10-14 12:48 Andrew Ammerlaan
0 siblings, 0 replies; 196+ messages in thread
From: Andrew Ammerlaan @ 2022-10-14 12:48 UTC (permalink / raw
To: gentoo-commits
commit: 849abfa7462eb192c4466bf1b3968e70d0f8c54f
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 14 12:47:06 2022 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Oct 14 12:48:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=849abfa7
sci-physics/root: sync live ebuilds
Tested python3_11, did not work :(
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
sci-physics/root/root-6.26.06.ebuild | 42 +++++++++++++++++++++++++---------
sci-physics/root/root-6.26.9999.ebuild | 8 ++++---
sci-physics/root/root-9999.ebuild | 8 ++++---
3 files changed, 41 insertions(+), 17 deletions(-)
diff --git a/sci-physics/root/root-6.26.06.ebuild b/sci-physics/root/root-6.26.06.ebuild
index 76dd06ff9af8..32cd50caca05 100644
--- a/sci-physics/root/root-6.26.06.ebuild
+++ b/sci-physics/root/root-6.26.06.ebuild
@@ -6,24 +6,37 @@ EAPI=8
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_{8..10} ) # python3_11 fails to compile
inherit cmake cuda elisp-common fortran-2 python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
IUSE="+X aqua +asimage 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 pythia6 pythia8 +python
qt5 R +roofit +root7 shadow sqlite +ssl +tbb test +tmva +unuran uring
vc +xml xrootd"
-RESTRICT="!test? ( test )"
+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="0"
+ else
+ SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+ EGIT_BRANCH="v$(ver_cut 1)-$(ver_cut 2)-00-patches"
+ fi
+else
+ SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
+ KEYWORDS="~amd64 ~x86"
+ SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
+fi
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
REQUIRED_USE="
^^ ( c++14 c++17 )
@@ -209,7 +222,7 @@ src_configure() {
-Dcocoa=$(usex aqua)
-Dcuda=$(usex cuda)
-Dcudnn=$(usex cudnn)
- -Dcxxmodules=OFF
+ -Dcxxmodules=OFF # requires clang, unstable
-Ddataframe=ON
-Ddavix=$(usex davix)
-Ddcache=OFF
@@ -286,7 +299,12 @@ src_install() {
cmake_src_install
ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
- ROOTENV="$((9999 - $(ver_cut 2)))${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"
@@ -314,8 +332,10 @@ src_install() {
fi
# create versioned symlinks for binaries
- cd bin;
- for exe in *; do
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
- done
+ 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
}
diff --git a/sci-physics/root/root-6.26.9999.ebuild b/sci-physics/root/root-6.26.9999.ebuild
index 246be36df972..c1dddda91e80 100644
--- a/sci-physics/root/root-6.26.9999.ebuild
+++ b/sci-physics/root/root-6.26.9999.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit cmake cuda elisp-common fortran-2 python-single-r1 toolchain-funcs
@@ -18,7 +18,8 @@ IUSE="+X aqua +asimage c++14 +c++17 cuda cudnn +davix debug emacs
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? ( test )"
+RESTRICT="test"
+PROPERTIES="test_network"
if [[ ${PV} =~ "9999" ]] ; then
inherit git-r3
@@ -30,6 +31,7 @@ if [[ ${PV} =~ "9999" ]] ; then
EGIT_BRANCH="v$(ver_cut 1)-$(ver_cut 2)-00-patches"
fi
else
+ SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
fi
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 295ee5f051f2..daec368e8ab8 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{8,9,10} )
+PYTHON_COMPAT=( python3_{8..10} )
inherit cmake cuda elisp-common fortran-2 python-single-r1 toolchain-funcs
@@ -18,7 +18,8 @@ IUSE="+X aqua +asimage c++11 c++14 +c++17 cuda cudnn +davix debug emacs
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"
-RESTRICT="!test? ( test )"
+RESTRICT="test"
+PROPERTIES="test_network"
if [[ ${PV} =~ "9999" ]] ; then
inherit git-r3
@@ -30,6 +31,7 @@ if [[ ${PV} =~ "9999" ]] ; then
EGIT_BRANCH="v$(ver_cut 1)-$(ver_cut 2)-00-patches"
fi
else
+ SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
KEYWORDS="~amd64 ~x86"
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
fi
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-10-20 8:44 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2022-10-20 8:44 UTC (permalink / raw
To: gentoo-commits
commit: 7a09d46e808342cca8e1b1f7adf055e0c529c97e
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 20 08:12:06 2022 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Oct 20 08:44:48 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a09d46e
sci-physics/root: add 6.26.08
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.26.06.ebuild => root-6.26.08.ebuild} | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index bd5b98ce902d..f679293281f0 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
DIST root_v6.24.06.source.tar.gz 185205236 BLAKE2B 6b3343ad8d86373de3abd328480eaa89825bca46ebb5ccc16ddcb8c1060fa023eeb8be3d1832e3ce2ad0beaafe66334f20ed8344ffb6df72d89c6622aa1c947a SHA512 356d6287df2900de9e831347d9513f444bf7cbd29c39fbb5841051ae877dac1e22dc255c64166cd3925b82aac860ae67ef6ce171732c16fd23d7919a47e7cb5a
-DIST root_v6.26.06.source.tar.gz 195214157 BLAKE2B cb9f4b17f7eae36fbd728aa9c03a5705f5d05da0a9c0913fef6145d3fae4843f1a77b3f6251cd6cc322fa7ada4837c0be69aa53b2e1572c72e6e91d1b68aef47 SHA512 ae2b7396e0821adba6cad75346c0bfb1b7a0d4dd1cc4bc9b195c632358fe078949012b6269e55dabadc6ecd8c0fd6d819fa87099046d399ed00a45db56a879d4
+DIST root_v6.26.08.source.tar.gz 195225434 BLAKE2B e96870b701fbf25dd01c6ab1e39c40ee8fdce9bc6e58d2a6f48a8b3eae71b9eab0cef9a7a229d56efc00eb0d50f218eb2b26a2786641a484e4a08196007409c7 SHA512 5e8f7c6cbe0335a123e8154570582fcdbb1b6ca55ffd63c06e4d2bb85a03bb1a6b827f299b8aabff6699458cbf6bfecf5e4806889c43520a1df2cea12dde387b
diff --git a/sci-physics/root/root-6.26.06.ebuild b/sci-physics/root/root-6.26.08.ebuild
similarity index 98%
rename from sci-physics/root/root-6.26.06.ebuild
rename to sci-physics/root/root-6.26.08.ebuild
index 32cd50caca05..a3a2a140ba5a 100644
--- a/sci-physics/root/root-6.26.06.ebuild
+++ b/sci-physics/root/root-6.26.08.ebuild
@@ -56,7 +56,7 @@ CDEPEND="
app-arch/zstd
app-arch/xz-utils
fortran? ( dev-lang/cfortran )
- <dev-cpp/nlohmann_json-3.11
+ dev-cpp/nlohmann_json
dev-libs/libpcre:3
dev-libs/xxhash
media-fonts/dejavu
@@ -167,6 +167,8 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_C_COMPILER="$(tc-getCC)"
-DCMAKE_CXX_COMPILER="$(tc-getCXX)"
+ -DLLVM_BUILD_TYPE=$(usex debug RelWithDebInfo Release)
+ -DCMAKE_BUILD_TYPE=$(usex debug RelWithDebInfo Release)
-DCMAKE_CUDA_HOST_COMPILER="$(tc-getCXX)"
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
@@ -291,7 +293,6 @@ src_configure() {
${EXTRA_ECONF}
)
- CMAKE_BUILD_TYPE=$(usex debug Debug Release) \
cmake_src_configure
}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-10-20 8:44 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2022-10-20 8:44 UTC (permalink / raw
To: gentoo-commits
commit: 8618b6527198f22ad945762023431fb9d0fbb7e7
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 20 08:20:43 2022 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Oct 20 08:44:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8618b652
sci-physics/root: update live ebuild for 6.26 branch
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.26.9999.ebuild | 11 +++--------
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/sci-physics/root/root-6.26.9999.ebuild b/sci-physics/root/root-6.26.9999.ebuild
index c1dddda91e80..a3a2a140ba5a 100644
--- a/sci-physics/root/root-6.26.9999.ebuild
+++ b/sci-physics/root/root-6.26.9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..10} ) # python3_11 fails to compile
inherit cmake cuda elisp-common fortran-2 python-single-r1 toolchain-funcs
@@ -167,6 +167,8 @@ src_configure() {
local mycmakeargs=(
-DCMAKE_C_COMPILER="$(tc-getCC)"
-DCMAKE_CXX_COMPILER="$(tc-getCXX)"
+ -DLLVM_BUILD_TYPE=$(usex debug RelWithDebInfo Release)
+ -DCMAKE_BUILD_TYPE=$(usex debug RelWithDebInfo Release)
-DCMAKE_CUDA_HOST_COMPILER="$(tc-getCXX)"
-DCMAKE_C_FLAGS="${CFLAGS}"
-DCMAKE_CXX_FLAGS="${CXXFLAGS}"
@@ -291,16 +293,9 @@ src_configure() {
${EXTRA_ECONF}
)
- CMAKE_BUILD_TYPE=$(usex debug Debug Release) \
cmake_src_configure
}
-src_compile() {
- # needed for hsimple.root
- addwrite /dev/random
- cmake_src_compile
-}
-
src_install() {
cmake_src_install
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2022-12-19 14:47 Andreas Sturmlechner
0 siblings, 0 replies; 196+ messages in thread
From: Andreas Sturmlechner @ 2022-12-19 14:47 UTC (permalink / raw
To: gentoo-commits
commit: e39a1c1de916d1cfb4e7f8afbca465fe1a298e15
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 18 12:37:10 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Dec 19 14:44:58 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e39a1c1d
sci-physics/root: drop 6.24.06-r2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
sci-physics/root/Manifest | 1 -
sci-physics/root/root-6.24.06-r2.ebuild | 323 --------------------------------
2 files changed, 324 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index f679293281f0..748eba465579 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1 @@
-DIST root_v6.24.06.source.tar.gz 185205236 BLAKE2B 6b3343ad8d86373de3abd328480eaa89825bca46ebb5ccc16ddcb8c1060fa023eeb8be3d1832e3ce2ad0beaafe66334f20ed8344ffb6df72d89c6622aa1c947a SHA512 356d6287df2900de9e831347d9513f444bf7cbd29c39fbb5841051ae877dac1e22dc255c64166cd3925b82aac860ae67ef6ce171732c16fd23d7919a47e7cb5a
DIST root_v6.26.08.source.tar.gz 195225434 BLAKE2B e96870b701fbf25dd01c6ab1e39c40ee8fdce9bc6e58d2a6f48a8b3eae71b9eab0cef9a7a229d56efc00eb0d50f218eb2b26a2786641a484e4a08196007409c7 SHA512 5e8f7c6cbe0335a123e8154570582fcdbb1b6ca55ffd63c06e4d2bb85a03bb1a6b827f299b8aabff6699458cbf6bfecf5e4806889c43520a1df2cea12dde387b
diff --git a/sci-physics/root/root-6.24.06-r2.ebuild b/sci-physics/root/root-6.24.06-r2.ebuild
deleted file mode 100644
index 16f8551c4135..000000000000
--- a/sci-physics/root/root-6.24.06-r2.ebuild
+++ /dev/null
@@ -1,323 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-# ninja does not work due to fortran
-CMAKE_MAKEFILE_GENERATOR=emake
-FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{8,9} )
-
-inherit cmake cuda elisp-common fortran-2 python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
-
-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"
-RESTRICT="!test? ( test )"
-
-SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-KEYWORDS="~amd64 ~x86"
-
-REQUIRED_USE="
- ^^ ( c++11 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 )
- uring? ( root7 )
-"
-
-CDEPEND="
- app-arch/lz4
- app-arch/zstd
- app-arch/xz-utils
- fortran? ( dev-lang/cfortran )
- <dev-cpp/nlohmann_json-3.11
- 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 )
- emacs? ( >=app-editors/emacs-23.1:* )
- 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}"
-
-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.
-# 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=(
- -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++11 || usev c++14 || usev c++17) | cut -c4-)
- -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}"
- -DCLING_BUILD_PLUGINS=OFF
- -Dasserts=OFF
- -Ddev=OFF
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dgnuinstall=OFF
- -Dshared=ON
- -Dsoversion=ON
- -Dbuiltin_llvm=ON
- -Dbuiltin_clang=ON
- -Dbuiltin_cling=ON
- -Dbuiltin_openui5=ON
- -Dbuiltin_afterimage=OFF
- -Dbuiltin_cfitsio=OFF
- -Dbuiltin_davix=OFF
- -Dbuiltin_fftw3=OFF
- -Dbuiltin_freetype=OFF
- -Dbuiltin_ftgl=OFF
- -Dbuiltin_gl2ps=OFF
- -Dbuiltin_glew=OFF
- -Dbuiltin_gsl=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_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
- -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)
- -Dlibcxx=$(usex libcxx)
- -Dmathmore=$(usex gsl)
- -Dmemstat=OFF # deprecated
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(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)
- -Dr=$(usex R)
- -Droofit=$(usex roofit)
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=OFF
- -Drpath=OFF
- -Druntime_cxxmodules=OFF
- -Dshadowpw=$(usex shadow)
- -Dspectrum=ON
- -Dsqlite=$(usex sqlite)
- -Dssl=$(usex ssl)
- -Dtcmalloc=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)
- -Dunuran=$(usex unuran)
- -During=$(usex uring)
- -Dvc=$(usex vc)
- -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
-}
-
-src_install() {
- cmake_src_install
-
- ROOTSYS=${EPREFIX}/usr/lib/${PN}/$(ver_cut 1-2)
- ROOTENV="$((9999 - $(ver_cut 2)))${PN}-$(ver_cut 1-2)"
-
- cat > ${ROOTENV} <<- EOF || die
- MANPATH="${ROOTSYS}/share/man"
- PATH="${ROOTSYS}/bin"
- ROOTPATH="${ROOTSYS}/bin"
- LDPATH="${ROOTSYS}/lib"
- EOF
-
- if use python; then
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- rm -r emacs bin/*.{csh,sh,fish} || die
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- # create versioned symlinks for binaries
- cd bin;
- for exe in *; do
- dosym "${exe}" "/usr/lib/${PN}/$(ver_cut 1-2)/bin/${exe}-$(ver_cut 1-2)"
- done
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-02-13 9:56 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-02-13 9:56 UTC (permalink / raw
To: gentoo-commits
commit: d45927e8345102ab02d24cdb037d271df8b17013
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 9 13:52:02 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 09:56:05 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d45927e8
sci-physics/root: version bump to 6.28.00
Closes: https://bugs.gentoo.org/882483
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.28.00.ebuild | 342 +++++++++++++++++++++++++++++++++++
2 files changed, 343 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 748eba465579..bf407b92e456 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1 +1,2 @@
DIST root_v6.26.08.source.tar.gz 195225434 BLAKE2B e96870b701fbf25dd01c6ab1e39c40ee8fdce9bc6e58d2a6f48a8b3eae71b9eab0cef9a7a229d56efc00eb0d50f218eb2b26a2786641a484e4a08196007409c7 SHA512 5e8f7c6cbe0335a123e8154570582fcdbb1b6ca55ffd63c06e4d2bb85a03bb1a6b827f299b8aabff6699458cbf6bfecf5e4806889c43520a1df2cea12dde387b
+DIST root_v6.28.00.source.tar.gz 185318916 BLAKE2B 12161f91e9875f62104f3c74f043191a3035bda1b31f8f36898cbae6cada4423c2179057c49cc01b52bdb66ffcc15c2c4be4322d7cf45b8bd1fb37f0c1dd568c SHA512 0ef842fce1e4afb5fb732ef480e6b62135404678f6f80b7605ecb9fbddf2981c6069086af7e42ede9e1310b6b0135cdfbcd93e701fbc7262f49e1f1737805617
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."
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-02-13 9:56 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-02-13 9:56 UTC (permalink / raw
To: gentoo-commits
commit: 4cf3d9955693efdf7c3f4f4fcff869886fbae6d8
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 9 13:45:35 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 09:56:05 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cf3d995
sci-physics/root: update live ebuild
- Better follow FHS
- Enable support for Python 3.11
- Change default to -Druntime_cxxmodules=ON
- Update with newly introduced build options (this is to avoid
changes in defaults affecting ebuilds).
- Drop emacs USE flag
- Add jupyter USE flag for installing dependencies needed for
enbling the C++ Jupyter notebooks provided by ROOT
- Update REQUIRED_USE for bug #882483
Bug: https://bugs.gentoo.org/666222
Bug: https://bugs.gentoo.org/882483
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 146 ++++++++++++++++++--------------------
1 file changed, 69 insertions(+), 77 deletions(-)
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."
}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-02-13 9:56 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-02-13 9:56 UTC (permalink / raw
To: gentoo-commits
commit: d0d44fca26b1a7ec370cbee712b586be4f3700bc
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 9 13:51:15 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 09:56:05 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0d44fca
sci-physics/root: add live ebuild for 6.28 branch
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.28.9999.ebuild | 342 +++++++++++++++++++++++++++++++++
1 file changed, 342 insertions(+)
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."
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-02-13 9:56 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-02-13 9:56 UTC (permalink / raw
To: gentoo-commits
commit: 786e9485cad5669b873840bb5874b9bbd58f15b3
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 9 13:41:30 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 09:56:04 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786e9485
sci-physics/root: update metadata.xml
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/metadata.xml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
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 @@
</longdescription>
<use>
<flag name="asimage">Enable support for <pkg>media-libs/libafterimage</pkg></flag>
- <flag name="c++11">Build using the C++11 standard</flag>
<flag name="c++14">Build using the C++14 standard</flag>
<flag name="c++17">Build using the C++17 standard</flag>
<flag name="cuda">Enable support for nVidia CUDA</flag>
@@ -31,6 +30,7 @@
<flag name="fortran">Compile included Fortran programs</flag>
<flag name="gdml">Enable GDML writer and reader</flag>
<flag name="http">Enable http server support including but not limited to fastcgi support</flag>
+ <flag name="jupyter">Install dependencies to enable ROOT's C++ kernel in Jupyter notebooks</flag>
<flag name="libcxx">Build ROOT against <pkg>sys-libs/libcxx</pkg></flag>
<flag name="minuit">Build ROOT's internal versions of minuit (fortran) and minuit2 (C++)</flag>
<flag name="pythia6">Build the interface for <pkg>sci-physics/pythia</pkg> version 6.x </flag>
@@ -44,7 +44,6 @@
<flag name="unuran">Enable support for <pkg>sci-mathematics/unuran</pkg></flag>
<flag name="uring">Enable support for <pkg>sys-libs/liburing</pkg> in RNTuple</flag>
<flag name="vc">Enable support for <pkg>dev-libs/vc</pkg> with VecCore</flag>
- <flag name="vmc">Built the Virtual Monte Carlo library</flag>
<flag name="xrootd">Build the interface for <pkg>net-libs/xrootd</pkg> </flag>
</use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-02-13 9:56 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-02-13 9:56 UTC (permalink / raw
To: gentoo-commits
commit: f9fe7e4659ba14f6a2d0ab612fd9b42567f6c086
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 9 13:58:12 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Feb 13 09:56:05 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9fe7e46
sci-physics/root: fix bug 882483
Closes: https://bugs.gentoo.org/882483
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.26.08.ebuild | 2 +-
sci-physics/root/root-6.26.9999.ebuild | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
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 )
"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-02-24 16:37 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-02-24 16:37 UTC (permalink / raw
To: gentoo-commits
commit: 74f4e6aae68b7ef3e4764a6bfd81b1c02a786e9c
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 24 16:34:36 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 16:37:13 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74f4e6aa
sci-physics/root: quote ${EXTRA_ECONF}
Without this it's not possible to pass CXXFLAGS with spaces
to CMake with e.g. EXTRA_ECONF='-DCMAKE_CXX_FLAGS="-O2 -g"'.
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
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 | 2 +-
sci-physics/root/root-6.28.9999.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/sci-physics/root/root-6.26.08.ebuild b/sci-physics/root/root-6.26.08.ebuild
index 2d2e1c21374b..ec8f9983775c 100644
--- a/sci-physics/root/root-6.26.08.ebuild
+++ b/sci-physics/root/root-6.26.08.ebuild
@@ -290,7 +290,7 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
- ${EXTRA_ECONF}
+ "${EXTRA_ECONF}"
)
cmake_src_configure
diff --git a/sci-physics/root/root-6.26.9999.ebuild b/sci-physics/root/root-6.26.9999.ebuild
index 2d2e1c21374b..ec8f9983775c 100644
--- a/sci-physics/root/root-6.26.9999.ebuild
+++ b/sci-physics/root/root-6.26.9999.ebuild
@@ -290,7 +290,7 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
- ${EXTRA_ECONF}
+ "${EXTRA_ECONF}"
)
cmake_src_configure
diff --git a/sci-physics/root/root-6.28.00.ebuild b/sci-physics/root/root-6.28.00.ebuild
index 84fee8efa756..e25434a11de7 100644
--- a/sci-physics/root/root-6.28.00.ebuild
+++ b/sci-physics/root/root-6.28.00.ebuild
@@ -307,7 +307,7 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
- ${EXTRA_ECONF}
+ "${EXTRA_ECONF}"
)
# Needs to be here, otherwise gets overriden by cmake.eclass
diff --git a/sci-physics/root/root-6.28.9999.ebuild b/sci-physics/root/root-6.28.9999.ebuild
index 84fee8efa756..e25434a11de7 100644
--- a/sci-physics/root/root-6.28.9999.ebuild
+++ b/sci-physics/root/root-6.28.9999.ebuild
@@ -307,7 +307,7 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
- ${EXTRA_ECONF}
+ "${EXTRA_ECONF}"
)
# Needs to be here, otherwise gets overriden by cmake.eclass
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 84fee8efa756..e25434a11de7 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -307,7 +307,7 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
- ${EXTRA_ECONF}
+ "${EXTRA_ECONF}"
)
# Needs to be here, otherwise gets overriden by cmake.eclass
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-02-28 10:47 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-02-28 10:47 UTC (permalink / raw
To: gentoo-commits
commit: a20cfd13e6d1730e14576ea02e412e38d34135ee
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 28 10:44:13 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 10:47:43 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a20cfd13
sci-physics/root: rely on MYCMAKEARGS from cmake.eclass
Closes: https://bugs.gentoo.org/897900
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.26.08.ebuild | 5 ++---
sci-physics/root/root-6.26.9999.ebuild | 5 ++---
sci-physics/root/root-6.28.00.ebuild | 5 ++---
sci-physics/root/root-6.28.9999.ebuild | 5 ++---
sci-physics/root/root-9999.ebuild | 5 ++---
5 files changed, 10 insertions(+), 15 deletions(-)
diff --git a/sci-physics/root/root-6.26.08.ebuild b/sci-physics/root/root-6.26.08.ebuild
index ec8f9983775c..c83e19af3636 100644
--- a/sci-physics/root/root-6.26.08.ebuild
+++ b/sci-physics/root/root-6.26.08.ebuild
@@ -139,9 +139,9 @@ 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 "You can use the environment variable MYCMAKEARGS to enable"
elog "these packages. For example, for Vdt you would set:"
- elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
+ elog "MYCMAKEARGS=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
}
src_prepare() {
@@ -290,7 +290,6 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
- "${EXTRA_ECONF}"
)
cmake_src_configure
diff --git a/sci-physics/root/root-6.26.9999.ebuild b/sci-physics/root/root-6.26.9999.ebuild
index ec8f9983775c..c83e19af3636 100644
--- a/sci-physics/root/root-6.26.9999.ebuild
+++ b/sci-physics/root/root-6.26.9999.ebuild
@@ -139,9 +139,9 @@ 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 "You can use the environment variable MYCMAKEARGS to enable"
elog "these packages. For example, for Vdt you would set:"
- elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
+ elog "MYCMAKEARGS=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
}
src_prepare() {
@@ -290,7 +290,6 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
- "${EXTRA_ECONF}"
)
cmake_src_configure
diff --git a/sci-physics/root/root-6.28.00.ebuild b/sci-physics/root/root-6.28.00.ebuild
index e25434a11de7..473a60acd759 100644
--- a/sci-physics/root/root-6.28.00.ebuild
+++ b/sci-physics/root/root-6.28.00.ebuild
@@ -143,9 +143,9 @@ 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 "You can use the environment variable MYCMAKEARGS to enable"
elog "these packages. For example, for Vdt you would set:"
- elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
+ elog "MYCMAKEARGS=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
}
src_prepare() {
@@ -307,7 +307,6 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
- "${EXTRA_ECONF}"
)
# Needs to be here, otherwise gets overriden by cmake.eclass
diff --git a/sci-physics/root/root-6.28.9999.ebuild b/sci-physics/root/root-6.28.9999.ebuild
index e25434a11de7..473a60acd759 100644
--- a/sci-physics/root/root-6.28.9999.ebuild
+++ b/sci-physics/root/root-6.28.9999.ebuild
@@ -143,9 +143,9 @@ 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 "You can use the environment variable MYCMAKEARGS to enable"
elog "these packages. For example, for Vdt you would set:"
- elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
+ elog "MYCMAKEARGS=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
}
src_prepare() {
@@ -307,7 +307,6 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
- "${EXTRA_ECONF}"
)
# Needs to be here, otherwise gets overriden by cmake.eclass
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index e25434a11de7..473a60acd759 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -143,9 +143,9 @@ 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 "You can use the environment variable MYCMAKEARGS to enable"
elog "these packages. For example, for Vdt you would set:"
- elog "EXTRA_ECONF=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
+ elog "MYCMAKEARGS=\"-Dbuiltin_vdt=ON -Dvdt=ON\""
}
src_prepare() {
@@ -307,7 +307,6 @@ src_configure() {
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
- "${EXTRA_ECONF}"
)
# Needs to be here, otherwise gets overriden by cmake.eclass
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-03-24 15:39 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-03-24 15:39 UTC (permalink / raw
To: gentoo-commits
commit: c0a106f2383b125281a636f51c393fd0d594bdef
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 15:22:22 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Mar 24 15:38:50 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0a106f2
sci-physics/root: add 6.28.02
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.28.02.ebuild | 341 +++++++++++++++++++++++++++++++++++
2 files changed, 342 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index bf407b92e456..ad7f00e7f038 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,3 @@
DIST root_v6.26.08.source.tar.gz 195225434 BLAKE2B e96870b701fbf25dd01c6ab1e39c40ee8fdce9bc6e58d2a6f48a8b3eae71b9eab0cef9a7a229d56efc00eb0d50f218eb2b26a2786641a484e4a08196007409c7 SHA512 5e8f7c6cbe0335a123e8154570582fcdbb1b6ca55ffd63c06e4d2bb85a03bb1a6b827f299b8aabff6699458cbf6bfecf5e4806889c43520a1df2cea12dde387b
DIST root_v6.28.00.source.tar.gz 185318916 BLAKE2B 12161f91e9875f62104f3c74f043191a3035bda1b31f8f36898cbae6cada4423c2179057c49cc01b52bdb66ffcc15c2c4be4322d7cf45b8bd1fb37f0c1dd568c SHA512 0ef842fce1e4afb5fb732ef480e6b62135404678f6f80b7605ecb9fbddf2981c6069086af7e42ede9e1310b6b0135cdfbcd93e701fbc7262f49e1f1737805617
+DIST root_v6.28.02.source.tar.gz 185323243 BLAKE2B e35b925525bfaa1eb3ab61003a0f91377baf60da0fb0d46e542601757252ec99597391049a5d19bde060f6ce2be8d1c4c81116436591377840d0749755ff232a SHA512 03928abb307cfbb00a4a66086fecd9de36c0021cd071e5391369260b876eef1a5037771a01889e3a2a4fafe55c54f9d8e99840b069efd910a5d7ac1f564f3753
diff --git a/sci-physics/root/root-6.28.02.ebuild b/sci-physics/root/root-6.28.02.ebuild
new file mode 100644
index 000000000000..473a60acd759
--- /dev/null
+++ b/sci-physics/root/root-6.28.02.ebuild
@@ -0,0 +1,341 @@
+# 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 MYCMAKEARGS to enable"
+ elog "these packages. For example, for Vdt you would set:"
+ elog "MYCMAKEARGS=\"-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)
+ )
+
+ # 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."
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-05-17 14:59 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-05-17 14:59 UTC (permalink / raw
To: gentoo-commits
commit: f727f19e7880acf3884ff1ca916e234f933d6ba9
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon May 15 11:26:21 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed May 17 14:58:51 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f727f19e
sci-physics/root: add 6.28.04
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.28.04.ebuild | 341 +++++++++++++++++++++++++++++++++++
2 files changed, 342 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index ad7f00e7f038..4efeb1aad7c2 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,3 +1,4 @@
DIST root_v6.26.08.source.tar.gz 195225434 BLAKE2B e96870b701fbf25dd01c6ab1e39c40ee8fdce9bc6e58d2a6f48a8b3eae71b9eab0cef9a7a229d56efc00eb0d50f218eb2b26a2786641a484e4a08196007409c7 SHA512 5e8f7c6cbe0335a123e8154570582fcdbb1b6ca55ffd63c06e4d2bb85a03bb1a6b827f299b8aabff6699458cbf6bfecf5e4806889c43520a1df2cea12dde387b
DIST root_v6.28.00.source.tar.gz 185318916 BLAKE2B 12161f91e9875f62104f3c74f043191a3035bda1b31f8f36898cbae6cada4423c2179057c49cc01b52bdb66ffcc15c2c4be4322d7cf45b8bd1fb37f0c1dd568c SHA512 0ef842fce1e4afb5fb732ef480e6b62135404678f6f80b7605ecb9fbddf2981c6069086af7e42ede9e1310b6b0135cdfbcd93e701fbc7262f49e1f1737805617
DIST root_v6.28.02.source.tar.gz 185323243 BLAKE2B e35b925525bfaa1eb3ab61003a0f91377baf60da0fb0d46e542601757252ec99597391049a5d19bde060f6ce2be8d1c4c81116436591377840d0749755ff232a SHA512 03928abb307cfbb00a4a66086fecd9de36c0021cd071e5391369260b876eef1a5037771a01889e3a2a4fafe55c54f9d8e99840b069efd910a5d7ac1f564f3753
+DIST root_v6.28.04.source.tar.gz 185345719 BLAKE2B 17e5714216dfbfece0e901abf6ed4c986c9efb3e63a57dd214d04af3851b3af8b58a5dffa89320a9a1061c506c71ad1091f358d83c352585c0f48f33eb5613ec SHA512 418df1d7346c65c37a5a5e646ba3980bce14590136b558a4951a9874f98c276e590ce84d27a0e9d8b8919615e33e09d1eb96af6ff954e5b311e545d86292c5d4
diff --git a/sci-physics/root/root-6.28.04.ebuild b/sci-physics/root/root-6.28.04.ebuild
new file mode 100644
index 000000000000..473a60acd759
--- /dev/null
+++ b/sci-physics/root/root-6.28.04.ebuild
@@ -0,0 +1,341 @@
+# 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 MYCMAKEARGS to enable"
+ elog "these packages. For example, for Vdt you would set:"
+ elog "MYCMAKEARGS=\"-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)
+ )
+
+ # 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."
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-05-17 14:59 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-05-17 14:59 UTC (permalink / raw
To: gentoo-commits
commit: 775ad762a8f53222e3dc9052ffde78b322481f54
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon May 15 11:26:52 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed May 17 14:58:52 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=775ad762
sci-physics/root: drop 6.26.08, 6.26.9999, 6.28.00
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 -
sci-physics/root/root-6.26.08.ebuild | 341 ---------------------------------
sci-physics/root/root-6.26.9999.ebuild | 341 ---------------------------------
sci-physics/root/root-6.28.00.ebuild | 341 ---------------------------------
4 files changed, 1025 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 4efeb1aad7c2..bf6ceed9d05c 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,4 +1,2 @@
-DIST root_v6.26.08.source.tar.gz 195225434 BLAKE2B e96870b701fbf25dd01c6ab1e39c40ee8fdce9bc6e58d2a6f48a8b3eae71b9eab0cef9a7a229d56efc00eb0d50f218eb2b26a2786641a484e4a08196007409c7 SHA512 5e8f7c6cbe0335a123e8154570582fcdbb1b6ca55ffd63c06e4d2bb85a03bb1a6b827f299b8aabff6699458cbf6bfecf5e4806889c43520a1df2cea12dde387b
-DIST root_v6.28.00.source.tar.gz 185318916 BLAKE2B 12161f91e9875f62104f3c74f043191a3035bda1b31f8f36898cbae6cada4423c2179057c49cc01b52bdb66ffcc15c2c4be4322d7cf45b8bd1fb37f0c1dd568c SHA512 0ef842fce1e4afb5fb732ef480e6b62135404678f6f80b7605ecb9fbddf2981c6069086af7e42ede9e1310b6b0135cdfbcd93e701fbc7262f49e1f1737805617
DIST root_v6.28.02.source.tar.gz 185323243 BLAKE2B e35b925525bfaa1eb3ab61003a0f91377baf60da0fb0d46e542601757252ec99597391049a5d19bde060f6ce2be8d1c4c81116436591377840d0749755ff232a SHA512 03928abb307cfbb00a4a66086fecd9de36c0021cd071e5391369260b876eef1a5037771a01889e3a2a4fafe55c54f9d8e99840b069efd910a5d7ac1f564f3753
DIST root_v6.28.04.source.tar.gz 185345719 BLAKE2B 17e5714216dfbfece0e901abf6ed4c986c9efb3e63a57dd214d04af3851b3af8b58a5dffa89320a9a1061c506c71ad1091f358d83c352585c0f48f33eb5613ec SHA512 418df1d7346c65c37a5a5e646ba3980bce14590136b558a4951a9874f98c276e590ce84d27a0e9d8b8919615e33e09d1eb96af6ff954e5b311e545d86292c5d4
diff --git a/sci-physics/root/root-6.26.08.ebuild b/sci-physics/root/root-6.26.08.ebuild
deleted file mode 100644
index c83e19af3636..000000000000
--- a/sci-physics/root/root-6.26.08.ebuild
+++ /dev/null
@@ -1,341 +0,0 @@
-# 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..10} ) # python3_11 fails to compile
-
-inherit cmake cuda elisp-common 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 emacs
- +examples fits fftw fortran +gdml graphviz +gsl http 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="0"
- else
- SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
- EGIT_BRANCH="v$(ver_cut 1)-$(ver_cut 2)-00-patches"
- fi
-else
- SLOT="$(ver_cut 1-2)/$(ver_cut 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 )
- emacs? ( >=app-editors/emacs-23.1:* )
- 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}"
-
-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 MYCMAKEARGS to enable"
- elog "these packages. For example, for Vdt you would set:"
- elog "MYCMAKEARGS=\"-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.
-# 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=(
- -DCMAKE_C_COMPILER="$(tc-getCC)"
- -DCMAKE_CXX_COMPILER="$(tc-getCXX)"
- -DLLVM_BUILD_TYPE=$(usex debug RelWithDebInfo Release)
- -DCMAKE_BUILD_TYPE=$(usex debug RelWithDebInfo Release)
- -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-)
- -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}"
- -DCLING_BUILD_PLUGINS=OFF
- -Dasserts=OFF
- -Ddev=OFF
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dgnuinstall=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_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
- -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
- -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)
- -Dlibcxx=$(usex libcxx)
- -Dmathmore=$(usex gsl)
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(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
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=OFF
- -Drpath=OFF
- -Druntime_cxxmodules=OFF
- -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)
- )
-
- 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"
- EOF
-
- if use python; then
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- rm -r emacs bin/*.{csh,sh,fish} || die
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- # 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
-}
diff --git a/sci-physics/root/root-6.26.9999.ebuild b/sci-physics/root/root-6.26.9999.ebuild
deleted file mode 100644
index c83e19af3636..000000000000
--- a/sci-physics/root/root-6.26.9999.ebuild
+++ /dev/null
@@ -1,341 +0,0 @@
-# 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..10} ) # python3_11 fails to compile
-
-inherit cmake cuda elisp-common 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 emacs
- +examples fits fftw fortran +gdml graphviz +gsl http 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="0"
- else
- SLOT="$(ver_cut 1-2)/$(ver_cut 3)"
- EGIT_BRANCH="v$(ver_cut 1)-$(ver_cut 2)-00-patches"
- fi
-else
- SLOT="$(ver_cut 1-2)/$(ver_cut 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 )
- emacs? ( >=app-editors/emacs-23.1:* )
- 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}"
-
-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 MYCMAKEARGS to enable"
- elog "these packages. For example, for Vdt you would set:"
- elog "MYCMAKEARGS=\"-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.
-# 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=(
- -DCMAKE_C_COMPILER="$(tc-getCC)"
- -DCMAKE_CXX_COMPILER="$(tc-getCXX)"
- -DLLVM_BUILD_TYPE=$(usex debug RelWithDebInfo Release)
- -DCMAKE_BUILD_TYPE=$(usex debug RelWithDebInfo Release)
- -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-)
- -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}"
- -DCLING_BUILD_PLUGINS=OFF
- -Dasserts=OFF
- -Ddev=OFF
- -Dexceptions=ON
- -Dfail-on-missing=ON
- -Dgnuinstall=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_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
- -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
- -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)
- -Dlibcxx=$(usex libcxx)
- -Dmathmore=$(usex gsl)
- -Dminimal=OFF
- -Dminuit2=$(usex minuit)
- -Dminuit=$(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
- -Droot7=$(usex root7)
- -Drootbench=OFF
- -Droottest=OFF
- -Drpath=OFF
- -Druntime_cxxmodules=OFF
- -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)
- )
-
- 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"
- EOF
-
- if use python; then
- echo "PYTHONPATH=\"${ROOTSYS}/lib\"" >> ${ROOTENV} || die
- fi
-
- doenvd ${ROOTENV}
-
- if use emacs; then
- elisp-install ${PN}-$(ver_cut 1-2) "${BUILD_DIR}"/root-help.el
- fi
-
- pushd "${D}/${ROOTSYS}" > /dev/null
-
- rm -r emacs bin/*.{csh,sh,fish} || die
-
- if ! use examples; then
- rm -r tutorials || die
- fi
-
- # 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
-}
diff --git a/sci-physics/root/root-6.28.00.ebuild b/sci-physics/root/root-6.28.00.ebuild
deleted file mode 100644
index 473a60acd759..000000000000
--- a/sci-physics/root/root-6.28.00.ebuild
+++ /dev/null
@@ -1,341 +0,0 @@
-# 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 MYCMAKEARGS to enable"
- elog "these packages. For example, for Vdt you would set:"
- elog "MYCMAKEARGS=\"-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)
- )
-
- # 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."
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-05-17 14:59 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-05-17 14:59 UTC (permalink / raw
To: gentoo-commits
commit: e5f918b101d984686e17e5648f6b0d7d9bd354ec
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon May 15 07:03:24 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed May 17 14:58:48 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5f918b1
sci-physics/root: add github upstream metadata
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/metadata.xml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml
index af031f611c84..0ce5b7e0cb6a 100644
--- a/sci-physics/root/metadata.xml
+++ b/sci-physics/root/metadata.xml
@@ -19,6 +19,9 @@
classes for statistics, serialization, optimization, linear algebra,
graphics, GUI toolkit, and a complete visualization framework.
</longdescription>
+ <upstream>
+ <remote-id type="github">root-project/root</remote-id>
+ </upstream>
<use>
<flag name="asimage">Enable support for <pkg>media-libs/libafterimage</pkg></flag>
<flag name="c++14">Build using the C++14 standard</flag>
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-09-11 11:46 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-09-11 11:46 UTC (permalink / raw
To: gentoo-commits
commit: 3eadc14ff0e8063575938e7aa2010c8bb6f3c342
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 11 11:44:18 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Sep 11 11:45:34 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eadc14f
sci-physics/root: add 6.28.06, drop 6.28.04
Closes: https://bugs.gentoo.org/910540
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.28.04.ebuild => root-6.28.06.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index bf6ceed9d05c..646c19608a59 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
DIST root_v6.28.02.source.tar.gz 185323243 BLAKE2B e35b925525bfaa1eb3ab61003a0f91377baf60da0fb0d46e542601757252ec99597391049a5d19bde060f6ce2be8d1c4c81116436591377840d0749755ff232a SHA512 03928abb307cfbb00a4a66086fecd9de36c0021cd071e5391369260b876eef1a5037771a01889e3a2a4fafe55c54f9d8e99840b069efd910a5d7ac1f564f3753
-DIST root_v6.28.04.source.tar.gz 185345719 BLAKE2B 17e5714216dfbfece0e901abf6ed4c986c9efb3e63a57dd214d04af3851b3af8b58a5dffa89320a9a1061c506c71ad1091f358d83c352585c0f48f33eb5613ec SHA512 418df1d7346c65c37a5a5e646ba3980bce14590136b558a4951a9874f98c276e590ce84d27a0e9d8b8919615e33e09d1eb96af6ff954e5b311e545d86292c5d4
+DIST root_v6.28.06.source.tar.gz 185351574 BLAKE2B 79d05cae3ecd4b0f1af0c2a9955470af2aafc7ef28a93440be8fd54df857afa6ee9cb9444a0fe68ae81c3820dcac1e6ba8fd4d4c43799fce278fa13b7a941714 SHA512 1df6ae0c68ead84d00a749cbb4b7aa13dced9c026c572151cc9873973ece5c9941da4351218251c76e07a89c1522fd39627a9c7614e68074f63a05857f3c7bc1
diff --git a/sci-physics/root/root-6.28.04.ebuild b/sci-physics/root/root-6.28.06.ebuild
similarity index 100%
rename from sci-physics/root/root-6.28.04.ebuild
rename to sci-physics/root/root-6.28.06.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-09-26 7:28 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-09-26 7:28 UTC (permalink / raw
To: gentoo-commits
commit: c38acddb63e3ba7361770d94d1982dd70926d63f
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 19 14:25:31 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Sep 26 07:28:04 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c38acddb
sci-physics/root: USE=roofit depends on USE=minuit
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.28.02.ebuild | 1 +
sci-physics/root/root-6.28.06.ebuild | 1 +
sci-physics/root/root-6.28.9999.ebuild | 1 +
sci-physics/root/root-9999.ebuild | 1 +
4 files changed, 4 insertions(+)
diff --git a/sci-physics/root/root-6.28.02.ebuild b/sci-physics/root/root-6.28.02.ebuild
index 473a60acd759..b932f01df503 100644
--- a/sci-physics/root/root-6.28.02.ebuild
+++ b/sci-physics/root/root-6.28.02.ebuild
@@ -45,6 +45,7 @@ REQUIRED_USE="
davix? ( ssl xml )
python? ( ${PYTHON_REQUIRED_USE} )
qt5? ( root7 )
+ roofit? ( minuit )
root7? ( || ( c++17 ) )
tmva? ( gsl python )
uring? ( root7 )
diff --git a/sci-physics/root/root-6.28.06.ebuild b/sci-physics/root/root-6.28.06.ebuild
index 473a60acd759..b932f01df503 100644
--- a/sci-physics/root/root-6.28.06.ebuild
+++ b/sci-physics/root/root-6.28.06.ebuild
@@ -45,6 +45,7 @@ REQUIRED_USE="
davix? ( ssl xml )
python? ( ${PYTHON_REQUIRED_USE} )
qt5? ( root7 )
+ roofit? ( minuit )
root7? ( || ( c++17 ) )
tmva? ( gsl python )
uring? ( root7 )
diff --git a/sci-physics/root/root-6.28.9999.ebuild b/sci-physics/root/root-6.28.9999.ebuild
index 473a60acd759..b932f01df503 100644
--- a/sci-physics/root/root-6.28.9999.ebuild
+++ b/sci-physics/root/root-6.28.9999.ebuild
@@ -45,6 +45,7 @@ REQUIRED_USE="
davix? ( ssl xml )
python? ( ${PYTHON_REQUIRED_USE} )
qt5? ( root7 )
+ roofit? ( minuit )
root7? ( || ( c++17 ) )
tmva? ( gsl python )
uring? ( root7 )
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 473a60acd759..b932f01df503 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -45,6 +45,7 @@ REQUIRED_USE="
davix? ( ssl xml )
python? ( ${PYTHON_REQUIRED_USE} )
qt5? ( root7 )
+ roofit? ( minuit )
root7? ( || ( c++17 ) )
tmva? ( gsl python )
uring? ( root7 )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-10-27 6:56 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-10-27 6:56 UTC (permalink / raw
To: gentoo-commits
commit: a17be6dbce080dd436611b3cd6be76480a1c569e
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 26 07:13:29 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Oct 27 06:42:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a17be6db
sci-physics/root: add 6.28.08
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.28.08.ebuild | 342 +++++++++++++++++++++++++++++++++++
2 files changed, 343 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index fcdf1f5b5a42..6dcb6faa0b66 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1 +1,2 @@
DIST root_v6.28.06.source.tar.gz 185351574 BLAKE2B 79d05cae3ecd4b0f1af0c2a9955470af2aafc7ef28a93440be8fd54df857afa6ee9cb9444a0fe68ae81c3820dcac1e6ba8fd4d4c43799fce278fa13b7a941714 SHA512 1df6ae0c68ead84d00a749cbb4b7aa13dced9c026c572151cc9873973ece5c9941da4351218251c76e07a89c1522fd39627a9c7614e68074f63a05857f3c7bc1
+DIST root_v6.28.08.source.tar.gz 185350391 BLAKE2B 1fa0ea4d214aa021403f5111df9719aa3b22780420e121a74b740f89d4924d3ff7ae50563d7f08147e57b082885b7bb9707e389324919150382ec6dd2b70cf50 SHA512 58d0980557fc80388f52914762fe6ddad1307ebcd5a0b90b2b13ec8fbeba7546185ac24345a3375a6b46f253ce2f00ce4646d5bdb925b117c12d29d95d2a265b
diff --git a/sci-physics/root/root-6.28.08.ebuild b/sci-physics/root/root-6.28.08.ebuild
new file mode 100644
index 000000000000..b932f01df503
--- /dev/null
+++ b/sci-physics/root/root-6.28.08.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 )
+ roofit? ( minuit )
+ 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 MYCMAKEARGS to enable"
+ elog "these packages. For example, for Vdt you would set:"
+ elog "MYCMAKEARGS=\"-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)
+ )
+
+ # 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."
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-10-27 6:56 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-10-27 6:56 UTC (permalink / raw
To: gentoo-commits
commit: cab2a867fc278dad693ef6db49bb595e2d97de41
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 26 07:12:55 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Oct 27 06:42:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cab2a867
sci-physics/root: drop 6.28.02
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 -
sci-physics/root/root-6.28.02.ebuild | 342 -----------------------------------
2 files changed, 343 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 646c19608a59..fcdf1f5b5a42 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1 @@
-DIST root_v6.28.02.source.tar.gz 185323243 BLAKE2B e35b925525bfaa1eb3ab61003a0f91377baf60da0fb0d46e542601757252ec99597391049a5d19bde060f6ce2be8d1c4c81116436591377840d0749755ff232a SHA512 03928abb307cfbb00a4a66086fecd9de36c0021cd071e5391369260b876eef1a5037771a01889e3a2a4fafe55c54f9d8e99840b069efd910a5d7ac1f564f3753
DIST root_v6.28.06.source.tar.gz 185351574 BLAKE2B 79d05cae3ecd4b0f1af0c2a9955470af2aafc7ef28a93440be8fd54df857afa6ee9cb9444a0fe68ae81c3820dcac1e6ba8fd4d4c43799fce278fa13b7a941714 SHA512 1df6ae0c68ead84d00a749cbb4b7aa13dced9c026c572151cc9873973ece5c9941da4351218251c76e07a89c1522fd39627a9c7614e68074f63a05857f3c7bc1
diff --git a/sci-physics/root/root-6.28.02.ebuild b/sci-physics/root/root-6.28.02.ebuild
deleted file mode 100644
index b932f01df503..000000000000
--- a/sci-physics/root/root-6.28.02.ebuild
+++ /dev/null
@@ -1,342 +0,0 @@
-# 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 )
- roofit? ( minuit )
- 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 MYCMAKEARGS to enable"
- elog "these packages. For example, for Vdt you would set:"
- elog "MYCMAKEARGS=\"-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)
- )
-
- # 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."
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-10-30 7:58 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-10-30 7:58 UTC (permalink / raw
To: gentoo-commits
commit: ff1c1c7f9f95de9f944bf025d6e7f372a648ccfb
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 30 07:50:18 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Oct 30 07:56:55 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff1c1c7f
sci-physics/root: update dependency on dev-libs/vc, bug #916489
Closes: https://bugs.gentoo.org/916489
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.28.08.ebuild | 2 +-
sci-physics/root/root-6.28.9999.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sci-physics/root/root-6.28.08.ebuild b/sci-physics/root/root-6.28.08.ebuild
index b932f01df503..55b17a5b6b13 100644
--- a/sci-physics/root/root-6.28.08.ebuild
+++ b/sci-physics/root/root-6.28.08.ebuild
@@ -119,7 +119,7 @@ CDEPEND="
')
)
uring? ( sys-libs/liburing:= )
- vc? ( dev-libs/vc:= )
+ vc? ( >=dev-libs/vc-1.4.4:= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
"
diff --git a/sci-physics/root/root-6.28.9999.ebuild b/sci-physics/root/root-6.28.9999.ebuild
index b932f01df503..55b17a5b6b13 100644
--- a/sci-physics/root/root-6.28.9999.ebuild
+++ b/sci-physics/root/root-6.28.9999.ebuild
@@ -119,7 +119,7 @@ CDEPEND="
')
)
uring? ( sys-libs/liburing:= )
- vc? ( dev-libs/vc:= )
+ vc? ( >=dev-libs/vc-1.4.4:= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
"
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index b932f01df503..55b17a5b6b13 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -119,7 +119,7 @@ CDEPEND="
')
)
uring? ( sys-libs/liburing:= )
- vc? ( dev-libs/vc:= )
+ vc? ( >=dev-libs/vc-1.4.4:= )
xml? ( dev-libs/libxml2:2= )
xrootd? ( net-libs/xrootd:0= )
"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-11-14 15:13 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-11-14 15:13 UTC (permalink / raw
To: gentoo-commits
commit: 30d78cf4fbc20b3659b82ad6da6a3b472c2ecddd
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 14 12:27:04 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Nov 14 15:13:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30d78cf4
sci-physics/root: drop 6.28.06
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 -
sci-physics/root/root-6.28.06.ebuild | 342 -----------------------------------
2 files changed, 343 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 6dcb6faa0b66..d6544954d1bf 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1 @@
-DIST root_v6.28.06.source.tar.gz 185351574 BLAKE2B 79d05cae3ecd4b0f1af0c2a9955470af2aafc7ef28a93440be8fd54df857afa6ee9cb9444a0fe68ae81c3820dcac1e6ba8fd4d4c43799fce278fa13b7a941714 SHA512 1df6ae0c68ead84d00a749cbb4b7aa13dced9c026c572151cc9873973ece5c9941da4351218251c76e07a89c1522fd39627a9c7614e68074f63a05857f3c7bc1
DIST root_v6.28.08.source.tar.gz 185350391 BLAKE2B 1fa0ea4d214aa021403f5111df9719aa3b22780420e121a74b740f89d4924d3ff7ae50563d7f08147e57b082885b7bb9707e389324919150382ec6dd2b70cf50 SHA512 58d0980557fc80388f52914762fe6ddad1307ebcd5a0b90b2b13ec8fbeba7546185ac24345a3375a6b46f253ce2f00ce4646d5bdb925b117c12d29d95d2a265b
diff --git a/sci-physics/root/root-6.28.06.ebuild b/sci-physics/root/root-6.28.06.ebuild
deleted file mode 100644
index b932f01df503..000000000000
--- a/sci-physics/root/root-6.28.06.ebuild
+++ /dev/null
@@ -1,342 +0,0 @@
-# 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 )
- roofit? ( minuit )
- 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 MYCMAKEARGS to enable"
- elog "these packages. For example, for Vdt you would set:"
- elog "MYCMAKEARGS=\"-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)
- )
-
- # 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."
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-11-14 15:13 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-11-14 15:13 UTC (permalink / raw
To: gentoo-commits
commit: ea3d3c01f5ebfb4879f1e9d3ac5cb3f76ffcbe6b
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 14 12:38:07 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Nov 14 15:13:37 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea3d3c01
sci-physics/root: switch live ebuild from 6.28.x to 6.30.x branch
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/{root-6.28.9999.ebuild => root-6.30.9999.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/sci-physics/root/root-6.28.9999.ebuild b/sci-physics/root/root-6.30.9999.ebuild
similarity index 100%
rename from sci-physics/root/root-6.28.9999.ebuild
rename to sci-physics/root/root-6.30.9999.ebuild
^ permalink raw reply [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-11-14 15:13 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-11-14 15:13 UTC (permalink / raw
To: gentoo-commits
commit: e6da30824d2c3738ed215a22ee3f1619474bd6d1
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 14 12:33:09 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Nov 14 15:13:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6da3082
sci-physics/root: fix dependencies for USE=jupyter
Closes: https://bugs.gentoo.org/917264
Fixes: 4cf3d9955693efdf7c3f4f4fcff869886fbae6d8
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.28.08.ebuild | 13 ++++++++-----
sci-physics/root/root-6.28.9999.ebuild | 13 ++++++++-----
sci-physics/root/root-9999.ebuild | 13 ++++++++-----
3 files changed, 24 insertions(+), 15 deletions(-)
diff --git a/sci-physics/root/root-6.28.08.ebuild b/sci-physics/root/root-6.28.08.ebuild
index f116da228820..32012c31e7b4 100644
--- a/sci-physics/root/root-6.28.08.ebuild
+++ b/sci-physics/root/root-6.28.08.ebuild
@@ -43,6 +43,7 @@ REQUIRED_USE="
cudnn? ( cuda )
!X? ( !asimage !opengl !qt5 )
davix? ( ssl xml )
+ jupyter? ( python )
python? ( ${PYTHON_REQUIRED_USE} )
qt5? ( root7 )
roofit? ( minuit )
@@ -128,11 +129,13 @@ 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}]
- ')
+ jupyter? (
+ $(python_gen_cond_dep '
+ dev-python/jupyter[${PYTHON_USEDEP}]
+ dev-python/notebook[${PYTHON_USEDEP}]
+ dev-python/metakernel[${PYTHON_USEDEP}]
+ ')
+ )
"
PATCHES=(
diff --git a/sci-physics/root/root-6.28.9999.ebuild b/sci-physics/root/root-6.28.9999.ebuild
index f116da228820..32012c31e7b4 100644
--- a/sci-physics/root/root-6.28.9999.ebuild
+++ b/sci-physics/root/root-6.28.9999.ebuild
@@ -43,6 +43,7 @@ REQUIRED_USE="
cudnn? ( cuda )
!X? ( !asimage !opengl !qt5 )
davix? ( ssl xml )
+ jupyter? ( python )
python? ( ${PYTHON_REQUIRED_USE} )
qt5? ( root7 )
roofit? ( minuit )
@@ -128,11 +129,13 @@ 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}]
- ')
+ jupyter? (
+ $(python_gen_cond_dep '
+ dev-python/jupyter[${PYTHON_USEDEP}]
+ dev-python/notebook[${PYTHON_USEDEP}]
+ dev-python/metakernel[${PYTHON_USEDEP}]
+ ')
+ )
"
PATCHES=(
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index f116da228820..32012c31e7b4 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -43,6 +43,7 @@ REQUIRED_USE="
cudnn? ( cuda )
!X? ( !asimage !opengl !qt5 )
davix? ( ssl xml )
+ jupyter? ( python )
python? ( ${PYTHON_REQUIRED_USE} )
qt5? ( root7 )
roofit? ( minuit )
@@ -128,11 +129,13 @@ 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}]
- ')
+ jupyter? (
+ $(python_gen_cond_dep '
+ dev-python/jupyter[${PYTHON_USEDEP}]
+ dev-python/notebook[${PYTHON_USEDEP}]
+ dev-python/metakernel[${PYTHON_USEDEP}]
+ ')
+ )
"
PATCHES=(
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-11-14 15:13 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-11-14 15:13 UTC (permalink / raw
To: gentoo-commits
commit: c3f9aaae0b1b123f556047e762b51e5ea57a0be5
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 14 12:26:09 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Nov 14 15:13:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3f9aaae
sci-physics/root: enable py3.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.28.08.ebuild | 2 +-
sci-physics/root/root-6.28.9999.ebuild | 2 +-
sci-physics/root/root-9999.ebuild | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/sci-physics/root/root-6.28.08.ebuild b/sci-physics/root/root-6.28.08.ebuild
index 55b17a5b6b13..f116da228820 100644
--- a/sci-physics/root/root-6.28.08.ebuild
+++ b/sci-physics/root/root-6.28.08.ebuild
@@ -6,7 +6,7 @@ EAPI=8
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
inherit cmake cuda fortran-2 python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-6.28.9999.ebuild b/sci-physics/root/root-6.28.9999.ebuild
index 55b17a5b6b13..f116da228820 100644
--- a/sci-physics/root/root-6.28.9999.ebuild
+++ b/sci-physics/root/root-6.28.9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
inherit cmake cuda fortran-2 python-single-r1 toolchain-funcs
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 55b17a5b6b13..f116da228820 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
# ninja does not work due to fortran
CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{9..12} )
inherit cmake cuda fortran-2 python-single-r1 toolchain-funcs
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-11-14 15:13 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-11-14 15:13 UTC (permalink / raw
To: gentoo-commits
commit: 12fb6c861902859ffcff5c63d7d60b57a5df26f3
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 14 12:36:09 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Nov 14 15:13:36 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12fb6c86
sci-physics/root: add 6.30.00
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.30.00.ebuild | 345 +++++++++++++++++++++++++++++++++++
2 files changed, 346 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index d6544954d1bf..507d804b8486 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1 +1,2 @@
DIST root_v6.28.08.source.tar.gz 185350391 BLAKE2B 1fa0ea4d214aa021403f5111df9719aa3b22780420e121a74b740f89d4924d3ff7ae50563d7f08147e57b082885b7bb9707e389324919150382ec6dd2b70cf50 SHA512 58d0980557fc80388f52914762fe6ddad1307ebcd5a0b90b2b13ec8fbeba7546185ac24345a3375a6b46f253ce2f00ce4646d5bdb925b117c12d29d95d2a265b
+DIST root_v6.30.00.source.tar.gz 184763244 BLAKE2B d43d41a359bdc4d22ddc87e1056e05b77f3698a0612491346bb5885fc2631cf4dc5ebe3093cd82fd85bfe81188805bb2a424fdf4c2b6f0419f35c21fda6f2fcd SHA512 397762b19c8756e34b7777005669de243d2dbfe807565252dbde9917155112a3ad9e43b98d105f25c104352083515da41851eb01483e9d9d78838bdf0a8d75c6
diff --git a/sci-physics/root/root-6.30.00.ebuild b/sci-physics/root/root-6.30.00.ebuild
new file mode 100644
index 000000000000..32012c31e7b4
--- /dev/null
+++ b/sci-physics/root/root-6.30.00.ebuild
@@ -0,0 +1,345 @@
+# 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..12} )
+
+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 )
+ jupyter? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ qt5? ( root7 )
+ roofit? ( minuit )
+ 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-1.4.4:= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}
+ jupyter? (
+ $(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 MYCMAKEARGS to enable"
+ elog "these packages. For example, for Vdt you would set:"
+ elog "MYCMAKEARGS=\"-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)
+ )
+
+ # 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."
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-11-30 12:35 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-11-30 12:35 UTC (permalink / raw
To: gentoo-commits
commit: e4230d64773dc7194cced43acf852012680b7f3b
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 30 10:39:50 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Nov 30 12:35:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4230d64
sci-physics/root: add 6.30.02, drop 6.30.00
Closes: https://bugs.gentoo.org/918895
See also: https://root.cern/about/security
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.30.00.ebuild => root-6.30.02.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 507d804b8486..8aff9c6a01ca 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
DIST root_v6.28.08.source.tar.gz 185350391 BLAKE2B 1fa0ea4d214aa021403f5111df9719aa3b22780420e121a74b740f89d4924d3ff7ae50563d7f08147e57b082885b7bb9707e389324919150382ec6dd2b70cf50 SHA512 58d0980557fc80388f52914762fe6ddad1307ebcd5a0b90b2b13ec8fbeba7546185ac24345a3375a6b46f253ce2f00ce4646d5bdb925b117c12d29d95d2a265b
-DIST root_v6.30.00.source.tar.gz 184763244 BLAKE2B d43d41a359bdc4d22ddc87e1056e05b77f3698a0612491346bb5885fc2631cf4dc5ebe3093cd82fd85bfe81188805bb2a424fdf4c2b6f0419f35c21fda6f2fcd SHA512 397762b19c8756e34b7777005669de243d2dbfe807565252dbde9917155112a3ad9e43b98d105f25c104352083515da41851eb01483e9d9d78838bdf0a8d75c6
+DIST root_v6.30.02.source.tar.gz 184758362 BLAKE2B 38b07dff364adac544c927cb76b5f02d69e4a58949b429e6a276906a80769b74f19db72537183c6f33543d2cf924354e626417b386b8952094d6f31e697065f3 SHA512 c6955c1ed7704eed16aedf1becb727e5221fe50f4f60c11a762d376230f2213e5d4320ddda3cd730cf735a4d10a7afb1b57f08669ebf364f7ac040980d7ca774
diff --git a/sci-physics/root/root-6.30.00.ebuild b/sci-physics/root/root-6.30.02.ebuild
similarity index 100%
rename from sci-physics/root/root-6.30.00.ebuild
rename to sci-physics/root/root-6.30.02.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-11-30 12:35 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-11-30 12:35 UTC (permalink / raw
To: gentoo-commits
commit: 89fdadffee2a558d6bfd1778ba03d231e8ef6644
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 30 10:42:02 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu Nov 30 12:35:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89fdadff
sci-physics/root: add 6.28.10, drop 6.28.08
Bug: https://bugs.gentoo.org/918895
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.28.08.ebuild => root-6.28.10.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 8aff9c6a01ca..e8e521308e5e 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
-DIST root_v6.28.08.source.tar.gz 185350391 BLAKE2B 1fa0ea4d214aa021403f5111df9719aa3b22780420e121a74b740f89d4924d3ff7ae50563d7f08147e57b082885b7bb9707e389324919150382ec6dd2b70cf50 SHA512 58d0980557fc80388f52914762fe6ddad1307ebcd5a0b90b2b13ec8fbeba7546185ac24345a3375a6b46f253ce2f00ce4646d5bdb925b117c12d29d95d2a265b
+DIST root_v6.28.10.source.tar.gz 186626700 BLAKE2B 8a3b7b37da8b7467695cb26f5073bba0c07a8b65f13c2df88d400aa2eb6c0e3774ce73e314df3d6328cf150fe376b785cf0f0516900f45f0767fc494605503cf SHA512 9020027952977f6fc5ddaffd26010711a296b86f5ca8d3e6a902d06f94cdc5f7036360d6137eee7f70f9a1297c253e5e85c4284826e40cf32bc0e99216d53b90
DIST root_v6.30.02.source.tar.gz 184758362 BLAKE2B 38b07dff364adac544c927cb76b5f02d69e4a58949b429e6a276906a80769b74f19db72537183c6f33543d2cf924354e626417b386b8952094d6f31e697065f3 SHA512 c6955c1ed7704eed16aedf1becb727e5221fe50f4f60c11a762d376230f2213e5d4320ddda3cd730cf735a4d10a7afb1b57f08669ebf364f7ac040980d7ca774
diff --git a/sci-physics/root/root-6.28.08.ebuild b/sci-physics/root/root-6.28.10.ebuild
similarity index 100%
rename from sci-physics/root/root-6.28.08.ebuild
rename to sci-physics/root/root-6.28.10.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2023-12-05 12:16 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2023-12-05 12:16 UTC (permalink / raw
To: gentoo-commits
commit: 62416df0db8bdd34182c6ef5d626ba33e7b91a97
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 30 12:56:25 2023 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Dec 5 12:16:25 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62416df0
sci-physics/root: drop USE flags for C++ standard
ROOT 6.30/00 and above no longer support C++14, and now uses the
compiler default (i.e. C++17 for GCC 11 and above), so we can drop
these USE flags entirely, as they create unnecessary trouble for
ROOT's dependencies and other related packages. The recommended
way to set the C++ standard different than the compiler default
from now on should be using MYCMAKEARGS in a portage environment.
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/metadata.xml | 2 --
.../root/{root-6.28.10.ebuild => root-6.28.10-r1.ebuild} | 12 +++++-------
.../root/{root-6.30.02.ebuild => root-6.30.02-r1.ebuild} | 12 +++++-------
sci-physics/root/root-6.30.9999.ebuild | 12 +++++-------
sci-physics/root/root-9999.ebuild | 12 +++++-------
5 files changed, 20 insertions(+), 30 deletions(-)
diff --git a/sci-physics/root/metadata.xml b/sci-physics/root/metadata.xml
index 0ce5b7e0cb6a..1d44dde0a37c 100644
--- a/sci-physics/root/metadata.xml
+++ b/sci-physics/root/metadata.xml
@@ -24,8 +24,6 @@
</upstream>
<use>
<flag name="asimage">Enable support for <pkg>media-libs/libafterimage</pkg></flag>
- <flag name="c++14">Build using the C++14 standard</flag>
- <flag name="c++17">Build using the C++17 standard</flag>
<flag name="cuda">Enable support for nVidia CUDA</flag>
<flag name="cudnn">Enable support for nVidia cuDNN library</flag>
<flag name="davix">Enable support for DAVIX Data Management Client (https://cern.ch/davix)</flag>
diff --git a/sci-physics/root/root-6.28.10.ebuild b/sci-physics/root/root-6.28.10-r1.ebuild
similarity index 95%
rename from sci-physics/root/root-6.28.10.ebuild
rename to sci-physics/root/root-6.28.10-r1.ebuild
index 32012c31e7b4..831e28f81da0 100644
--- a/sci-physics/root/root-6.28.10.ebuild
+++ b/sci-physics/root/root-6.28.10-r1.ebuild
@@ -13,10 +13,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"
+IUSE="+X aqua +asimage 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"
@@ -38,7 +39,6 @@ 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 )
@@ -47,7 +47,6 @@ REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
qt5? ( root7 )
roofit? ( minuit )
- root7? ( || ( c++17 ) )
tmva? ( gsl python )
uring? ( root7 )
"
@@ -175,7 +174,6 @@ src_configure() {
-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
diff --git a/sci-physics/root/root-6.30.02.ebuild b/sci-physics/root/root-6.30.02-r1.ebuild
similarity index 95%
rename from sci-physics/root/root-6.30.02.ebuild
rename to sci-physics/root/root-6.30.02-r1.ebuild
index 32012c31e7b4..831e28f81da0 100644
--- a/sci-physics/root/root-6.30.02.ebuild
+++ b/sci-physics/root/root-6.30.02-r1.ebuild
@@ -13,10 +13,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"
+IUSE="+X aqua +asimage 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"
@@ -38,7 +39,6 @@ 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 )
@@ -47,7 +47,6 @@ REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
qt5? ( root7 )
roofit? ( minuit )
- root7? ( || ( c++17 ) )
tmva? ( gsl python )
uring? ( root7 )
"
@@ -175,7 +174,6 @@ src_configure() {
-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
diff --git a/sci-physics/root/root-6.30.9999.ebuild b/sci-physics/root/root-6.30.9999.ebuild
index 32012c31e7b4..831e28f81da0 100644
--- a/sci-physics/root/root-6.30.9999.ebuild
+++ b/sci-physics/root/root-6.30.9999.ebuild
@@ -13,10 +13,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"
+IUSE="+X aqua +asimage 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"
@@ -38,7 +39,6 @@ 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 )
@@ -47,7 +47,6 @@ REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
qt5? ( root7 )
roofit? ( minuit )
- root7? ( || ( c++17 ) )
tmva? ( gsl python )
uring? ( root7 )
"
@@ -175,7 +174,6 @@ src_configure() {
-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
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 32012c31e7b4..831e28f81da0 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -13,10 +13,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"
+IUSE="+X aqua +asimage 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"
@@ -38,7 +39,6 @@ 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 )
@@ -47,7 +47,6 @@ REQUIRED_USE="
python? ( ${PYTHON_REQUIRED_USE} )
qt5? ( root7 )
roofit? ( minuit )
- root7? ( || ( c++17 ) )
tmva? ( gsl python )
uring? ( root7 )
"
@@ -175,7 +174,6 @@ src_configure() {
-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
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-01-30 15:25 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-01-30 15:25 UTC (permalink / raw
To: gentoo-commits
commit: 00e968d3111c59849a94a5180c2ceac97e02af4a
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 30 14:10:40 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Jan 30 15:25:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00e968d3
sci-physics/root: drop 6.28.10-r1
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 -
sci-physics/root/root-6.28.10-r1.ebuild | 343 --------------------------------
2 files changed, 344 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index dd8b07bae357..28981f738f7a 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,3 +1,2 @@
-DIST root_v6.28.10.source.tar.gz 186626700 BLAKE2B 8a3b7b37da8b7467695cb26f5073bba0c07a8b65f13c2df88d400aa2eb6c0e3774ce73e314df3d6328cf150fe376b785cf0f0516900f45f0767fc494605503cf SHA512 9020027952977f6fc5ddaffd26010711a296b86f5ca8d3e6a902d06f94cdc5f7036360d6137eee7f70f9a1297c253e5e85c4284826e40cf32bc0e99216d53b90
DIST root_v6.28.12.source.tar.gz 185351881 BLAKE2B 623897580edaf91870be8f894df1a36582f9d0e066dcf025fa9143ee9e30100b8b1bc952659f44f87af78b0815cb1cef602c8620a61d5abad015eb74ac3b62fb SHA512 b8b3d918245340ef4657c96580227a74d11042c2f2ed58e33946b8b42ed7d1acae9ff3ec8f537c725bd527adf7e386bbeab40be1b535bb3008a3cad3f8d56cfc
DIST root_v6.30.02.source.tar.gz 184758362 BLAKE2B 38b07dff364adac544c927cb76b5f02d69e4a58949b429e6a276906a80769b74f19db72537183c6f33543d2cf924354e626417b386b8952094d6f31e697065f3 SHA512 c6955c1ed7704eed16aedf1becb727e5221fe50f4f60c11a762d376230f2213e5d4320ddda3cd730cf735a4d10a7afb1b57f08669ebf364f7ac040980d7ca774
diff --git a/sci-physics/root/root-6.28.10-r1.ebuild b/sci-physics/root/root-6.28.10-r1.ebuild
deleted file mode 100644
index 831e28f81da0..000000000000
--- a/sci-physics/root/root-6.28.10-r1.ebuild
+++ /dev/null
@@ -1,343 +0,0 @@
-# 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..12} )
-
-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 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="
- cuda? ( tmva )
- cudnn? ( cuda )
- !X? ( !asimage !opengl !qt5 )
- davix? ( ssl xml )
- jupyter? ( python )
- python? ( ${PYTHON_REQUIRED_USE} )
- qt5? ( root7 )
- roofit? ( minuit )
- 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-1.4.4:= )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}
- jupyter? (
- $(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 MYCMAKEARGS to enable"
- elog "these packages. For example, for Vdt you would set:"
- elog "MYCMAKEARGS=\"-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}"
- # 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)
- )
-
- # 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."
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-01-30 15:25 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-01-30 15:25 UTC (permalink / raw
To: gentoo-commits
commit: 969b87a7f366878b53251fc3ef72d3e8b4eefec1
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 30 14:10:10 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Jan 30 15:25:34 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=969b87a7
sci-physics/root: add 6.28.12
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.28.12.ebuild | 343 +++++++++++++++++++++++++++++++++++
2 files changed, 344 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index e8e521308e5e..dd8b07bae357 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,3 @@
DIST root_v6.28.10.source.tar.gz 186626700 BLAKE2B 8a3b7b37da8b7467695cb26f5073bba0c07a8b65f13c2df88d400aa2eb6c0e3774ce73e314df3d6328cf150fe376b785cf0f0516900f45f0767fc494605503cf SHA512 9020027952977f6fc5ddaffd26010711a296b86f5ca8d3e6a902d06f94cdc5f7036360d6137eee7f70f9a1297c253e5e85c4284826e40cf32bc0e99216d53b90
+DIST root_v6.28.12.source.tar.gz 185351881 BLAKE2B 623897580edaf91870be8f894df1a36582f9d0e066dcf025fa9143ee9e30100b8b1bc952659f44f87af78b0815cb1cef602c8620a61d5abad015eb74ac3b62fb SHA512 b8b3d918245340ef4657c96580227a74d11042c2f2ed58e33946b8b42ed7d1acae9ff3ec8f537c725bd527adf7e386bbeab40be1b535bb3008a3cad3f8d56cfc
DIST root_v6.30.02.source.tar.gz 184758362 BLAKE2B 38b07dff364adac544c927cb76b5f02d69e4a58949b429e6a276906a80769b74f19db72537183c6f33543d2cf924354e626417b386b8952094d6f31e697065f3 SHA512 c6955c1ed7704eed16aedf1becb727e5221fe50f4f60c11a762d376230f2213e5d4320ddda3cd730cf735a4d10a7afb1b57f08669ebf364f7ac040980d7ca774
diff --git a/sci-physics/root/root-6.28.12.ebuild b/sci-physics/root/root-6.28.12.ebuild
new file mode 100644
index 000000000000..5f308e286c0a
--- /dev/null
+++ b/sci-physics/root/root-6.28.12.ebuild
@@ -0,0 +1,343 @@
+# Copyright 1999-2024 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..12} )
+
+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 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="
+ cuda? ( tmva )
+ cudnn? ( cuda )
+ !X? ( !asimage !opengl !qt5 )
+ davix? ( ssl xml )
+ jupyter? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ qt5? ( root7 )
+ roofit? ( minuit )
+ 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-1.4.4:= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}
+ jupyter? (
+ $(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 MYCMAKEARGS to enable"
+ elog "these packages. For example, for Vdt you would set:"
+ elog "MYCMAKEARGS=\"-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}"
+ # 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)
+ )
+
+ # 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."
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-01-31 15:51 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-01-31 15:51 UTC (permalink / raw
To: gentoo-commits
commit: 68da815635a9be60623b52af4042607f4565ee1b
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 31 14:55:32 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Jan 31 15:51:36 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68da8156
sci-physics/root: add 6.30.04, drop 6.30.02-r1
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.30.02-r1.ebuild => root-6.30.04.ebuild} | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 28981f738f7a..07126da77341 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
DIST root_v6.28.12.source.tar.gz 185351881 BLAKE2B 623897580edaf91870be8f894df1a36582f9d0e066dcf025fa9143ee9e30100b8b1bc952659f44f87af78b0815cb1cef602c8620a61d5abad015eb74ac3b62fb SHA512 b8b3d918245340ef4657c96580227a74d11042c2f2ed58e33946b8b42ed7d1acae9ff3ec8f537c725bd527adf7e386bbeab40be1b535bb3008a3cad3f8d56cfc
-DIST root_v6.30.02.source.tar.gz 184758362 BLAKE2B 38b07dff364adac544c927cb76b5f02d69e4a58949b429e6a276906a80769b74f19db72537183c6f33543d2cf924354e626417b386b8952094d6f31e697065f3 SHA512 c6955c1ed7704eed16aedf1becb727e5221fe50f4f60c11a762d376230f2213e5d4320ddda3cd730cf735a4d10a7afb1b57f08669ebf364f7ac040980d7ca774
+DIST root_v6.30.04.source.tar.gz 184768143 BLAKE2B ce4aa0aa15bfa36a3be996a410a53146a3b8df06dcf48ebd99229cdbd3f771d33a844d775d0214e9488731a5f6ede7a46f52b05c1c70decb3770b4a338ef34d9 SHA512 0c5394cbf734e04c046c0c408fa69d21ffcf1ce524e3c13be1367d021bd31420bebc4917f6c73bed2168e949785b4a524e780d5bca7e9a07ef269f071f69dd7c
diff --git a/sci-physics/root/root-6.30.02-r1.ebuild b/sci-physics/root/root-6.30.04.ebuild
similarity index 99%
rename from sci-physics/root/root-6.30.02-r1.ebuild
rename to sci-physics/root/root-6.30.04.ebuild
index 831e28f81da0..5f308e286c0a 100644
--- a/sci-physics/root/root-6.30.02-r1.ebuild
+++ b/sci-physics/root/root-6.30.04.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-03-10 12:16 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-03-10 12:16 UTC (permalink / raw
To: gentoo-commits
commit: 5401a0bca754883a3466da1c35ccabab423190ee
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 9 16:47:10 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 12:16:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5401a0bc
sci-physics/root: filter lto flags, bug #879323
Closes: https://bugs.gentoo.org/879323
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.28.12.ebuild | 5 ++++-
sci-physics/root/root-6.30.04.ebuild | 5 ++++-
sci-physics/root/root-6.30.9999.ebuild | 7 +++++--
sci-physics/root/root-9999.ebuild | 7 +++++--
4 files changed, 18 insertions(+), 6 deletions(-)
diff --git a/sci-physics/root/root-6.28.12.ebuild b/sci-physics/root/root-6.28.12.ebuild
index 5f308e286c0a..47324a37ee7d 100644
--- a/sci-physics/root/root-6.28.12.ebuild
+++ b/sci-physics/root/root-6.28.12.ebuild
@@ -8,7 +8,7 @@ CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python3_{9..12} )
-inherit cmake cuda fortran-2 python-single-r1 toolchain-funcs
+inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
@@ -168,6 +168,9 @@ src_prepare() {
# with vanilla clang. The patches enable the C++ interpreter to work.
src_configure() {
+
+ filter-lto # https://bugs.gentoo.org/879323
+
local mycmakeargs=(
-DCMAKE_C_COMPILER="$(tc-getCC)"
-DCMAKE_CXX_COMPILER="$(tc-getCXX)"
diff --git a/sci-physics/root/root-6.30.04.ebuild b/sci-physics/root/root-6.30.04.ebuild
index 5f308e286c0a..47324a37ee7d 100644
--- a/sci-physics/root/root-6.30.04.ebuild
+++ b/sci-physics/root/root-6.30.04.ebuild
@@ -8,7 +8,7 @@ CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python3_{9..12} )
-inherit cmake cuda fortran-2 python-single-r1 toolchain-funcs
+inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
@@ -168,6 +168,9 @@ src_prepare() {
# with vanilla clang. The patches enable the C++ interpreter to work.
src_configure() {
+
+ filter-lto # https://bugs.gentoo.org/879323
+
local mycmakeargs=(
-DCMAKE_C_COMPILER="$(tc-getCC)"
-DCMAKE_CXX_COMPILER="$(tc-getCXX)"
diff --git a/sci-physics/root/root-6.30.9999.ebuild b/sci-physics/root/root-6.30.9999.ebuild
index 831e28f81da0..47324a37ee7d 100644
--- a/sci-physics/root/root-6.30.9999.ebuild
+++ b/sci-physics/root/root-6.30.9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -8,7 +8,7 @@ CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python3_{9..12} )
-inherit cmake cuda fortran-2 python-single-r1 toolchain-funcs
+inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
@@ -168,6 +168,9 @@ src_prepare() {
# with vanilla clang. The patches enable the C++ interpreter to work.
src_configure() {
+
+ filter-lto # https://bugs.gentoo.org/879323
+
local mycmakeargs=(
-DCMAKE_C_COMPILER="$(tc-getCC)"
-DCMAKE_CXX_COMPILER="$(tc-getCXX)"
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 831e28f81da0..47324a37ee7d 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -8,7 +8,7 @@ CMAKE_MAKEFILE_GENERATOR=emake
FORTRAN_NEEDED="fortran"
PYTHON_COMPAT=( python3_{9..12} )
-inherit cmake cuda fortran-2 python-single-r1 toolchain-funcs
+inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
@@ -168,6 +168,9 @@ src_prepare() {
# with vanilla clang. The patches enable the C++ interpreter to work.
src_configure() {
+
+ filter-lto # https://bugs.gentoo.org/879323
+
local mycmakeargs=(
-DCMAKE_C_COMPILER="$(tc-getCC)"
-DCMAKE_CXX_COMPILER="$(tc-getCXX)"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-03-10 12:16 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-03-10 12:16 UTC (permalink / raw
To: gentoo-commits
commit: 686e6a2a736c9fd1668ab5591e401fdf9deeeb27
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 9 18:44:42 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 12:16:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=686e6a2a
sci-physics/root: add support for Qt6
Closes: https://bugs.gentoo.org/918966
Co-authored-by: Rafal Lalik <rafallalik <AT> gmail.com>
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
.../root/{root-6.28.12.ebuild => root-6.28.12-r1.ebuild} | 16 ++++++++++------
.../root/{root-6.30.04.ebuild => root-6.30.04-r1.ebuild} | 16 ++++++++++------
sci-physics/root/root-6.30.9999.ebuild | 16 ++++++++++------
sci-physics/root/root-9999.ebuild | 16 ++++++++++------
4 files changed, 40 insertions(+), 24 deletions(-)
diff --git a/sci-physics/root/root-6.28.12.ebuild b/sci-physics/root/root-6.28.12-r1.ebuild
similarity index 96%
rename from sci-physics/root/root-6.28.12.ebuild
rename to sci-physics/root/root-6.28.12-r1.ebuild
index 5f5e960bd68f..769d352883bb 100644
--- a/sci-physics/root/root-6.28.12.ebuild
+++ b/sci-physics/root/root-6.28.12-r1.ebuild
@@ -15,8 +15,8 @@ HOMEPAGE="https://root.cern"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
IUSE="+X aqua +asimage 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
+ +gdml graphviz +gsl +http jupyter libcxx +minuit mpi mysql odbc +opengl
+ oracle postgres pythia6 pythia8 +python qt5 qt6 R +roofit +root7 shadow
sqlite +ssl +tbb test +tmva +unuran uring vc +xml xrootd"
if [[ ${PV} =~ "9999" ]] ; then
@@ -40,11 +40,12 @@ PROPERTIES="test_network"
REQUIRED_USE="
cuda? ( tmva )
cudnn? ( cuda )
- !X? ( !asimage !opengl !qt5 )
+ !X? ( !asimage !opengl !qt5 !qt6 )
davix? ( ssl xml )
jupyter? ( python )
python? ( ${PYTHON_REQUIRED_USE} )
- qt5? ( root7 )
+ qt5? ( root7 http )
+ qt6? ( root7 http )
roofit? ( minuit )
tmva? ( gsl python )
uring? ( root7 )
@@ -78,9 +79,12 @@ CDEPEND="
)
qt5? (
dev-qt/qtcore:5
- dev-qt/qtgui:5
dev-qt/qtwebengine:5[widgets]
)
+ qt6? (
+ dev-qt/qtbase:6
+ dev-qt/qtwebengine:6[widgets]
+ )
)
asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
@@ -278,7 +282,7 @@ src_configure() {
-Dpythia6=$(usex pythia6)
-Dpythia8=$(usex pythia8)
-Dqt5web=$(usex qt5)
- -Dqt6web=OFF
+ -Dqt6web=$(usex qt6)
-Dr=$(usex R)
-Droofit=$(usex roofit)
-Droofit_multiprocess=OFF
diff --git a/sci-physics/root/root-6.30.04.ebuild b/sci-physics/root/root-6.30.04-r1.ebuild
similarity index 96%
rename from sci-physics/root/root-6.30.04.ebuild
rename to sci-physics/root/root-6.30.04-r1.ebuild
index 5f5e960bd68f..769d352883bb 100644
--- a/sci-physics/root/root-6.30.04.ebuild
+++ b/sci-physics/root/root-6.30.04-r1.ebuild
@@ -15,8 +15,8 @@ HOMEPAGE="https://root.cern"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
IUSE="+X aqua +asimage 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
+ +gdml graphviz +gsl +http jupyter libcxx +minuit mpi mysql odbc +opengl
+ oracle postgres pythia6 pythia8 +python qt5 qt6 R +roofit +root7 shadow
sqlite +ssl +tbb test +tmva +unuran uring vc +xml xrootd"
if [[ ${PV} =~ "9999" ]] ; then
@@ -40,11 +40,12 @@ PROPERTIES="test_network"
REQUIRED_USE="
cuda? ( tmva )
cudnn? ( cuda )
- !X? ( !asimage !opengl !qt5 )
+ !X? ( !asimage !opengl !qt5 !qt6 )
davix? ( ssl xml )
jupyter? ( python )
python? ( ${PYTHON_REQUIRED_USE} )
- qt5? ( root7 )
+ qt5? ( root7 http )
+ qt6? ( root7 http )
roofit? ( minuit )
tmva? ( gsl python )
uring? ( root7 )
@@ -78,9 +79,12 @@ CDEPEND="
)
qt5? (
dev-qt/qtcore:5
- dev-qt/qtgui:5
dev-qt/qtwebengine:5[widgets]
)
+ qt6? (
+ dev-qt/qtbase:6
+ dev-qt/qtwebengine:6[widgets]
+ )
)
asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
@@ -278,7 +282,7 @@ src_configure() {
-Dpythia6=$(usex pythia6)
-Dpythia8=$(usex pythia8)
-Dqt5web=$(usex qt5)
- -Dqt6web=OFF
+ -Dqt6web=$(usex qt6)
-Dr=$(usex R)
-Droofit=$(usex roofit)
-Droofit_multiprocess=OFF
diff --git a/sci-physics/root/root-6.30.9999.ebuild b/sci-physics/root/root-6.30.9999.ebuild
index 5f5e960bd68f..769d352883bb 100644
--- a/sci-physics/root/root-6.30.9999.ebuild
+++ b/sci-physics/root/root-6.30.9999.ebuild
@@ -15,8 +15,8 @@ HOMEPAGE="https://root.cern"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
IUSE="+X aqua +asimage 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
+ +gdml graphviz +gsl +http jupyter libcxx +minuit mpi mysql odbc +opengl
+ oracle postgres pythia6 pythia8 +python qt5 qt6 R +roofit +root7 shadow
sqlite +ssl +tbb test +tmva +unuran uring vc +xml xrootd"
if [[ ${PV} =~ "9999" ]] ; then
@@ -40,11 +40,12 @@ PROPERTIES="test_network"
REQUIRED_USE="
cuda? ( tmva )
cudnn? ( cuda )
- !X? ( !asimage !opengl !qt5 )
+ !X? ( !asimage !opengl !qt5 !qt6 )
davix? ( ssl xml )
jupyter? ( python )
python? ( ${PYTHON_REQUIRED_USE} )
- qt5? ( root7 )
+ qt5? ( root7 http )
+ qt6? ( root7 http )
roofit? ( minuit )
tmva? ( gsl python )
uring? ( root7 )
@@ -78,9 +79,12 @@ CDEPEND="
)
qt5? (
dev-qt/qtcore:5
- dev-qt/qtgui:5
dev-qt/qtwebengine:5[widgets]
)
+ qt6? (
+ dev-qt/qtbase:6
+ dev-qt/qtwebengine:6[widgets]
+ )
)
asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
@@ -278,7 +282,7 @@ src_configure() {
-Dpythia6=$(usex pythia6)
-Dpythia8=$(usex pythia8)
-Dqt5web=$(usex qt5)
- -Dqt6web=OFF
+ -Dqt6web=$(usex qt6)
-Dr=$(usex R)
-Droofit=$(usex roofit)
-Droofit_multiprocess=OFF
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 5f5e960bd68f..769d352883bb 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -15,8 +15,8 @@ HOMEPAGE="https://root.cern"
LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
IUSE="+X aqua +asimage 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
+ +gdml graphviz +gsl +http jupyter libcxx +minuit mpi mysql odbc +opengl
+ oracle postgres pythia6 pythia8 +python qt5 qt6 R +roofit +root7 shadow
sqlite +ssl +tbb test +tmva +unuran uring vc +xml xrootd"
if [[ ${PV} =~ "9999" ]] ; then
@@ -40,11 +40,12 @@ PROPERTIES="test_network"
REQUIRED_USE="
cuda? ( tmva )
cudnn? ( cuda )
- !X? ( !asimage !opengl !qt5 )
+ !X? ( !asimage !opengl !qt5 !qt6 )
davix? ( ssl xml )
jupyter? ( python )
python? ( ${PYTHON_REQUIRED_USE} )
- qt5? ( root7 )
+ qt5? ( root7 http )
+ qt6? ( root7 http )
roofit? ( minuit )
tmva? ( gsl python )
uring? ( root7 )
@@ -78,9 +79,12 @@ CDEPEND="
)
qt5? (
dev-qt/qtcore:5
- dev-qt/qtgui:5
dev-qt/qtwebengine:5[widgets]
)
+ qt6? (
+ dev-qt/qtbase:6
+ dev-qt/qtwebengine:6[widgets]
+ )
)
asimage? ( media-libs/libafterimage[gif,jpeg,png,tiff] )
cuda? ( >=dev-util/nvidia-cuda-toolkit-9.0 )
@@ -278,7 +282,7 @@ src_configure() {
-Dpythia6=$(usex pythia6)
-Dpythia8=$(usex pythia8)
-Dqt5web=$(usex qt5)
- -Dqt6web=OFF
+ -Dqt6web=$(usex qt6)
-Dr=$(usex R)
-Droofit=$(usex roofit)
-Droofit_multiprocess=OFF
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-03-10 12:16 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-03-10 12:16 UTC (permalink / raw
To: gentoo-commits
commit: 40b3ddf883cb691287779d01fea1faef1c73debb
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 9 16:53:01 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 12:16:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40b3ddf8
sci-physics/root: reorder variables reported by pkgcheck
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.28.12.ebuild | 7 +++----
sci-physics/root/root-6.30.04.ebuild | 7 +++----
sci-physics/root/root-6.30.9999.ebuild | 7 +++----
sci-physics/root/root-9999.ebuild | 7 +++----
4 files changed, 12 insertions(+), 16 deletions(-)
diff --git a/sci-physics/root/root-6.28.12.ebuild b/sci-physics/root/root-6.28.12.ebuild
index 47324a37ee7d..5f5e960bd68f 100644
--- a/sci-physics/root/root-6.28.12.ebuild
+++ b/sci-physics/root/root-6.28.12.ebuild
@@ -12,15 +12,13 @@ inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
IUSE="+X aqua +asimage 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"
@@ -36,7 +34,8 @@ else
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
fi
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+RESTRICT="test"
+PROPERTIES="test_network"
REQUIRED_USE="
cuda? ( tmva )
diff --git a/sci-physics/root/root-6.30.04.ebuild b/sci-physics/root/root-6.30.04.ebuild
index 47324a37ee7d..5f5e960bd68f 100644
--- a/sci-physics/root/root-6.30.04.ebuild
+++ b/sci-physics/root/root-6.30.04.ebuild
@@ -12,15 +12,13 @@ inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
IUSE="+X aqua +asimage 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"
@@ -36,7 +34,8 @@ else
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
fi
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+RESTRICT="test"
+PROPERTIES="test_network"
REQUIRED_USE="
cuda? ( tmva )
diff --git a/sci-physics/root/root-6.30.9999.ebuild b/sci-physics/root/root-6.30.9999.ebuild
index 47324a37ee7d..5f5e960bd68f 100644
--- a/sci-physics/root/root-6.30.9999.ebuild
+++ b/sci-physics/root/root-6.30.9999.ebuild
@@ -12,15 +12,13 @@ inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
IUSE="+X aqua +asimage 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"
@@ -36,7 +34,8 @@ else
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
fi
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+RESTRICT="test"
+PROPERTIES="test_network"
REQUIRED_USE="
cuda? ( tmva )
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 47324a37ee7d..5f5e960bd68f 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -12,15 +12,13 @@ inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs
DESCRIPTION="C++ data analysis framework and interpreter from CERN"
HOMEPAGE="https://root.cern"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
IUSE="+X aqua +asimage 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"
@@ -36,7 +34,8 @@ else
SRC_URI="https://root.cern/download/${PN}_v${PV}.source.tar.gz"
fi
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+RESTRICT="test"
+PROPERTIES="test_network"
REQUIRED_USE="
cuda? ( tmva )
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-03-10 12:16 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-03-10 12:16 UTC (permalink / raw
To: gentoo-commits
commit: ee2d5236699074d4b80847b63567fe45d76b2635
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 9 22:57:02 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 12:16:25 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee2d5236
sci-physics/root: webgui option depends on USE=http
Closes: https://bugs.gentoo.org/918965
Co-authored-by: Rafal Lalik <rafallalik <AT> gmail.com>
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.28.12-r1.ebuild | 1 +
sci-physics/root/root-6.30.04-r1.ebuild | 1 +
sci-physics/root/root-6.30.9999.ebuild | 1 +
sci-physics/root/root-9999.ebuild | 1 +
4 files changed, 4 insertions(+)
diff --git a/sci-physics/root/root-6.28.12-r1.ebuild b/sci-physics/root/root-6.28.12-r1.ebuild
index 769d352883bb..ee24e650fb28 100644
--- a/sci-physics/root/root-6.28.12-r1.ebuild
+++ b/sci-physics/root/root-6.28.12-r1.ebuild
@@ -312,6 +312,7 @@ src_configure() {
-Dvdt=OFF
-Dveccore=OFF
-Dvecgeom=OFF
+ -Dwebgui=$(usex http)
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
diff --git a/sci-physics/root/root-6.30.04-r1.ebuild b/sci-physics/root/root-6.30.04-r1.ebuild
index 769d352883bb..ee24e650fb28 100644
--- a/sci-physics/root/root-6.30.04-r1.ebuild
+++ b/sci-physics/root/root-6.30.04-r1.ebuild
@@ -312,6 +312,7 @@ src_configure() {
-Dvdt=OFF
-Dveccore=OFF
-Dvecgeom=OFF
+ -Dwebgui=$(usex http)
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
diff --git a/sci-physics/root/root-6.30.9999.ebuild b/sci-physics/root/root-6.30.9999.ebuild
index 769d352883bb..ee24e650fb28 100644
--- a/sci-physics/root/root-6.30.9999.ebuild
+++ b/sci-physics/root/root-6.30.9999.ebuild
@@ -312,6 +312,7 @@ src_configure() {
-Dvdt=OFF
-Dveccore=OFF
-Dvecgeom=OFF
+ -Dwebgui=$(usex http)
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 769d352883bb..ee24e650fb28 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -312,6 +312,7 @@ src_configure() {
-Dvdt=OFF
-Dveccore=OFF
-Dvecgeom=OFF
+ -Dwebgui=$(usex http)
-Dx11=$(usex X)
-Dxml=$(usex xml)
-Dxrootd=$(usex xrootd)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-03-10 12:16 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-03-10 12:16 UTC (permalink / raw
To: gentoo-commits
commit: 1b70ef548ea6ffa84049bc2c948d2252e7ae35ca
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 12:11:32 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 12:16:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b70ef54
sci-physics/root: remove notice about FHS
Now all ebuilds follow the new installation scheme.
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.28.12-r1.ebuild | 7 -------
sci-physics/root/root-6.30.04-r1.ebuild | 7 -------
sci-physics/root/root-6.30.9999.ebuild | 7 -------
sci-physics/root/root-9999.ebuild | 7 -------
4 files changed, 28 deletions(-)
diff --git a/sci-physics/root/root-6.28.12-r1.ebuild b/sci-physics/root/root-6.28.12-r1.ebuild
index ee24e650fb28..cb1bd02dcaa9 100644
--- a/sci-physics/root/root-6.28.12-r1.ebuild
+++ b/sci-physics/root/root-6.28.12-r1.ebuild
@@ -341,10 +341,3 @@ src_install() {
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.30.04-r1.ebuild b/sci-physics/root/root-6.30.04-r1.ebuild
index ee24e650fb28..cb1bd02dcaa9 100644
--- a/sci-physics/root/root-6.30.04-r1.ebuild
+++ b/sci-physics/root/root-6.30.04-r1.ebuild
@@ -341,10 +341,3 @@ src_install() {
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.30.9999.ebuild b/sci-physics/root/root-6.30.9999.ebuild
index ee24e650fb28..cb1bd02dcaa9 100644
--- a/sci-physics/root/root-6.30.9999.ebuild
+++ b/sci-physics/root/root-6.30.9999.ebuild
@@ -341,10 +341,3 @@ src_install() {
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 ee24e650fb28..cb1bd02dcaa9 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -341,10 +341,3 @@ src_install() {
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."
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-03-11 3:11 Benda XU
0 siblings, 0 replies; 196+ messages in thread
From: Benda XU @ 2024-03-11 3:11 UTC (permalink / raw
To: gentoo-commits
commit: 145ae309c6ffbb2c26e75f8d46ba7c60b1c7bf30
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 11 03:00:53 2024 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 03:08:48 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=145ae309
sci-physics/root: call python-single-r1_pkg_setup unconditionally.
ROOT relies on python to generate headers, even if pyROOT is not
enabled.
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>
sci-physics/root/root-6.28.12-r1.ebuild | 4 +++-
sci-physics/root/root-6.30.04-r1.ebuild | 4 +++-
sci-physics/root/root-6.30.9999.ebuild | 4 +++-
sci-physics/root/root-9999.ebuild | 4 +++-
4 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/sci-physics/root/root-6.28.12-r1.ebuild b/sci-physics/root/root-6.28.12-r1.ebuild
index cb1bd02dcaa9..1c6e78d4b623 100644
--- a/sci-physics/root/root-6.28.12-r1.ebuild
+++ b/sci-physics/root/root-6.28.12-r1.ebuild
@@ -140,13 +140,15 @@ RDEPEND="${CDEPEND}
)
"
+BDEPEND="${PYTHON_DEPS}"
+
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
+ python-single-r1_pkg_setup
elog "There are extra options on packages not available in Gentoo."
elog "You can use the environment variable MYCMAKEARGS to enable"
diff --git a/sci-physics/root/root-6.30.04-r1.ebuild b/sci-physics/root/root-6.30.04-r1.ebuild
index cb1bd02dcaa9..1c6e78d4b623 100644
--- a/sci-physics/root/root-6.30.04-r1.ebuild
+++ b/sci-physics/root/root-6.30.04-r1.ebuild
@@ -140,13 +140,15 @@ RDEPEND="${CDEPEND}
)
"
+BDEPEND="${PYTHON_DEPS}"
+
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
+ python-single-r1_pkg_setup
elog "There are extra options on packages not available in Gentoo."
elog "You can use the environment variable MYCMAKEARGS to enable"
diff --git a/sci-physics/root/root-6.30.9999.ebuild b/sci-physics/root/root-6.30.9999.ebuild
index cb1bd02dcaa9..1c6e78d4b623 100644
--- a/sci-physics/root/root-6.30.9999.ebuild
+++ b/sci-physics/root/root-6.30.9999.ebuild
@@ -140,13 +140,15 @@ RDEPEND="${CDEPEND}
)
"
+BDEPEND="${PYTHON_DEPS}"
+
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
+ python-single-r1_pkg_setup
elog "There are extra options on packages not available in Gentoo."
elog "You can use the environment variable MYCMAKEARGS to enable"
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index cb1bd02dcaa9..1c6e78d4b623 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -140,13 +140,15 @@ RDEPEND="${CDEPEND}
)
"
+BDEPEND="${PYTHON_DEPS}"
+
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
+ python-single-r1_pkg_setup
elog "There are extra options on packages not available in Gentoo."
elog "You can use the environment variable MYCMAKEARGS to enable"
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-04-09 16:07 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-04-09 16:07 UTC (permalink / raw
To: gentoo-commits
commit: 3eadcd7f9d45cd11c0345c65c94acb55e95e06aa
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 8 18:34:03 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Apr 9 16:07:28 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3eadcd7f
sci-physics/root: add 6.30.06, drop 6.30.04-r1
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.30.04-r1.ebuild => root-6.30.06.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 07126da77341..80009b14b3e7 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
DIST root_v6.28.12.source.tar.gz 185351881 BLAKE2B 623897580edaf91870be8f894df1a36582f9d0e066dcf025fa9143ee9e30100b8b1bc952659f44f87af78b0815cb1cef602c8620a61d5abad015eb74ac3b62fb SHA512 b8b3d918245340ef4657c96580227a74d11042c2f2ed58e33946b8b42ed7d1acae9ff3ec8f537c725bd527adf7e386bbeab40be1b535bb3008a3cad3f8d56cfc
-DIST root_v6.30.04.source.tar.gz 184768143 BLAKE2B ce4aa0aa15bfa36a3be996a410a53146a3b8df06dcf48ebd99229cdbd3f771d33a844d775d0214e9488731a5f6ede7a46f52b05c1c70decb3770b4a338ef34d9 SHA512 0c5394cbf734e04c046c0c408fa69d21ffcf1ce524e3c13be1367d021bd31420bebc4917f6c73bed2168e949785b4a524e780d5bca7e9a07ef269f071f69dd7c
+DIST root_v6.30.06.source.tar.gz 184791201 BLAKE2B 02830a683971fd55578dad6daf513e947ff9630af919c5f95af33959c9e99bcb01d9db3c589e037b7af56c2689f3085ca69e4353e9ea2a4648d98fa12145ccea SHA512 4ebdb1bd610b3611e2c9bdb776dce2efdb243c41558bde42961548eea751df85aad66f30f7c1e99d97024bf581b727d75710a67b6e5e630131fc3fdc4bdfb3bf
diff --git a/sci-physics/root/root-6.30.04-r1.ebuild b/sci-physics/root/root-6.30.06.ebuild
similarity index 100%
rename from sci-physics/root/root-6.30.04-r1.ebuild
rename to sci-physics/root/root-6.30.06.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-05-30 15:38 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-05-30 15:38 UTC (permalink / raw
To: gentoo-commits
commit: 6aa468644c22e60fde68b40d840a2b2e570efbe8
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu May 30 15:04:05 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu May 30 15:38:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6aa46864
sci-physics/root: update live ebuild
Drop build options which were deprecated/removed upstream.
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-9999.ebuild | 17 ++---------------
1 file changed, 2 insertions(+), 15 deletions(-)
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index 1c6e78d4b623..fa797d38a0aa 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -16,8 +16,8 @@ LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
IUSE="+X aqua +asimage 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 qt6 R +roofit +root7 shadow
- sqlite +ssl +tbb test +tmva +unuran uring vc +xml xrootd"
+ postgres pythia8 +python qt5 qt6 R +roofit +root7 shadow sqlite +ssl
+ +tbb test +tmva +unuran uring vc +xml xrootd"
if [[ ${PV} =~ "9999" ]] ; then
inherit git-r3
@@ -86,7 +86,6 @@ CDEPEND="
dev-qt/qtwebengine:6[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 )
@@ -106,9 +105,7 @@ CDEPEND="
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 )
@@ -209,7 +206,6 @@ src_configure() {
-Dcoverage=OFF
-Ddev=OFF
-Ddistcc=OFF
- -Dexceptions=ON
-Dfail-on-missing=ON
-Dgnuinstall=ON
-Dgminimal=OFF
@@ -219,7 +215,6 @@ src_configure() {
-Dbuiltin_clang=ON
-Dbuiltin_cling=ON
-Dbuiltin_openui5=ON
- -Dbuiltin_afterimage=OFF
-Dbuiltin_cfitsio=OFF
-Dbuiltin_cppzmq=OFF
-Dbuiltin_davix=OFF
@@ -262,26 +257,19 @@ src_configure() {
-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=$(usex qt6)
@@ -298,7 +286,6 @@ src_configure() {
-Dspectrum=ON
-Dsqlite=$(usex sqlite)
-Dssl=$(usex ssl)
- -Dtcmalloc=OFF
-Dtest_distrdf_dask=OFF
-Dtest_distrdf_pyspark=OFF
-Dtesting=$(usex test)
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-05-30 15:38 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-05-30 15:38 UTC (permalink / raw
To: gentoo-commits
commit: 26546fa9fb2decca4e1b3353b9105aef1922e5da
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Thu May 30 15:03:21 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Thu May 30 15:38:30 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26546fa9
sci-physics/root: add 6.32.00
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.32.00.ebuild | 332 +++++++++++++++++++++++++++++++++++
2 files changed, 333 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 80009b14b3e7..5ce5820ca69a 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,3 @@
DIST root_v6.28.12.source.tar.gz 185351881 BLAKE2B 623897580edaf91870be8f894df1a36582f9d0e066dcf025fa9143ee9e30100b8b1bc952659f44f87af78b0815cb1cef602c8620a61d5abad015eb74ac3b62fb SHA512 b8b3d918245340ef4657c96580227a74d11042c2f2ed58e33946b8b42ed7d1acae9ff3ec8f537c725bd527adf7e386bbeab40be1b535bb3008a3cad3f8d56cfc
DIST root_v6.30.06.source.tar.gz 184791201 BLAKE2B 02830a683971fd55578dad6daf513e947ff9630af919c5f95af33959c9e99bcb01d9db3c589e037b7af56c2689f3085ca69e4353e9ea2a4648d98fa12145ccea SHA512 4ebdb1bd610b3611e2c9bdb776dce2efdb243c41558bde42961548eea751df85aad66f30f7c1e99d97024bf581b727d75710a67b6e5e630131fc3fdc4bdfb3bf
+DIST root_v6.32.00.source.tar.gz 192888872 BLAKE2B 504638aa1ec824280b8661f0f163995c902c4ae8ef149a3fe6d9887239dfeb56b59868d443fa4834d943c0528d3ad6250d9017c8fec5ae446513191596571d75 SHA512 04e40a7ce0d92758aecdc9249b5349faed79c0d41337abc2229a5cc081cfc1b90f879ffd427f586dc7e23b025755f7bf1388a3f7d5ad3bbceef77e91b48b68ea
diff --git a/sci-physics/root/root-6.32.00.ebuild b/sci-physics/root/root-6.32.00.ebuild
new file mode 100644
index 000000000000..fa797d38a0aa
--- /dev/null
+++ b/sci-physics/root/root-6.32.00.ebuild
@@ -0,0 +1,332 @@
+# Copyright 1999-2024 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..12} )
+
+inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+
+IUSE="+X aqua +asimage cuda cudnn +davix debug +examples fits fftw fortran
+ +gdml graphviz +gsl +http jupyter libcxx +minuit mpi mysql odbc +opengl
+ postgres pythia8 +python qt5 qt6 R +roofit +root7 shadow sqlite +ssl
+ +tbb test +tmva +unuran uring vc +xml xrootd"
+
+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
+
+RESTRICT="test"
+PROPERTIES="test_network"
+
+REQUIRED_USE="
+ cuda? ( tmva )
+ cudnn? ( cuda )
+ !X? ( !asimage !opengl !qt5 !qt6 )
+ davix? ( ssl xml )
+ jupyter? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ qt5? ( root7 http )
+ qt6? ( root7 http )
+ roofit? ( minuit )
+ 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/qtwebengine:5[widgets]
+ )
+ qt6? (
+ dev-qt/qtbase:6
+ dev-qt/qtwebengine:6[widgets]
+ )
+ )
+ 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
+ )
+ )
+ postgres? ( dev-db/postgresql:= )
+ 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-1.4.4:= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}
+ jupyter? (
+ $(python_gen_cond_dep '
+ dev-python/jupyter[${PYTHON_USEDEP}]
+ dev-python/notebook[${PYTHON_USEDEP}]
+ dev-python/metakernel[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+BDEPEND="${PYTHON_DEPS}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
+)
+
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
+ python-single-r1_pkg_setup
+
+ elog "There are extra options on packages not available in Gentoo."
+ elog "You can use the environment variable MYCMAKEARGS to enable"
+ elog "these packages. For example, for Vdt you would set:"
+ elog "MYCMAKEARGS=\"-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() {
+
+ filter-lto # https://bugs.gentoo.org/879323
+
+ 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}"
+ # 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
+ -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_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)
+ -Dgviz=$(usex graphviz)
+ -Dhttp=$(usex http)
+ -Dimt=$(usex tbb)
+ -Dlibcxx=$(usex libcxx)
+ -Dmathmore=$(usex gsl)
+ -Dminuit=$(usex minuit)
+ -Dmlp=$(usex tmva)
+ -Dmpi=$(usex mpi)
+ -Dmysql=$(usex mysql)
+ -Dodbc=$(usex odbc)
+ -Dopengl=$(usex opengl)
+ -Dpgsql=$(usex postgres)
+ -Dpyroot=$(usex python) # python was renamed to pyroot
+ -Dpythia8=$(usex pythia8)
+ -Dqt5web=$(usex qt5)
+ -Dqt6web=$(usex qt6)
+ -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)
+ -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
+ -Dwebgui=$(usex http)
+ -Dx11=$(usex X)
+ -Dxml=$(usex xml)
+ -Dxrootd=$(usex xrootd)
+ )
+
+ # 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
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-06-19 7:56 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-06-19 7:56 UTC (permalink / raw
To: gentoo-commits
commit: 1a0c51b1a97a10b9a7ed862db843cbf95db52b99
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 19 07:56:22 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Jun 19 07:56:36 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a0c51b1
sci-physics/root: add 6.32.02, drop 6.32.00
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.32.00.ebuild => root-6.32.02.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 5ce5820ca69a..035a25a69923 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,3 +1,3 @@
DIST root_v6.28.12.source.tar.gz 185351881 BLAKE2B 623897580edaf91870be8f894df1a36582f9d0e066dcf025fa9143ee9e30100b8b1bc952659f44f87af78b0815cb1cef602c8620a61d5abad015eb74ac3b62fb SHA512 b8b3d918245340ef4657c96580227a74d11042c2f2ed58e33946b8b42ed7d1acae9ff3ec8f537c725bd527adf7e386bbeab40be1b535bb3008a3cad3f8d56cfc
DIST root_v6.30.06.source.tar.gz 184791201 BLAKE2B 02830a683971fd55578dad6daf513e947ff9630af919c5f95af33959c9e99bcb01d9db3c589e037b7af56c2689f3085ca69e4353e9ea2a4648d98fa12145ccea SHA512 4ebdb1bd610b3611e2c9bdb776dce2efdb243c41558bde42961548eea751df85aad66f30f7c1e99d97024bf581b727d75710a67b6e5e630131fc3fdc4bdfb3bf
-DIST root_v6.32.00.source.tar.gz 192888872 BLAKE2B 504638aa1ec824280b8661f0f163995c902c4ae8ef149a3fe6d9887239dfeb56b59868d443fa4834d943c0528d3ad6250d9017c8fec5ae446513191596571d75 SHA512 04e40a7ce0d92758aecdc9249b5349faed79c0d41337abc2229a5cc081cfc1b90f879ffd427f586dc7e23b025755f7bf1388a3f7d5ad3bbceef77e91b48b68ea
+DIST root_v6.32.02.source.tar.gz 192892722 BLAKE2B b1a3ad870a064158351425d11b385366d5133dcc861b8b9ef8a692e45cad33361fb2e08eb94f1cc6d2eab13cf0632f0e4dac5694b129d64a37fd31d7aa695d9c SHA512 d3869ddb49a8afc753c144f1a5e09010ad7c1980ef2e13d7379ce25b19152ac83c660c3e21212cf70e2afb9c308cff96e320b93e029284d9480a5a79e7e2a24b
diff --git a/sci-physics/root/root-6.32.00.ebuild b/sci-physics/root/root-6.32.02.ebuild
similarity index 100%
rename from sci-physics/root/root-6.32.00.ebuild
rename to sci-physics/root/root-6.32.02.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-08-14 14:36 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-08-14 14:36 UTC (permalink / raw
To: gentoo-commits
commit: b21865c591b06ab76034530b073ea7233d731198
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 14 12:54:01 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 14:36:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b21865c5
sci-physics/root: drop 6.28.12-r1
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 -
sci-physics/root/root-6.28.12-r1.ebuild | 344 --------------------------------
2 files changed, 345 deletions(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index bac6db6bd563..c9e1f7977ba4 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,3 +1,2 @@
-DIST root_v6.28.12.source.tar.gz 185351881 BLAKE2B 623897580edaf91870be8f894df1a36582f9d0e066dcf025fa9143ee9e30100b8b1bc952659f44f87af78b0815cb1cef602c8620a61d5abad015eb74ac3b62fb SHA512 b8b3d918245340ef4657c96580227a74d11042c2f2ed58e33946b8b42ed7d1acae9ff3ec8f537c725bd527adf7e386bbeab40be1b535bb3008a3cad3f8d56cfc
DIST root_v6.30.08.source.tar.gz 184887777 BLAKE2B 730bce87e343e0b84bd1f53c03527a1953d6915cfd63393ed1eee1f9e19a795b6e6a7149a511ed3b8cd17380acbbc4956d031169d571f9685e920f0c73fc67c8 SHA512 08da422cfbd879e1601064f04210db52c571545cca534dc37d67a190ccea948af0af01a67dcee553fb557fe0fb290a062f7905e413ebc1b15c2f32a5adff93cb
DIST root_v6.32.04.source.tar.gz 192915562 BLAKE2B 98cba4c933526b78392a6270a1cff6b0c2a23c72248d0f32b660e125fe2bff58f357d4e7acbc36f915988b5d19b990cdd05c25f415dc61ce2fefa0fcd71aee4b SHA512 e260b796a7711663900951a1c9773b069293b7829ed29c509a3bc0128b07468581e388620322065185f4ff42b6f585058ba3decc54d9ba88f3c41bc25d75d0ba
diff --git a/sci-physics/root/root-6.28.12-r1.ebuild b/sci-physics/root/root-6.28.12-r1.ebuild
deleted file mode 100644
index 8cbfeef8d40d..000000000000
--- a/sci-physics/root/root-6.28.12-r1.ebuild
+++ /dev/null
@@ -1,344 +0,0 @@
-# Copyright 1999-2024 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..12} )
-
-inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-
-IUSE="+X aqua +asimage 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 qt6 R +roofit +root7 shadow
- sqlite +ssl +tbb test +tmva +unuran uring vc +xml xrootd"
-
-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
-
-RESTRICT="test"
-PROPERTIES="test_network"
-
-REQUIRED_USE="
- cuda? ( tmva )
- cudnn? ( cuda )
- !X? ( !asimage !opengl !qt5 !qt6 )
- davix? ( ssl xml )
- jupyter? ( python )
- python? ( ${PYTHON_REQUIRED_USE} )
- qt5? ( root7 http )
- qt6? ( root7 http )
- roofit? ( minuit )
- 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/qtwebengine:5[widgets]
- )
- qt6? (
- dev-qt/qtbase:6
- dev-qt/qtwebengine:6[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= )
- 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-1.4.4:= )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}
- jupyter? (
- $(python_gen_cond_dep '
- dev-python/jupyter[${PYTHON_USEDEP}]
- dev-python/notebook[${PYTHON_USEDEP}]
- dev-python/metakernel[${PYTHON_USEDEP}]
- ')
- )
-"
-
-BDEPEND="${PYTHON_DEPS}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
-)
-
-pkg_setup() {
- use fortran && fortran-2_pkg_setup
- python-single-r1_pkg_setup
-
- elog "There are extra options on packages not available in Gentoo."
- elog "You can use the environment variable MYCMAKEARGS to enable"
- elog "these packages. For example, for Vdt you would set:"
- elog "MYCMAKEARGS=\"-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() {
-
- filter-lto # https://bugs.gentoo.org/879323
-
- 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}"
- # 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=$(usex qt6)
- -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
- -Dwebgui=$(usex http)
- -Dx11=$(usex X)
- -Dxml=$(usex xml)
- -Dxrootd=$(usex xrootd)
- )
-
- # 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
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-08-14 14:36 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-08-14 14:36 UTC (permalink / raw
To: gentoo-commits
commit: 8bda5a52d5beb399fe3d07622a229079972d3756
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 14 12:55:21 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 14:36:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bda5a52
sci-physics/root: add 6.32.9999
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.32.9999.ebuild | 331 +++++++++++++++++++++++++++++++++
1 file changed, 331 insertions(+)
diff --git a/sci-physics/root/root-6.32.9999.ebuild b/sci-physics/root/root-6.32.9999.ebuild
new file mode 100644
index 000000000000..f0e0690cfb51
--- /dev/null
+++ b/sci-physics/root/root-6.32.9999.ebuild
@@ -0,0 +1,331 @@
+# Copyright 1999-2024 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..12} )
+
+inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+
+IUSE="+X aqua +asimage cuda cudnn +davix debug +examples fits fftw fortran
+ +gdml graphviz +gsl +http jupyter libcxx +minuit mpi mysql odbc +opengl
+ postgres pythia8 +python qt5 qt6 R +roofit +root7 shadow sqlite +ssl
+ +tbb test +tmva +unuran uring vc +xml xrootd"
+
+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
+
+RESTRICT="test"
+PROPERTIES="test_network"
+
+REQUIRED_USE="
+ cuda? ( tmva )
+ cudnn? ( cuda )
+ !X? ( !asimage !opengl !qt5 !qt6 )
+ davix? ( ssl xml )
+ jupyter? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ qt5? ( root7 http )
+ qt6? ( root7 http )
+ roofit? ( minuit )
+ 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/qtwebengine:5[widgets]
+ )
+ qt6? (
+ dev-qt/qtbase:6
+ dev-qt/qtwebengine:6[widgets]
+ )
+ )
+ 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= )
+ mpi? ( virtual/mpi[fortran?] )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? (
+ || (
+ dev-db/libiodbc
+ dev-db/unixODBC
+ )
+ )
+ postgres? ( dev-db/postgresql:= )
+ 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-1.4.4:= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}
+ jupyter? (
+ $(python_gen_cond_dep '
+ dev-python/jupyter[${PYTHON_USEDEP}]
+ dev-python/notebook[${PYTHON_USEDEP}]
+ dev-python/metakernel[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+BDEPEND="${PYTHON_DEPS}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
+)
+
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
+ python-single-r1_pkg_setup
+
+ elog "There are extra options on packages not available in Gentoo."
+ elog "You can use the environment variable MYCMAKEARGS to enable"
+ elog "these packages. For example, for Vdt you would set:"
+ elog "MYCMAKEARGS=\"-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() {
+
+ filter-lto # https://bugs.gentoo.org/879323
+
+ 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}"
+ # 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
+ -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_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)
+ -Dgviz=$(usex graphviz)
+ -Dhttp=$(usex http)
+ -Dimt=$(usex tbb)
+ -Dlibcxx=$(usex libcxx)
+ -Dmathmore=$(usex gsl)
+ -Dminuit=$(usex minuit)
+ -Dmlp=$(usex tmva)
+ -Dmpi=$(usex mpi)
+ -Dmysql=$(usex mysql)
+ -Dodbc=$(usex odbc)
+ -Dopengl=$(usex opengl)
+ -Dpgsql=$(usex postgres)
+ -Dpyroot=$(usex python) # python was renamed to pyroot
+ -Dpythia8=$(usex pythia8)
+ -Dqt5web=$(usex qt5)
+ -Dqt6web=$(usex qt6)
+ -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)
+ -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
+ -Dwebgui=$(usex http)
+ -Dx11=$(usex X)
+ -Dxml=$(usex xml)
+ -Dxrootd=$(usex xrootd)
+ )
+
+ # 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
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-08-14 14:36 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-08-14 14:36 UTC (permalink / raw
To: gentoo-commits
commit: f1c0bc81eca77cb1f4dba28e200d6c1c212bd764
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 14 12:49:33 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 14:36:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1c0bc81
sci-physics/root: remove blocker on sci-libs/minuit
Packaged removed in 7fd35e961b5570f249b16f91b2c66412a4f6305b.
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.28.12-r1.ebuild | 1 -
sci-physics/root/root-6.30.06.ebuild | 1 -
sci-physics/root/root-6.30.9999.ebuild | 1 -
sci-physics/root/root-6.32.02.ebuild | 1 -
sci-physics/root/root-9999.ebuild | 1 -
5 files changed, 5 deletions(-)
diff --git a/sci-physics/root/root-6.28.12-r1.ebuild b/sci-physics/root/root-6.28.12-r1.ebuild
index 1c6e78d4b623..8cbfeef8d40d 100644
--- a/sci-physics/root/root-6.28.12-r1.ebuild
+++ b/sci-physics/root/root-6.28.12-r1.ebuild
@@ -97,7 +97,6 @@ CDEPEND="
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? (
diff --git a/sci-physics/root/root-6.30.06.ebuild b/sci-physics/root/root-6.30.06.ebuild
index 1c6e78d4b623..8cbfeef8d40d 100644
--- a/sci-physics/root/root-6.30.06.ebuild
+++ b/sci-physics/root/root-6.30.06.ebuild
@@ -97,7 +97,6 @@ CDEPEND="
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? (
diff --git a/sci-physics/root/root-6.30.9999.ebuild b/sci-physics/root/root-6.30.9999.ebuild
index 1c6e78d4b623..8cbfeef8d40d 100644
--- a/sci-physics/root/root-6.30.9999.ebuild
+++ b/sci-physics/root/root-6.30.9999.ebuild
@@ -97,7 +97,6 @@ CDEPEND="
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? (
diff --git a/sci-physics/root/root-6.32.02.ebuild b/sci-physics/root/root-6.32.02.ebuild
index fa797d38a0aa..f0e0690cfb51 100644
--- a/sci-physics/root/root-6.32.02.ebuild
+++ b/sci-physics/root/root-6.32.02.ebuild
@@ -96,7 +96,6 @@ CDEPEND="
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? (
diff --git a/sci-physics/root/root-9999.ebuild b/sci-physics/root/root-9999.ebuild
index fa797d38a0aa..f0e0690cfb51 100644
--- a/sci-physics/root/root-9999.ebuild
+++ b/sci-physics/root/root-9999.ebuild
@@ -96,7 +96,6 @@ CDEPEND="
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? (
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-08-14 14:36 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-08-14 14:36 UTC (permalink / raw
To: gentoo-commits
commit: ac27949fd2c221eaa0a9e1a14b0ca73ab840ad93
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 14 12:53:39 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 14:36:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac27949f
sci-physics/root: add 6.32.04, drop 6.32.02
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.32.02.ebuild => root-6.32.04.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index d95949f2a946..bac6db6bd563 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,3 +1,3 @@
DIST root_v6.28.12.source.tar.gz 185351881 BLAKE2B 623897580edaf91870be8f894df1a36582f9d0e066dcf025fa9143ee9e30100b8b1bc952659f44f87af78b0815cb1cef602c8620a61d5abad015eb74ac3b62fb SHA512 b8b3d918245340ef4657c96580227a74d11042c2f2ed58e33946b8b42ed7d1acae9ff3ec8f537c725bd527adf7e386bbeab40be1b535bb3008a3cad3f8d56cfc
DIST root_v6.30.08.source.tar.gz 184887777 BLAKE2B 730bce87e343e0b84bd1f53c03527a1953d6915cfd63393ed1eee1f9e19a795b6e6a7149a511ed3b8cd17380acbbc4956d031169d571f9685e920f0c73fc67c8 SHA512 08da422cfbd879e1601064f04210db52c571545cca534dc37d67a190ccea948af0af01a67dcee553fb557fe0fb290a062f7905e413ebc1b15c2f32a5adff93cb
-DIST root_v6.32.02.source.tar.gz 192892722 BLAKE2B b1a3ad870a064158351425d11b385366d5133dcc861b8b9ef8a692e45cad33361fb2e08eb94f1cc6d2eab13cf0632f0e4dac5694b129d64a37fd31d7aa695d9c SHA512 d3869ddb49a8afc753c144f1a5e09010ad7c1980ef2e13d7379ce25b19152ac83c660c3e21212cf70e2afb9c308cff96e320b93e029284d9480a5a79e7e2a24b
+DIST root_v6.32.04.source.tar.gz 192915562 BLAKE2B 98cba4c933526b78392a6270a1cff6b0c2a23c72248d0f32b660e125fe2bff58f357d4e7acbc36f915988b5d19b990cdd05c25f415dc61ce2fefa0fcd71aee4b SHA512 e260b796a7711663900951a1c9773b069293b7829ed29c509a3bc0128b07468581e388620322065185f4ff42b6f585058ba3decc54d9ba88f3c41bc25d75d0ba
diff --git a/sci-physics/root/root-6.32.02.ebuild b/sci-physics/root/root-6.32.04.ebuild
similarity index 100%
rename from sci-physics/root/root-6.32.02.ebuild
rename to sci-physics/root/root-6.32.04.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-08-14 14:36 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-08-14 14:36 UTC (permalink / raw
To: gentoo-commits
commit: 8019430222f04438d25fd7cc6577a28589e469d1
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 14 12:53:26 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 14:36:01 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80194302
sci-physics/root: add 6.30.08, drop 6.30.06
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.30.06.ebuild => root-6.30.08.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 035a25a69923..d95949f2a946 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,3 +1,3 @@
DIST root_v6.28.12.source.tar.gz 185351881 BLAKE2B 623897580edaf91870be8f894df1a36582f9d0e066dcf025fa9143ee9e30100b8b1bc952659f44f87af78b0815cb1cef602c8620a61d5abad015eb74ac3b62fb SHA512 b8b3d918245340ef4657c96580227a74d11042c2f2ed58e33946b8b42ed7d1acae9ff3ec8f537c725bd527adf7e386bbeab40be1b535bb3008a3cad3f8d56cfc
-DIST root_v6.30.06.source.tar.gz 184791201 BLAKE2B 02830a683971fd55578dad6daf513e947ff9630af919c5f95af33959c9e99bcb01d9db3c589e037b7af56c2689f3085ca69e4353e9ea2a4648d98fa12145ccea SHA512 4ebdb1bd610b3611e2c9bdb776dce2efdb243c41558bde42961548eea751df85aad66f30f7c1e99d97024bf581b727d75710a67b6e5e630131fc3fdc4bdfb3bf
+DIST root_v6.30.08.source.tar.gz 184887777 BLAKE2B 730bce87e343e0b84bd1f53c03527a1953d6915cfd63393ed1eee1f9e19a795b6e6a7149a511ed3b8cd17380acbbc4956d031169d571f9685e920f0c73fc67c8 SHA512 08da422cfbd879e1601064f04210db52c571545cca534dc37d67a190ccea948af0af01a67dcee553fb557fe0fb290a062f7905e413ebc1b15c2f32a5adff93cb
DIST root_v6.32.02.source.tar.gz 192892722 BLAKE2B b1a3ad870a064158351425d11b385366d5133dcc861b8b9ef8a692e45cad33361fb2e08eb94f1cc6d2eab13cf0632f0e4dac5694b129d64a37fd31d7aa695d9c SHA512 d3869ddb49a8afc753c144f1a5e09010ad7c1980ef2e13d7379ce25b19152ac83c660c3e21212cf70e2afb9c308cff96e320b93e029284d9480a5a79e7e2a24b
diff --git a/sci-physics/root/root-6.30.06.ebuild b/sci-physics/root/root-6.30.08.ebuild
similarity index 100%
rename from sci-physics/root/root-6.30.06.ebuild
rename to sci-physics/root/root-6.30.08.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-08-14 14:36 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-08-14 14:36 UTC (permalink / raw
To: gentoo-commits
commit: 1a209033b6a4f7ed41cbb5e374064c802d0fe188
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 14 12:55:34 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Wed Aug 14 14:36:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a209033
sci-physics/root: drop 6.30.9999
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/root-6.30.9999.ebuild | 344 ---------------------------------
1 file changed, 344 deletions(-)
diff --git a/sci-physics/root/root-6.30.9999.ebuild b/sci-physics/root/root-6.30.9999.ebuild
deleted file mode 100644
index 8cbfeef8d40d..000000000000
--- a/sci-physics/root/root-6.30.9999.ebuild
+++ /dev/null
@@ -1,344 +0,0 @@
-# Copyright 1999-2024 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..12} )
-
-inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs
-
-DESCRIPTION="C++ data analysis framework and interpreter from CERN"
-HOMEPAGE="https://root.cern"
-LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
-
-IUSE="+X aqua +asimage 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 qt6 R +roofit +root7 shadow
- sqlite +ssl +tbb test +tmva +unuran uring vc +xml xrootd"
-
-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
-
-RESTRICT="test"
-PROPERTIES="test_network"
-
-REQUIRED_USE="
- cuda? ( tmva )
- cudnn? ( cuda )
- !X? ( !asimage !opengl !qt5 !qt6 )
- davix? ( ssl xml )
- jupyter? ( python )
- python? ( ${PYTHON_REQUIRED_USE} )
- qt5? ( root7 http )
- qt6? ( root7 http )
- roofit? ( minuit )
- 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/qtwebengine:5[widgets]
- )
- qt6? (
- dev-qt/qtbase:6
- dev-qt/qtwebengine:6[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= )
- 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-1.4.4:= )
- xml? ( dev-libs/libxml2:2= )
- xrootd? ( net-libs/xrootd:0= )
-"
-
-DEPEND="${CDEPEND}
- virtual/pkgconfig"
-
-RDEPEND="${CDEPEND}
- jupyter? (
- $(python_gen_cond_dep '
- dev-python/jupyter[${PYTHON_USEDEP}]
- dev-python/notebook[${PYTHON_USEDEP}]
- dev-python/metakernel[${PYTHON_USEDEP}]
- ')
- )
-"
-
-BDEPEND="${PYTHON_DEPS}"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
-)
-
-pkg_setup() {
- use fortran && fortran-2_pkg_setup
- python-single-r1_pkg_setup
-
- elog "There are extra options on packages not available in Gentoo."
- elog "You can use the environment variable MYCMAKEARGS to enable"
- elog "these packages. For example, for Vdt you would set:"
- elog "MYCMAKEARGS=\"-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() {
-
- filter-lto # https://bugs.gentoo.org/879323
-
- 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}"
- # 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=$(usex qt6)
- -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
- -Dwebgui=$(usex http)
- -Dx11=$(usex X)
- -Dxml=$(usex xml)
- -Dxrootd=$(usex xrootd)
- )
-
- # 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
-}
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-09-30 14:19 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-09-30 14:19 UTC (permalink / raw
To: gentoo-commits
commit: b1f1e75a7dfd044a0d452ea6007b4d2a886e53ea
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 27 14:40:47 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Mon Sep 30 14:19:06 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1f1e75a
sci-physics/root: add 6.32.06, drop 6.32.04
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 2 +-
sci-physics/root/{root-6.32.04.ebuild => root-6.32.06.ebuild} | 0
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index c9e1f7977ba4..9c3ea86e31af 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,2 @@
DIST root_v6.30.08.source.tar.gz 184887777 BLAKE2B 730bce87e343e0b84bd1f53c03527a1953d6915cfd63393ed1eee1f9e19a795b6e6a7149a511ed3b8cd17380acbbc4956d031169d571f9685e920f0c73fc67c8 SHA512 08da422cfbd879e1601064f04210db52c571545cca534dc37d67a190ccea948af0af01a67dcee553fb557fe0fb290a062f7905e413ebc1b15c2f32a5adff93cb
-DIST root_v6.32.04.source.tar.gz 192915562 BLAKE2B 98cba4c933526b78392a6270a1cff6b0c2a23c72248d0f32b660e125fe2bff58f357d4e7acbc36f915988b5d19b990cdd05c25f415dc61ce2fefa0fcd71aee4b SHA512 e260b796a7711663900951a1c9773b069293b7829ed29c509a3bc0128b07468581e388620322065185f4ff42b6f585058ba3decc54d9ba88f3c41bc25d75d0ba
+DIST root_v6.32.06.source.tar.gz 192918335 BLAKE2B 2d0553048c6ee4c107329655b8bc812135059f13b180c1278361b2ec16131e1efa03b6c3fb72fa8d44cee8c6c52573473fd262202c9a2aeb6b74dd4a01238398 SHA512 e8507bd18e7e580d597ef91fc56ab62b7c5becaed5b1f10d18e2715703232a88e05c6e008066c6600a4dc14c676f8c3e904b75e95047697c2abd26b7a2f4a928
diff --git a/sci-physics/root/root-6.32.04.ebuild b/sci-physics/root/root-6.32.06.ebuild
similarity index 100%
rename from sci-physics/root/root-6.32.04.ebuild
rename to sci-physics/root/root-6.32.06.ebuild
^ permalink raw reply related [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-11-22 15:09 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-11-22 15:09 UTC (permalink / raw
To: gentoo-commits
commit: f162f33c8b4b2e61848a50670d89a993b3fbd5d4
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 20 08:13:08 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 15:06:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f162f33c
sci-physics/root: move live ebuild to v6-34-00-patches branch
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/{root-6.32.9999.ebuild => root-6.34.9999.ebuild} | 0
1 file changed, 0 insertions(+), 0 deletions(-)
diff --git a/sci-physics/root/root-6.32.9999.ebuild b/sci-physics/root/root-6.34.9999.ebuild
similarity index 100%
rename from sci-physics/root/root-6.32.9999.ebuild
rename to sci-physics/root/root-6.34.9999.ebuild
^ permalink raw reply [flat|nested] 196+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/
@ 2024-11-22 15:09 Guilherme Amadio
0 siblings, 0 replies; 196+ messages in thread
From: Guilherme Amadio @ 2024-11-22 15:09 UTC (permalink / raw
To: gentoo-commits
commit: 45bf725ca1bb8bc382fde4de9ca8aef212d76f20
Author: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 20 08:12:11 2024 +0000
Commit: Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Nov 22 15:06:54 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45bf725c
sci-physics/root: add 6.32.08
Signed-off-by: Guilherme Amadio <amadio <AT> gentoo.org>
sci-physics/root/Manifest | 1 +
sci-physics/root/root-6.32.08.ebuild | 331 +++++++++++++++++++++++++++++++++++
2 files changed, 332 insertions(+)
diff --git a/sci-physics/root/Manifest b/sci-physics/root/Manifest
index 9c3ea86e31af..620f17ffc4e6 100644
--- a/sci-physics/root/Manifest
+++ b/sci-physics/root/Manifest
@@ -1,2 +1,3 @@
DIST root_v6.30.08.source.tar.gz 184887777 BLAKE2B 730bce87e343e0b84bd1f53c03527a1953d6915cfd63393ed1eee1f9e19a795b6e6a7149a511ed3b8cd17380acbbc4956d031169d571f9685e920f0c73fc67c8 SHA512 08da422cfbd879e1601064f04210db52c571545cca534dc37d67a190ccea948af0af01a67dcee553fb557fe0fb290a062f7905e413ebc1b15c2f32a5adff93cb
DIST root_v6.32.06.source.tar.gz 192918335 BLAKE2B 2d0553048c6ee4c107329655b8bc812135059f13b180c1278361b2ec16131e1efa03b6c3fb72fa8d44cee8c6c52573473fd262202c9a2aeb6b74dd4a01238398 SHA512 e8507bd18e7e580d597ef91fc56ab62b7c5becaed5b1f10d18e2715703232a88e05c6e008066c6600a4dc14c676f8c3e904b75e95047697c2abd26b7a2f4a928
+DIST root_v6.32.08.source.tar.gz 192930079 BLAKE2B 8810322ea518607a81cddeec41645ced272ca0ddbb2bc36a7710d49b6d52a4d897fd369d4f201653a6c7a6ef278121a529b69e62e99c49f13dc0a9ca224ef07d SHA512 fd4f66a4dcf577e5103a99c6d859e832597680f46af420eac2b50d5cf57c745046b1600f0c48f2b2a4d0f26c5ddd1a3bb8159df742363d28a6c6a12efc4224db
diff --git a/sci-physics/root/root-6.32.08.ebuild b/sci-physics/root/root-6.32.08.ebuild
new file mode 100644
index 000000000000..f0e0690cfb51
--- /dev/null
+++ b/sci-physics/root/root-6.32.08.ebuild
@@ -0,0 +1,331 @@
+# Copyright 1999-2024 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..12} )
+
+inherit cmake cuda flag-o-matic fortran-2 python-single-r1 toolchain-funcs
+
+DESCRIPTION="C++ data analysis framework and interpreter from CERN"
+HOMEPAGE="https://root.cern"
+LICENSE="LGPL-2.1 freedist MSttfEULA LGPL-3 libpng UoI-NCSA"
+
+IUSE="+X aqua +asimage cuda cudnn +davix debug +examples fits fftw fortran
+ +gdml graphviz +gsl +http jupyter libcxx +minuit mpi mysql odbc +opengl
+ postgres pythia8 +python qt5 qt6 R +roofit +root7 shadow sqlite +ssl
+ +tbb test +tmva +unuran uring vc +xml xrootd"
+
+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
+
+RESTRICT="test"
+PROPERTIES="test_network"
+
+REQUIRED_USE="
+ cuda? ( tmva )
+ cudnn? ( cuda )
+ !X? ( !asimage !opengl !qt5 !qt6 )
+ davix? ( ssl xml )
+ jupyter? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ qt5? ( root7 http )
+ qt6? ( root7 http )
+ roofit? ( minuit )
+ 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/qtwebengine:5[widgets]
+ )
+ qt6? (
+ dev-qt/qtbase:6
+ dev-qt/qtwebengine:6[widgets]
+ )
+ )
+ 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= )
+ mpi? ( virtual/mpi[fortran?] )
+ mysql? ( dev-db/mysql-connector-c )
+ odbc? (
+ || (
+ dev-db/libiodbc
+ dev-db/unixODBC
+ )
+ )
+ postgres? ( dev-db/postgresql:= )
+ 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-1.4.4:= )
+ xml? ( dev-libs/libxml2:2= )
+ xrootd? ( net-libs/xrootd:0= )
+"
+
+DEPEND="${CDEPEND}
+ virtual/pkgconfig"
+
+RDEPEND="${CDEPEND}
+ jupyter? (
+ $(python_gen_cond_dep '
+ dev-python/jupyter[${PYTHON_USEDEP}]
+ dev-python/notebook[${PYTHON_USEDEP}]
+ dev-python/metakernel[${PYTHON_USEDEP}]
+ ')
+ )
+"
+
+BDEPEND="${PYTHON_DEPS}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-6.12.06_cling-runtime-sysroot.patch
+)
+
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
+ python-single-r1_pkg_setup
+
+ elog "There are extra options on packages not available in Gentoo."
+ elog "You can use the environment variable MYCMAKEARGS to enable"
+ elog "these packages. For example, for Vdt you would set:"
+ elog "MYCMAKEARGS=\"-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() {
+
+ filter-lto # https://bugs.gentoo.org/879323
+
+ 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}"
+ # 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
+ -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_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)
+ -Dgviz=$(usex graphviz)
+ -Dhttp=$(usex http)
+ -Dimt=$(usex tbb)
+ -Dlibcxx=$(usex libcxx)
+ -Dmathmore=$(usex gsl)
+ -Dminuit=$(usex minuit)
+ -Dmlp=$(usex tmva)
+ -Dmpi=$(usex mpi)
+ -Dmysql=$(usex mysql)
+ -Dodbc=$(usex odbc)
+ -Dopengl=$(usex opengl)
+ -Dpgsql=$(usex postgres)
+ -Dpyroot=$(usex python) # python was renamed to pyroot
+ -Dpythia8=$(usex pythia8)
+ -Dqt5web=$(usex qt5)
+ -Dqt6web=$(usex qt6)
+ -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)
+ -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
+ -Dwebgui=$(usex http)
+ -Dx11=$(usex X)
+ -Dxml=$(usex xml)
+ -Dxrootd=$(usex xrootd)
+ )
+
+ # 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
+}
^ permalink raw reply related [flat|nested] 196+ messages in thread
end of thread, other threads:[~2024-11-22 15:09 UTC | newest]
Thread overview: 196+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-09 9:28 [gentoo-commits] repo/gentoo:master commit in: sci-physics/root/ Guilherme Amadio
-- strict thread matches above, loose matches on Subject: below --
2024-11-22 15:09 Guilherme Amadio
2024-11-22 15:09 Guilherme Amadio
2024-09-30 14:19 Guilherme Amadio
2024-08-14 14:36 Guilherme Amadio
2024-08-14 14:36 Guilherme Amadio
2024-08-14 14:36 Guilherme Amadio
2024-08-14 14:36 Guilherme Amadio
2024-08-14 14:36 Guilherme Amadio
2024-08-14 14:36 Guilherme Amadio
2024-06-19 7:56 Guilherme Amadio
2024-05-30 15:38 Guilherme Amadio
2024-05-30 15:38 Guilherme Amadio
2024-04-09 16:07 Guilherme Amadio
2024-03-11 3:11 Benda XU
2024-03-10 12:16 Guilherme Amadio
2024-03-10 12:16 Guilherme Amadio
2024-03-10 12:16 Guilherme Amadio
2024-03-10 12:16 Guilherme Amadio
2024-03-10 12:16 Guilherme Amadio
2024-01-31 15:51 Guilherme Amadio
2024-01-30 15:25 Guilherme Amadio
2024-01-30 15:25 Guilherme Amadio
2023-12-05 12:16 Guilherme Amadio
2023-11-30 12:35 Guilherme Amadio
2023-11-30 12:35 Guilherme Amadio
2023-11-14 15:13 Guilherme Amadio
2023-11-14 15:13 Guilherme Amadio
2023-11-14 15:13 Guilherme Amadio
2023-11-14 15:13 Guilherme Amadio
2023-11-14 15:13 Guilherme Amadio
2023-10-30 7:58 Guilherme Amadio
2023-10-27 6:56 Guilherme Amadio
2023-10-27 6:56 Guilherme Amadio
2023-09-26 7:28 Guilherme Amadio
2023-09-11 11:46 Guilherme Amadio
2023-05-17 14:59 Guilherme Amadio
2023-05-17 14:59 Guilherme Amadio
2023-05-17 14:59 Guilherme Amadio
2023-03-24 15:39 Guilherme Amadio
2023-02-28 10:47 Guilherme Amadio
2023-02-24 16:37 Guilherme Amadio
2023-02-13 9:56 Guilherme Amadio
2023-02-13 9:56 Guilherme Amadio
2023-02-13 9:56 Guilherme Amadio
2023-02-13 9:56 Guilherme Amadio
2023-02-13 9:56 Guilherme Amadio
2022-12-19 14:47 Andreas Sturmlechner
2022-10-20 8:44 Guilherme Amadio
2022-10-20 8:44 Guilherme Amadio
2022-10-14 12:48 Andrew Ammerlaan
2022-09-21 8:19 Guilherme Amadio
2022-09-21 8:19 Guilherme Amadio
2022-05-23 15:21 Guilherme Amadio
2022-04-13 6:22 Guilherme Amadio
2022-04-13 6:22 Guilherme Amadio
2022-04-13 6:22 Guilherme Amadio
2022-03-20 18:51 Sam James
2022-03-09 16:31 Guilherme Amadio
2022-03-09 16:31 Guilherme Amadio
2022-03-09 16:31 Guilherme Amadio
2022-03-09 16:31 Guilherme Amadio
2022-01-15 21:51 Sam James
2021-10-29 22:23 Sam James
2021-10-18 11:36 Guilherme Amadio
2021-09-06 6:38 Guilherme Amadio
2021-08-26 9:28 Guilherme Amadio
2021-07-17 18:18 David Seifert
2021-06-28 19:42 Guilherme Amadio
2021-06-28 16:15 Guilherme Amadio
2021-06-28 16:15 Guilherme Amadio
2021-06-28 12:24 Guilherme Amadio
2021-06-28 12:24 Guilherme Amadio
2021-06-22 22:38 Sam James
2021-04-21 14:13 Guilherme Amadio
2021-04-21 14:13 Guilherme Amadio
2021-04-21 14:13 Guilherme Amadio
2021-03-23 13:09 Guilherme Amadio
2021-03-04 23:39 Andreas Sturmlechner
2021-02-15 0:32 Sam James
2020-11-30 13:00 Guilherme Amadio
2020-11-18 9:39 Guilherme Amadio
2020-11-18 9:39 Guilherme Amadio
2020-09-16 10:05 Michał Górny
2020-08-27 15:31 Guilherme Amadio
2020-08-27 15:31 Guilherme Amadio
2020-07-08 13:32 Marek Szuba
2020-06-15 10:28 Guilherme Amadio
2020-06-15 9:45 Guilherme Amadio
2020-06-15 9:45 Guilherme Amadio
2020-06-15 9:45 Guilherme Amadio
2020-06-15 9:45 Guilherme Amadio
2020-06-15 9:45 Guilherme Amadio
2020-05-07 13:44 Guilherme Amadio
2020-04-01 11:30 Guilherme Amadio
2020-04-01 11:30 Guilherme Amadio
2020-03-16 13:32 Guilherme Amadio
2020-03-12 12:18 Guilherme Amadio
2020-03-12 7:27 Guilherme Amadio
2020-03-12 7:27 Guilherme Amadio
2020-03-12 7:27 Guilherme Amadio
2020-03-12 7:27 Guilherme Amadio
2020-03-10 20:04 Guilherme Amadio
2020-03-10 20:04 Guilherme Amadio
2020-03-07 9:55 Mikle Kolyada
2020-03-03 9:07 Guilherme Amadio
2020-02-09 16:47 Michał Górny
2020-02-08 16:53 David Seifert
2020-01-22 11:24 Guilherme Amadio
2020-01-16 7:59 Michał Górny
2020-01-16 7:03 Michał Górny
2019-12-20 22:49 Ulrich Müller
2019-12-12 14:58 Michał Górny
2019-11-18 11:10 Guilherme Amadio
2019-09-30 12:49 Guilherme Amadio
2019-09-09 6:13 Guilherme Amadio
2019-09-09 6:13 Guilherme Amadio
2019-08-20 6:33 Guilherme Amadio
2019-08-08 14:49 Guilherme Amadio
2019-08-05 15:34 Guilherme Amadio
2019-08-05 15:30 Guilherme Amadio
2019-07-29 6:34 Guilherme Amadio
2019-07-17 14:06 Guilherme Amadio
2019-07-17 14:06 Guilherme Amadio
2019-06-28 6:16 Guilherme Amadio
2019-06-27 13:23 Guilherme Amadio
2019-06-27 11:58 Guilherme Amadio
2019-05-07 6:47 Guilherme Amadio
2019-05-07 6:47 Guilherme Amadio
2019-02-05 9:51 Guilherme Amadio
2019-02-05 9:51 Guilherme Amadio
2019-02-04 7:38 Guilherme Amadio
2019-01-27 1:40 Benda XU
2019-01-27 1:40 Benda XU
2019-01-24 16:24 Guilherme Amadio
2018-12-14 9:05 Guilherme Amadio
2018-12-12 7:12 Guilherme Amadio
2018-12-12 7:12 Guilherme Amadio
2018-12-11 11:19 Guilherme Amadio
2018-12-11 11:19 Guilherme Amadio
2018-12-11 11:19 Guilherme Amadio
2018-12-11 11:19 Guilherme Amadio
2018-12-06 14:26 Guilherme Amadio
2018-11-25 9:22 Guilherme Amadio
2018-11-19 16:25 Guilherme Amadio
2018-11-19 16:25 Guilherme Amadio
2018-09-17 15:53 Guilherme Amadio
2018-09-17 15:53 Guilherme Amadio
2018-08-30 9:39 Guilherme Amadio
2018-08-29 15:07 Guilherme Amadio
2018-08-28 11:04 Guilherme Amadio
2018-08-24 12:57 Guilherme Amadio
2018-08-24 12:57 Guilherme Amadio
2018-08-24 12:57 Guilherme Amadio
2018-08-24 12:57 Guilherme Amadio
2018-08-24 12:57 Guilherme Amadio
2018-08-24 12:57 Guilherme Amadio
2018-07-31 17:49 Guilherme Amadio
2018-07-06 9:28 Guilherme Amadio
2018-07-05 13:34 Guilherme Amadio
2018-07-05 11:15 Guilherme Amadio
2018-07-05 11:15 Guilherme Amadio
2018-04-12 15:50 Guilherme Amadio
2018-03-22 14:24 Guilherme Amadio
2018-03-22 14:24 Guilherme Amadio
2018-03-22 14:24 Guilherme Amadio
2018-03-22 14:24 Guilherme Amadio
2018-03-19 18:06 Guilherme Amadio
2018-03-06 14:43 Guilherme Amadio
2018-03-06 14:43 Guilherme Amadio
2018-02-23 23:37 Michał Górny
2018-01-19 16:38 Guilherme Amadio
2017-12-18 13:13 Guilherme Amadio
2017-12-18 13:13 Guilherme Amadio
2017-12-18 13:13 Guilherme Amadio
2017-12-15 12:01 Guilherme Amadio
2017-12-15 12:01 Guilherme Amadio
2017-12-15 12:01 Guilherme Amadio
2016-12-19 14:13 Agostino Sarubbo
2016-12-19 14:11 Agostino Sarubbo
2016-12-07 2:11 Andrew Savchenko
2016-12-05 22:41 Andrew Savchenko
2016-10-02 12:37 Pacho Ramos
2016-07-23 14:03 Benda XU
2016-06-19 8:53 Andrew Savchenko
2016-05-19 4:55 Benda XU
2016-04-15 8:02 Andrew Savchenko
2016-04-15 8:02 Andrew Savchenko
2016-04-15 8:02 Andrew Savchenko
2016-01-16 12:37 Andrew Savchenko
2016-01-16 10:21 Andrew Savchenko
2015-11-20 16:45 Guilherme Amadio
2015-11-20 16:45 Guilherme Amadio
2015-09-24 12:45 Agostino Sarubbo
2015-09-24 12:44 Agostino Sarubbo
2015-08-23 11:52 Andrew Savchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox