public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/
@ 2015-08-21 18:20 Jauhien Piatlicki
  0 siblings, 0 replies; 12+ messages in thread
From: Jauhien Piatlicki @ 2015-08-21 18:20 UTC (permalink / raw
  To: gentoo-commits

commit:     871c0ed9b8882a9705a36ef9fd887e768320231c
Author:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 21 18:22:58 2015 +0000
Commit:     Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org>
CommitDate: Fri Aug 21 18:22:58 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=871c0ed9

sci-physics/rivet: initial import from the science overlay

Package-Manager: portage-2.2.18

 sci-physics/rivet/Manifest           |  1 +
 sci-physics/rivet/metadata.xml       | 16 ++++++++++
 sci-physics/rivet/rivet-2.3.0.ebuild | 60 ++++++++++++++++++++++++++++++++++++
 3 files changed, 77 insertions(+)

diff --git a/sci-physics/rivet/Manifest b/sci-physics/rivet/Manifest
new file mode 100644
index 0000000..6057c85
--- /dev/null
+++ b/sci-physics/rivet/Manifest
@@ -0,0 +1 @@
+DIST Rivet-2.3.0.tar.bz2 2742948 SHA256 dd07702981d586e4b97b0fa56ae08cd08a631a952322a9b52e7622a46a7741ab SHA512 b51b77f80d69156dead899312cad838bc03479a072e163df50262e86790503515f8ab8af93723c3cbd33007d9812aa10581b2c960d92bc1fcf5031d27018d239 WHIRLPOOL ce9e5dd34ba9b53de192aee39bcd94565a62a328bd35dcb1ef810cc7b129e9ae6529fc8f970889f7a6970567bdd0f040d15fc5bbb83ec22e38daccb34cbb4fdf

diff --git a/sci-physics/rivet/metadata.xml b/sci-physics/rivet/metadata.xml
new file mode 100644
index 0000000..306be1a
--- /dev/null
+++ b/sci-physics/rivet/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci-physics</herd>
+<longdescription>
+  The Rivet project (Robust Independent Validation of Experiment and
+  Theory) is a toolkit for validation of Monte Carlo event
+  generators. It provides a large (and ever growing) set of
+  experimental analyses useful for MC generator development,
+  validation, and tuning, as well as a convenient infrastructure for
+  adding your own analyses. Rivet is the most widespread way by which
+  analysis code from the LHC and other high-energy collider
+  experiments is preserved for comparison to and development of future
+  theory models.
+</longdescription>
+</pkgmetadata>

diff --git a/sci-physics/rivet/rivet-2.3.0.ebuild b/sci-physics/rivet/rivet-2.3.0.ebuild
new file mode 100644
index 0000000..4029c73
--- /dev/null
+++ b/sci-physics/rivet/rivet-2.3.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+AUTOTOOLS_AUTORECONF=1
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-single-r1 autotools-utils bash-completion-r1
+
+MYP=Rivet-${PV}
+
+DESCRIPTION="Toolkit for validation of Monte Carlo HEP event generators"
+HOMEPAGE="http://rivet.hepforge.org/"
+
+SRC_URI="http://www.hepforge.org/archive/${PN}/${MYP}.tar.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc python static-libs"
+
+RDEPEND="
+	dev-libs/boost:0=
+	sci-libs/gsl:0=
+	sci-physics/fastjet:0=[plugins]
+	sci-physics/hepmc:0=
+	sci-physics/yoda:0=[python]
+	python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+	doc? ( app-doc/doxygen[latex,dot] )
+	python? ( dev-python/cython[${PYTHON_USEDEP}] )"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+S="${WORKDIR}/${MYP}"
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_configure() {
+	local myeconfargs=(
+		$(use_enable python pyext)
+	)
+	autotools-utils_src_configure
+}
+
+src_compile() {
+	autotools-utils_src_compile
+	use doc && doxygen Doxyfile
+}
+
+src_install() {
+	autotools-utils_src_install
+	newbashcomp "${ED}"/usr/share/Rivet/rivet-completion rivet
+	use doc && dohtml -r doxy/html/* && dodoc doc/rivet-manual.pdf
+}


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/
@ 2016-11-06 16:12 David Seifert
  0 siblings, 0 replies; 12+ messages in thread
From: David Seifert @ 2016-11-06 16:12 UTC (permalink / raw
  To: gentoo-commits

commit:     ef27371a29517e3676d514d3bf731f7288e96c90
Author:     Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
AuthorDate: Fri Nov  4 15:43:20 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Nov  6 16:12:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef27371a

sci-physics/rivet: Version bump to 2.5.2, EAPI bump 5 -> 6

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2740

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-physics/rivet/Manifest           |  2 +
 sci-physics/rivet/rivet-2.5.2.ebuild | 80 ++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+)

diff --git a/sci-physics/rivet/Manifest b/sci-physics/rivet/Manifest
index 6057c85..d184eee 100644
--- a/sci-physics/rivet/Manifest
+++ b/sci-physics/rivet/Manifest
@@ -1 +1,3 @@
 DIST Rivet-2.3.0.tar.bz2 2742948 SHA256 dd07702981d586e4b97b0fa56ae08cd08a631a952322a9b52e7622a46a7741ab SHA512 b51b77f80d69156dead899312cad838bc03479a072e163df50262e86790503515f8ab8af93723c3cbd33007d9812aa10581b2c960d92bc1fcf5031d27018d239 WHIRLPOOL ce9e5dd34ba9b53de192aee39bcd94565a62a328bd35dcb1ef810cc7b129e9ae6529fc8f970889f7a6970567bdd0f040d15fc5bbb83ec22e38daccb34cbb4fdf
+DIST Rivet-2.5.2.tar.bz2 3005023 SHA256 70aa27764a14159c94c0b753a0c3d3600ac669def398cb2d8a6c63ae17704f05 SHA512 dd84143eb5d4b24ae2e5ace175e349fe48b4b5e6a47b3aa031a4144c635f016e8bbd731ed3f96b5c2f52c7df8ff0f1db70750fc45381bdfcdd469fd4c058beef WHIRLPOOL cd17c53ba337cc5f6e9d747f37640b86958844cfbf328a99350a3e7850e1ae158aab6cbedd8791da3f5f56084ed219a8ff7d9b2bc3d9c73848531f0d868c475a
+DIST refs.bib 65375 SHA256 c4c0a1d1d46c504baff9f44fdb9ecec5adc7773c89746e9b573abd2349c61431 SHA512 ab6c0942235f4f88de0c3801c0be4b0e51643a684c6cf55ae58db57a5ffa0e59c9a616547f8a7549b696888983ac3980f1f0d1bfd21adbfbfa732e12ee2e5ce2 WHIRLPOOL c2e31e4a4159f101ecc094d33e65321ce5aa7aa2e1e30f56c8fd34d5f7a22f581f2a269478e30066c8ad03a50279c1b7cf7db8b357f446646fcab8a54e8d8d99

diff --git a/sci-physics/rivet/rivet-2.5.2.ebuild b/sci-physics/rivet/rivet-2.5.2.ebuild
new file mode 100644
index 00000000..7e55cc4
--- /dev/null
+++ b/sci-physics/rivet/rivet-2.5.2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools bash-completion-r1 python-single-r1
+
+DESCRIPTION="Toolkit for validation of Monte Carlo HEP event generators"
+HOMEPAGE="http://rivet.hepforge.org/"
+
+SRC_URI="http://www.hepforge.org/archive/${PN}/${P^}.tar.bz2
+	doc? ( https://rivet.hepforge.org/trac/browser/doc/refs.bib )"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+	dev-libs/boost:=
+	sci-libs/gsl:=
+	sci-physics/fastjet[plugins]
+	sci-physics/hepmc
+	>=sci-physics/yoda-1.5.0[python]
+	python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+	doc? ( app-doc/doxygen[latex,dot] )
+	python? ( dev-python/cython[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${P^}"
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_unpack() {
+	unpack "${P^}.tar.bz2"
+
+	if use doc; then
+		# refs.bib is missing in tarball (reported upstream)
+		cp "${DISTDIR}"/refs.bib "${S}"/doc || die
+	fi
+}
+
+src_prepare() {
+	default
+
+	# Install rivet-manual.pdf to docdir intead of pkgdatadir
+	sed -i '/pkgdata_DATA = $(DOCS)/s/pkgdata/doc/' doc/Makefile.am || die
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		$(use_enable python pyext) \
+		$(use_enable static-libs static) \
+		$(use_enable doc doxygen) \
+		$(use_enable doc pdfmanual)
+}
+
+src_compile() {
+	use doc && export VARTEXFONTS="${T}/fonts"
+	default
+
+	if use doc; then
+		doxygen Doxyfile || die
+		HTML_DOCS+=( doxy/html/. )
+	fi
+}
+
+src_install() {
+	default
+
+	newbashcomp "${ED%/}"/usr/share/Rivet/rivet-completion rivet
+	rm -f "${ED%/}"/usr/share/Rivet/rivet-completion || die
+}


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/
@ 2016-11-12 15:02 David Seifert
  0 siblings, 0 replies; 12+ messages in thread
From: David Seifert @ 2016-11-12 15:02 UTC (permalink / raw
  To: gentoo-commits

commit:     d5f7b3e76aeadfaa13b25d93b7e989beeeafa683
Author:     Gerhard Bräunlich <wippbox <AT> gmx <DOT> net>
AuthorDate: Fri Nov 11 13:56:45 2016 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 12 15:01:01 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5f7b3e7

sci-physics/rivet: Fixing URL for refs.bib

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2807

Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sci-physics/rivet/Manifest           | 2 +-
 sci-physics/rivet/rivet-2.5.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-physics/rivet/Manifest b/sci-physics/rivet/Manifest
index d184eee..8dc4791 100644
--- a/sci-physics/rivet/Manifest
+++ b/sci-physics/rivet/Manifest
@@ -1,3 +1,3 @@
 DIST Rivet-2.3.0.tar.bz2 2742948 SHA256 dd07702981d586e4b97b0fa56ae08cd08a631a952322a9b52e7622a46a7741ab SHA512 b51b77f80d69156dead899312cad838bc03479a072e163df50262e86790503515f8ab8af93723c3cbd33007d9812aa10581b2c960d92bc1fcf5031d27018d239 WHIRLPOOL ce9e5dd34ba9b53de192aee39bcd94565a62a328bd35dcb1ef810cc7b129e9ae6529fc8f970889f7a6970567bdd0f040d15fc5bbb83ec22e38daccb34cbb4fdf
 DIST Rivet-2.5.2.tar.bz2 3005023 SHA256 70aa27764a14159c94c0b753a0c3d3600ac669def398cb2d8a6c63ae17704f05 SHA512 dd84143eb5d4b24ae2e5ace175e349fe48b4b5e6a47b3aa031a4144c635f016e8bbd731ed3f96b5c2f52c7df8ff0f1db70750fc45381bdfcdd469fd4c058beef WHIRLPOOL cd17c53ba337cc5f6e9d747f37640b86958844cfbf328a99350a3e7850e1ae158aab6cbedd8791da3f5f56084ed219a8ff7d9b2bc3d9c73848531f0d868c475a
-DIST refs.bib 65375 SHA256 c4c0a1d1d46c504baff9f44fdb9ecec5adc7773c89746e9b573abd2349c61431 SHA512 ab6c0942235f4f88de0c3801c0be4b0e51643a684c6cf55ae58db57a5ffa0e59c9a616547f8a7549b696888983ac3980f1f0d1bfd21adbfbfa732e12ee2e5ce2 WHIRLPOOL c2e31e4a4159f101ecc094d33e65321ce5aa7aa2e1e30f56c8fd34d5f7a22f581f2a269478e30066c8ad03a50279c1b7cf7db8b357f446646fcab8a54e8d8d99
+DIST refs.bib 16907 SHA256 bc6f313c09d8b7a8a2dd1ff448ba1a51b4b138428fbcc4447f9effff67286e40 SHA512 64755e6aeaa1f0b3fb76a33ffdf226bcd42ee597a78a8d458b728f0e6f576d4dafbb276a0498c3b573d23054ccbf54ada6f6c12faf52dbfbeef2372094d01181 WHIRLPOOL f026ee892cd3456c4723fa982f6d739a0c126481bfdd6dd16a20e4f0d6fdfa34a0630c48115c6597eda15d0fa8cc12b8069b0ce1d12bc1acdffdc304acb4888f

diff --git a/sci-physics/rivet/rivet-2.5.2.ebuild b/sci-physics/rivet/rivet-2.5.2.ebuild
index 7e55cc4..b3bc7d4 100644
--- a/sci-physics/rivet/rivet-2.5.2.ebuild
+++ b/sci-physics/rivet/rivet-2.5.2.ebuild
@@ -12,7 +12,7 @@ DESCRIPTION="Toolkit for validation of Monte Carlo HEP event generators"
 HOMEPAGE="http://rivet.hepforge.org/"
 
 SRC_URI="http://www.hepforge.org/archive/${PN}/${P^}.tar.bz2
-	doc? ( https://rivet.hepforge.org/trac/browser/doc/refs.bib )"
+	doc? ( https://rivet.hepforge.org/trac/export/8a05acecd26c18f368f4b748da2d5aa2db46be6c/doc/refs.bib )"
 LICENSE="GPL-2"
 
 SLOT="0"


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/
@ 2017-11-25 17:42 David Seifert
  0 siblings, 0 replies; 12+ messages in thread
From: David Seifert @ 2017-11-25 17:42 UTC (permalink / raw
  To: gentoo-commits

commit:     0c0ac902bb7c7ab67985e882d7d030aa32fcebcc
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 16:53:13 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 17:41:03 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c0ac902

sci-physics/rivet: [QA] Consistent whitespace in metadata.xml

 sci-physics/rivet/metadata.xml | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/sci-physics/rivet/metadata.xml b/sci-physics/rivet/metadata.xml
index 532272a0d9c..78b51d05a6f 100644
--- a/sci-physics/rivet/metadata.xml
+++ b/sci-physics/rivet/metadata.xml
@@ -1,19 +1,19 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="project">
-	<email>sci-physics@gentoo.org</email>
-	<name>Gentoo Physics Project</name>
-</maintainer>
-<longdescription>
-  The Rivet project (Robust Independent Validation of Experiment and
-  Theory) is a toolkit for validation of Monte Carlo event
-  generators. It provides a large (and ever growing) set of
-  experimental analyses useful for MC generator development,
-  validation, and tuning, as well as a convenient infrastructure for
-  adding your own analyses. Rivet is the most widespread way by which
-  analysis code from the LHC and other high-energy collider
-  experiments is preserved for comparison to and development of future
-  theory models.
-</longdescription>
+	<maintainer type="project">
+		<email>sci-physics@gentoo.org</email>
+		<name>Gentoo Physics Project</name>
+	</maintainer>
+	<longdescription>
+		The Rivet project (Robust Independent Validation of Experiment and
+		Theory) is a toolkit for validation of Monte Carlo event
+		generators. It provides a large (and ever growing) set of
+		experimental analyses useful for MC generator development,
+		validation, and tuning, as well as a convenient infrastructure for
+		adding your own analyses. Rivet is the most widespread way by which
+		analysis code from the LHC and other high-energy collider
+		experiments is preserved for comparison to and development of future
+		theory models.
+	</longdescription>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/
@ 2018-03-09  8:29 Guilherme Amadio
  0 siblings, 0 replies; 12+ messages in thread
From: Guilherme Amadio @ 2018-03-09  8:29 UTC (permalink / raw
  To: gentoo-commits

commit:     23ff9c6da1eb892b12e7a0b1edbf4d87ae4f6b26
Author:     Federico Lodovici <fedelodo <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Fri Feb 23 13:52:45 2018 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Mar  9 08:29:04 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ff9c6d

sci-pyhsics/rivet: bump to 2.6.0

 sci-physics/rivet/Manifest           |  1 +
 sci-physics/rivet/rivet-2.6.0.ebuild | 78 ++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/sci-physics/rivet/Manifest b/sci-physics/rivet/Manifest
index eb516cf6481..03d3f3ad1e5 100644
--- a/sci-physics/rivet/Manifest
+++ b/sci-physics/rivet/Manifest
@@ -1,3 +1,4 @@
 DIST Rivet-2.3.0.tar.bz2 2742948 BLAKE2B 3a90927720b9d0badf0c7278d61a848c660be8196ed62d3a1a0f04dd6c9537d60f223c47cf9385b1e7a919b28caea4bb1b605b5d3b675388e3b5cda920bffeb1 SHA512 b51b77f80d69156dead899312cad838bc03479a072e163df50262e86790503515f8ab8af93723c3cbd33007d9812aa10581b2c960d92bc1fcf5031d27018d239
 DIST Rivet-2.5.2.tar.bz2 3005023 BLAKE2B ffccefbe38f3b6ddab16d3b9138d9779ab4ad2f466094675ed0d13c59d0bfd5efe753ca8bec57b31377ba42d76f313dce18af158cc61daace425d4bbdfb6b055 SHA512 dd84143eb5d4b24ae2e5ace175e349fe48b4b5e6a47b3aa031a4144c635f016e8bbd731ed3f96b5c2f52c7df8ff0f1db70750fc45381bdfcdd469fd4c058beef
+DIST Rivet-2.6.0.tar.bz2 3527799 BLAKE2B a0ffe7a73ed1120cd3944d3c845ed9387528e7645554c589fda0bfcac694e36f24ee78914e916c51f3a978659933b4e8934e0373f26e4a3ba7597714fc9a939f SHA512 49c381d88075715e23942bb02066b189305077581cd64b708ccaf79436202fe1c9d7989fc1f35dfeffdc643adb39283710fdf33fc87407cfb7ddd3e9d2297feb
 DIST refs.bib 16907 BLAKE2B 70c11f86c8ebf6386615b3e900280d1a2677dc82d99f944ac670f52320e05355352dd4017a48ae2af52dfd6f46a92a0d2d65bde4c271589ba4e66b3e7b68982c SHA512 64755e6aeaa1f0b3fb76a33ffdf226bcd42ee597a78a8d458b728f0e6f576d4dafbb276a0498c3b573d23054ccbf54ada6f6c12faf52dbfbeef2372094d01181

diff --git a/sci-physics/rivet/rivet-2.6.0.ebuild b/sci-physics/rivet/rivet-2.6.0.ebuild
new file mode 100644
index 00000000000..91d10173c78
--- /dev/null
+++ b/sci-physics/rivet/rivet-2.6.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit autotools bash-completion-r1 python-single-r1
+
+DESCRIPTION="Toolkit for validation of Monte Carlo HEP event generators"
+HOMEPAGE="http://rivet.hepforge.org/"
+
+SRC_URI="http://www.hepforge.org/archive/${PN}/${P^}.tar.bz2
+	doc? ( https://rivet.hepforge.org/trac/export/8a05acecd26c18f368f4b748da2d5aa2db46be6c/doc/refs.bib )"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc python static-libs"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="
+	dev-libs/boost:=
+	sci-libs/gsl:=
+	sci-physics/fastjet[plugins]
+	sci-physics/hepmc
+	>=sci-physics/yoda-1.5.0[python]
+	python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+	doc? ( app-doc/doxygen[latex,dot] )
+	python? ( dev-python/cython[${PYTHON_USEDEP}] )"
+
+S="${WORKDIR}/${P^}"
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_unpack() {
+	unpack "${P^}.tar.bz2"
+
+	if use doc; then
+		# refs.bib is missing in tarball (reported upstream)
+		cp "${DISTDIR}"/refs.bib "${S}"/doc || die
+	fi
+}
+
+src_prepare() {
+	default
+
+	# Install rivet-manual.pdf to docdir intead of pkgdatadir
+	sed -i '/pkgdata_DATA = $(DOCS)/s/pkgdata/doc/' doc/Makefile.am || die
+	eautoreconf
+}
+
+src_configure() {
+	econf \
+		$(use_enable python pyext) \
+		$(use_enable static-libs static) \
+		$(use_enable doc doxygen) \
+		$(use_enable doc pdfmanual)
+}
+
+src_compile() {
+	use doc && export VARTEXFONTS="${T}/fonts"
+	default
+
+	if use doc; then
+		doxygen Doxyfile || die
+		HTML_DOCS+=( doxy/html/. )
+	fi
+}
+
+src_install() {
+	default
+	newbashcomp "${ED%/}"/usr/share/Rivet/rivet-completion rivet
+	rm -f "${ED%/}"/usr/share/Rivet/rivet-completion || die
+}


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/
@ 2018-03-09 10:53 Guilherme Amadio
  0 siblings, 0 replies; 12+ messages in thread
From: Guilherme Amadio @ 2018-03-09 10:53 UTC (permalink / raw
  To: gentoo-commits

commit:     8a8c12042b2ac5f8895bee28c3dabae62c112e3f
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  9 10:09:58 2018 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Mar  9 10:53:16 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a8c1204

sci-physics/rivet: revision bump

- Python scripts need to be adjusted to use Python 2
- Needs to be rebuilt if version of sci-physics/yoda changes

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sci-physics/rivet/{rivet-2.6.0.ebuild => rivet-2.6.0-r1.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sci-physics/rivet/rivet-2.6.0.ebuild b/sci-physics/rivet/rivet-2.6.0-r1.ebuild
similarity index 92%
rename from sci-physics/rivet/rivet-2.6.0.ebuild
rename to sci-physics/rivet/rivet-2.6.0-r1.ebuild
index 91d10173c78..273705fb73d 100644
--- a/sci-physics/rivet/rivet-2.6.0.ebuild
+++ b/sci-physics/rivet/rivet-2.6.0-r1.ebuild
@@ -24,7 +24,7 @@ RDEPEND="
 	sci-libs/gsl:=
 	sci-physics/fastjet[plugins]
 	sci-physics/hepmc
-	>=sci-physics/yoda-1.5.0[python]
+	sci-physics/yoda:=[python]
 	python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}
 	doc? ( app-doc/doxygen[latex,dot] )
@@ -50,6 +50,8 @@ src_prepare() {
 
 	# Install rivet-manual.pdf to docdir intead of pkgdatadir
 	sed -i '/pkgdata_DATA = $(DOCS)/s/pkgdata/doc/' doc/Makefile.am || die
+	# Adjust shebangs of Python scripts
+	sed -i "s@^#! /usr/bin/env python@#!${EPREFIX}/usr/bin/python2@" bin/* || die
 	eautoreconf
 }
 


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/
@ 2018-03-09 10:53 Guilherme Amadio
  0 siblings, 0 replies; 12+ messages in thread
From: Guilherme Amadio @ 2018-03-09 10:53 UTC (permalink / raw
  To: gentoo-commits

commit:     31c18183f90a4d4f79ece798ae630208fc24a979
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Fri Mar  9 10:11:02 2018 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Fri Mar  9 10:53:18 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31c18183

sci-physics/rivet: drop old versions

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sci-physics/rivet/Manifest           |  2 -
 sci-physics/rivet/rivet-2.3.0.ebuild | 59 ---------------------------
 sci-physics/rivet/rivet-2.5.2.ebuild | 79 ------------------------------------
 3 files changed, 140 deletions(-)

diff --git a/sci-physics/rivet/Manifest b/sci-physics/rivet/Manifest
index 03d3f3ad1e5..a8bd5227248 100644
--- a/sci-physics/rivet/Manifest
+++ b/sci-physics/rivet/Manifest
@@ -1,4 +1,2 @@
-DIST Rivet-2.3.0.tar.bz2 2742948 BLAKE2B 3a90927720b9d0badf0c7278d61a848c660be8196ed62d3a1a0f04dd6c9537d60f223c47cf9385b1e7a919b28caea4bb1b605b5d3b675388e3b5cda920bffeb1 SHA512 b51b77f80d69156dead899312cad838bc03479a072e163df50262e86790503515f8ab8af93723c3cbd33007d9812aa10581b2c960d92bc1fcf5031d27018d239
-DIST Rivet-2.5.2.tar.bz2 3005023 BLAKE2B ffccefbe38f3b6ddab16d3b9138d9779ab4ad2f466094675ed0d13c59d0bfd5efe753ca8bec57b31377ba42d76f313dce18af158cc61daace425d4bbdfb6b055 SHA512 dd84143eb5d4b24ae2e5ace175e349fe48b4b5e6a47b3aa031a4144c635f016e8bbd731ed3f96b5c2f52c7df8ff0f1db70750fc45381bdfcdd469fd4c058beef
 DIST Rivet-2.6.0.tar.bz2 3527799 BLAKE2B a0ffe7a73ed1120cd3944d3c845ed9387528e7645554c589fda0bfcac694e36f24ee78914e916c51f3a978659933b4e8934e0373f26e4a3ba7597714fc9a939f SHA512 49c381d88075715e23942bb02066b189305077581cd64b708ccaf79436202fe1c9d7989fc1f35dfeffdc643adb39283710fdf33fc87407cfb7ddd3e9d2297feb
 DIST refs.bib 16907 BLAKE2B 70c11f86c8ebf6386615b3e900280d1a2677dc82d99f944ac670f52320e05355352dd4017a48ae2af52dfd6f46a92a0d2d65bde4c271589ba4e66b3e7b68982c SHA512 64755e6aeaa1f0b3fb76a33ffdf226bcd42ee597a78a8d458b728f0e6f576d4dafbb276a0498c3b573d23054ccbf54ada6f6c12faf52dbfbeef2372094d01181

diff --git a/sci-physics/rivet/rivet-2.3.0.ebuild b/sci-physics/rivet/rivet-2.3.0.ebuild
deleted file mode 100644
index 63dece0d009..00000000000
--- a/sci-physics/rivet/rivet-2.3.0.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-AUTOTOOLS_IN_SOURCE_BUILD=1
-AUTOTOOLS_AUTORECONF=1
-PYTHON_COMPAT=( python2_7 )
-
-inherit python-single-r1 autotools-utils bash-completion-r1
-
-MYP=Rivet-${PV}
-
-DESCRIPTION="Toolkit for validation of Monte Carlo HEP event generators"
-HOMEPAGE="http://rivet.hepforge.org/"
-
-SRC_URI="http://www.hepforge.org/archive/${PN}/${MYP}.tar.bz2"
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc python static-libs"
-
-RDEPEND="
-	dev-libs/boost:0=
-	sci-libs/gsl:0=
-	sci-physics/fastjet:0=[plugins]
-	sci-physics/hepmc:0=
-	sci-physics/yoda:0=[python]
-	python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-	doc? ( app-doc/doxygen[latex,dot] )
-	python? ( dev-python/cython[${PYTHON_USEDEP}] )"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-S="${WORKDIR}/${MYP}"
-
-pkg_setup() {
-	use python && python-single-r1_pkg_setup
-}
-
-src_configure() {
-	local myeconfargs=(
-		$(use_enable python pyext)
-	)
-	autotools-utils_src_configure
-}
-
-src_compile() {
-	autotools-utils_src_compile
-	use doc && doxygen Doxyfile
-}
-
-src_install() {
-	autotools-utils_src_install
-	newbashcomp "${ED}"/usr/share/Rivet/rivet-completion rivet
-	use doc && dohtml -r doxy/html/* && dodoc doc/rivet-manual.pdf
-}

diff --git a/sci-physics/rivet/rivet-2.5.2.ebuild b/sci-physics/rivet/rivet-2.5.2.ebuild
deleted file mode 100644
index 86e41340c50..00000000000
--- a/sci-physics/rivet/rivet-2.5.2.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit autotools bash-completion-r1 python-single-r1
-
-DESCRIPTION="Toolkit for validation of Monte Carlo HEP event generators"
-HOMEPAGE="http://rivet.hepforge.org/"
-
-SRC_URI="http://www.hepforge.org/archive/${PN}/${P^}.tar.bz2
-	doc? ( https://rivet.hepforge.org/trac/export/8a05acecd26c18f368f4b748da2d5aa2db46be6c/doc/refs.bib )"
-LICENSE="GPL-2"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc python static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
-	dev-libs/boost:=
-	sci-libs/gsl:=
-	sci-physics/fastjet[plugins]
-	sci-physics/hepmc
-	>=sci-physics/yoda-1.5.0[python]
-	python? ( ${PYTHON_DEPS} )"
-DEPEND="${RDEPEND}
-	doc? ( app-doc/doxygen[latex,dot] )
-	python? ( dev-python/cython[${PYTHON_USEDEP}] )"
-
-S="${WORKDIR}/${P^}"
-
-pkg_setup() {
-	use python && python-single-r1_pkg_setup
-}
-
-src_unpack() {
-	unpack "${P^}.tar.bz2"
-
-	if use doc; then
-		# refs.bib is missing in tarball (reported upstream)
-		cp "${DISTDIR}"/refs.bib "${S}"/doc || die
-	fi
-}
-
-src_prepare() {
-	default
-
-	# Install rivet-manual.pdf to docdir intead of pkgdatadir
-	sed -i '/pkgdata_DATA = $(DOCS)/s/pkgdata/doc/' doc/Makefile.am || die
-	eautoreconf
-}
-
-src_configure() {
-	econf \
-		$(use_enable python pyext) \
-		$(use_enable static-libs static) \
-		$(use_enable doc doxygen) \
-		$(use_enable doc pdfmanual)
-}
-
-src_compile() {
-	use doc && export VARTEXFONTS="${T}/fonts"
-	default
-
-	if use doc; then
-		doxygen Doxyfile || die
-		HTML_DOCS+=( doxy/html/. )
-	fi
-}
-
-src_install() {
-	default
-
-	newbashcomp "${ED%/}"/usr/share/Rivet/rivet-completion rivet
-	rm -f "${ED%/}"/usr/share/Rivet/rivet-completion || die
-}


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/
@ 2020-02-09 16:36 Michał Górny
  0 siblings, 0 replies; 12+ messages in thread
From: Michał Górny @ 2020-02-09 16:36 UTC (permalink / raw
  To: gentoo-commits

commit:     18293ee771f79b1e640bf08678c56009af2b4c91
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  7 19:10:27 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb  9 16:35:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18293ee7

sci-physics/rivet: Switch to PYTHON_MULTI_USEDEP API

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../rivet/{rivet-2.6.0-r1.ebuild => rivet-2.6.0-r2.ebuild}        | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sci-physics/rivet/rivet-2.6.0-r1.ebuild b/sci-physics/rivet/rivet-2.6.0-r2.ebuild
similarity index 93%
rename from sci-physics/rivet/rivet-2.6.0-r1.ebuild
rename to sci-physics/rivet/rivet-2.6.0-r2.ebuild
index 273705fb73d..551de2ab59e 100644
--- a/sci-physics/rivet/rivet-2.6.0-r1.ebuild
+++ b/sci-physics/rivet/rivet-2.6.0-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -28,7 +28,11 @@ RDEPEND="
 	python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}
 	doc? ( app-doc/doxygen[latex,dot] )
-	python? ( dev-python/cython[${PYTHON_USEDEP}] )"
+	python? (
+		$(python_gen_cond_dep '
+			dev-python/cython[${PYTHON_MULTI_USEDEP}]
+		')
+	)"
 
 S="${WORKDIR}/${P^}"
 


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/
@ 2020-03-01 18:36 Matthias Maier
  0 siblings, 0 replies; 12+ messages in thread
From: Matthias Maier @ 2020-03-01 18:36 UTC (permalink / raw
  To: gentoo-commits

commit:     65af2a26ee33c814733a2982a0bd359c99c4ea54
Author:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  1 18:24:30 2020 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Sun Mar  1 18:35:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65af2a26

sci-physics/rivet: remove app-doc/doxygen[latex] dependency

Bug: https://bugs.gentoo.org/430914
Bug: https://bugs.gentoo.org/709316
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 sci-physics/rivet/rivet-2.6.0-r2.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/sci-physics/rivet/rivet-2.6.0-r2.ebuild b/sci-physics/rivet/rivet-2.6.0-r2.ebuild
index 551de2ab59e..3bd00b42728 100644
--- a/sci-physics/rivet/rivet-2.6.0-r2.ebuild
+++ b/sci-physics/rivet/rivet-2.6.0-r2.ebuild
@@ -27,7 +27,14 @@ RDEPEND="
 	sci-physics/yoda:=[python]
 	python? ( ${PYTHON_DEPS} )"
 DEPEND="${RDEPEND}
-	doc? ( app-doc/doxygen[latex,dot] )
+	doc? (
+		app-doc/doxygen[dot]
+		dev-texlive/texlive-bibtexextra
+		dev-texlive/texlive-fontsextra
+		dev-texlive/texlive-fontutils
+		dev-texlive/texlive-latex
+		dev-texlive/texlive-latexextra
+	)
 	python? (
 		$(python_gen_cond_dep '
 			dev-python/cython[${PYTHON_MULTI_USEDEP}]


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/
@ 2024-03-29 11:24 Andrew Ammerlaan
  0 siblings, 0 replies; 12+ messages in thread
From: Andrew Ammerlaan @ 2024-03-29 11:24 UTC (permalink / raw
  To: gentoo-commits

commit:     1d639de7121e9a389873ca0be1a92479f311652a
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Wed Mar 27 10:43:24 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Mar 29 11:24:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d639de7

sci-physics/rivet: drop BDEPEND on virtual/fortran

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/35890
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-physics/rivet/rivet-3.1.10.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sci-physics/rivet/rivet-3.1.10.ebuild b/sci-physics/rivet/rivet-3.1.10.ebuild
index e1f11ef57f95..6d95335c815a 100644
--- a/sci-physics/rivet/rivet-3.1.10.ebuild
+++ b/sci-physics/rivet/rivet-3.1.10.ebuild
@@ -55,7 +55,6 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}"
 BDEPEND="
-	virtual/fortran
 	app-shells/bash
 	python? (
 		$(python_gen_cond_dep '


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/
@ 2024-03-29 11:24 Andrew Ammerlaan
  0 siblings, 0 replies; 12+ messages in thread
From: Andrew Ammerlaan @ 2024-03-29 11:24 UTC (permalink / raw
  To: gentoo-commits

commit:     0289dd26445250db1b23b6a1037db14161ebd3d9
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Sat Mar 23 23:52:09 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Mar 29 11:24:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0289dd26

sci-physics/rivet: add 3.1.9, 9999

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-physics/rivet/Manifest           |   1 +
 sci-physics/rivet/rivet-3.1.9.ebuild | 115 +++++++++++++++++++++++++++++++++++
 sci-physics/rivet/rivet-9999.ebuild  | 115 +++++++++++++++++++++++++++++++++++
 3 files changed, 231 insertions(+)

diff --git a/sci-physics/rivet/Manifest b/sci-physics/rivet/Manifest
index af63e530482c..0afa0fcb5895 100644
--- a/sci-physics/rivet/Manifest
+++ b/sci-physics/rivet/Manifest
@@ -1 +1,2 @@
 DIST rivet-3.1.10.tar.gz 36327949 BLAKE2B 76d8ed8b3ee0eda2f7f03b4e423c46f49d39006a4ab0b66622ab2b2a7817f91f1f7bc648ecfb2e9d2d73da1619069c25fe9078c9b04a54cce8e1a71c33dc6b1a SHA512 9a0a3516686b82c7cf667bab230229553e9e49e5656d763046a86baa1f2d3fdb3167e53540533ebe5da532e71f15140ab8dd16de4075fd76e634e0c6919155e4
+DIST rivet-3.1.9.tar.gz 37599489 BLAKE2B a470254b8d4303f5738ca9c4ff0061a000d06e37ee805d909dfc709f14e5ebc8958739912f9b9bbf80bb38e79f4b8df057d7ac59c6924fddd56918102243aeed SHA512 21c1ca6eda7ac7d0394875cd8b972d3e65df1bf0e773d2094bab1997c6fab67381d6202aef8024eaa363c03b2345bae95d54dca1ce38c2499ddc24a7e7f93bdc

diff --git a/sci-physics/rivet/rivet-3.1.9.ebuild b/sci-physics/rivet/rivet-3.1.9.ebuild
new file mode 100644
index 000000000000..207734faa1c8
--- /dev/null
+++ b/sci-physics/rivet/rivet-3.1.9.ebuild
@@ -0,0 +1,115 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit python-single-r1 flag-o-matic autotools optfeature bash-completion-r1
+
+MY_PN="Rivet"
+MY_PF=${MY_PN}-${PV}
+
+DESCRIPTION="Rivet toolkit (Robust Independent Validation of Experiment and Theory)"
+HOMEPAGE="
+	https://rivet.hepforge.org/
+	https://gitlab.com/hepcedar/rivet
+"
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://gitlab.com/hepcedar/rivet"
+else
+	SRC_URI="https://www.hepforge.org/archive/rivet/${MY_PF}.tar.gz -> ${P}.tar.gz"
+	S=${WORKDIR}/${MY_PF}
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3+"
+SLOT="3"
+IUSE="+hepmc3 hepmc2 +zlib +python"
+REQUIRED_USE="
+	^^ ( hepmc3 hepmc2 )
+	python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+# <sci-physics/hepmc-3.2.7 due to https://gitlab.com/hepcedar/rivet/-/issues/414
+RDEPEND="
+	>=sci-physics/fastjet-3.4.0[plugins]
+	>=sci-physics/fastjet-contrib-1.048
+	hepmc2? ( sci-physics/hepmc:2=[-cm(-),gev(+)] )
+	hepmc3? ( <sci-physics/hepmc-3.2.7:3=[-cm(-),gev(+)] )
+
+	sci-libs/gsl
+	zlib? ( sys-libs/zlib )
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/matplotlib[${PYTHON_USEDEP}]
+		')
+		>=sci-physics/yoda-1.9.8[${PYTHON_SINGLE_USEDEP}]
+		<sci-physics/yoda-2[${PYTHON_SINGLE_USEDEP}]
+	)
+	!python? (
+		>=sci-physics/yoda-1.9.8
+		<sci-physics/yoda-2
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	app-shells/bash
+	python? (
+		$(python_gen_cond_dep '
+			>=dev-python/cython-0.29.24[${PYTHON_USEDEP}]
+		')
+	)
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-3.1.6-binreloc.patch
+	"${FILESDIR}"/${PN}-3.1.9-pythontests.patch
+)
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	# Eigen complains about alignment (see https://gitlab.com/libeigen/eigen/-/issues/2523).
+	# does this affect more cpus?
+	replace-cpu-flags znver1 x86-64
+	# not posix compatible, only bash
+	CONFIG_SHELL=${ESYSROOT}/bin/bash econf \
+		$(use_with zlib zlib "${ESYSROOT}/usr") \
+		$(usex hepmc2 "--with-hepmc=${ESYSROOT}/usr" "") \
+		$(usex hepmc3 "--with-hepmc3=${ESYSROOT}/usr" "") \
+		--with-yoda="${ESYSROOT}/usr" \
+		--with-fastjet="${ESYSROOT}/usr" \
+		$(use_enable python pyext) \
+		$(usex python CYTHON="${ESYSROOT}/usr/bin/cython")
+}
+
+src_install() {
+	default
+	use python && python_optimize
+	find "${ED}" -name '*.la' -delete || die
+	if use python ; then
+		newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
+		bashcomp_alias ${PN} ${PN}-config \
+			${PN}-build \
+			${PN}-buildplugin \
+			${PN}-cmphistos \
+			make-plots \
+			${PN}-mkhtml \
+			${PN}-mkhtml-mpl
+		rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
+	fi
+}
+
+pkg_postinstall() {
+	optfeature "plotting support" virtual/latex-base media-gfx/imagemagick app-text/ghostscript-gpl
+}

diff --git a/sci-physics/rivet/rivet-9999.ebuild b/sci-physics/rivet/rivet-9999.ebuild
new file mode 100644
index 000000000000..ab878070845d
--- /dev/null
+++ b/sci-physics/rivet/rivet-9999.ebuild
@@ -0,0 +1,115 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+inherit python-single-r1 flag-o-matic autotools optfeature bash-completion-r1
+
+MY_PN="Rivet"
+MY_PF=${MY_PN}-${PV}
+
+DESCRIPTION="Rivet toolkit (Robust Independent Validation of Experiment and Theory)"
+HOMEPAGE="
+	https://rivet.hepforge.org/
+	https://gitlab.com/hepcedar/rivet
+"
+if [[ ${PV} == 9999 ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://gitlab.com/hepcedar/rivet"
+	EGIT_BRANCH="release-3-1-x"
+else
+	SRC_URI="https://www.hepforge.org/archive/rivet/${MY_PF}.tar.gz -> ${P}.tar.gz"
+	S=${WORKDIR}/${MY_PF}
+	KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3+"
+SLOT="3"
+IUSE="+hepmc3 hepmc2 +zlib +python"
+REQUIRED_USE="
+	^^ ( hepmc3 hepmc2 )
+	python? ( ${PYTHON_REQUIRED_USE} )
+"
+
+RDEPEND="
+	>=sci-physics/fastjet-3.4.0[plugins]
+	>=sci-physics/fastjet-contrib-1.048
+	hepmc2? ( sci-physics/hepmc:2=[-cm(-),gev(+)] )
+	hepmc3? ( sci-physics/hepmc:3=[-cm(-),gev(+)] )
+
+	sci-libs/gsl
+	zlib? ( sys-libs/zlib )
+	python? (
+		${PYTHON_DEPS}
+		$(python_gen_cond_dep '
+			dev-python/matplotlib[${PYTHON_USEDEP}]
+		')
+		>=sci-physics/yoda-1.9.8[${PYTHON_SINGLE_USEDEP}]
+		<sci-physics/yoda-2[${PYTHON_SINGLE_USEDEP}]
+	)
+	!python? (
+		>=sci-physics/yoda-1.9.8
+		<sci-physics/yoda-2
+	)
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+	app-shells/bash
+	python? (
+		$(python_gen_cond_dep '
+			>=dev-python/cython-0.29.24[${PYTHON_USEDEP}]
+		')
+	)
+"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-3.1.6-binreloc.patch
+	"${FILESDIR}"/${PN}-3.1.9-pythontests.patch
+)
+
+pkg_setup() {
+	use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+src_configure() {
+	# Eigen complains about alignment (see https://gitlab.com/libeigen/eigen/-/issues/2523).
+	# does this affect more cpus?
+	replace-cpu-flags znver1 x86-64
+	# not posix compatible, only bash
+	CONFIG_SHELL=${ESYSROOT}/bin/bash econf \
+		$(use_with zlib zlib "${ESYSROOT}/usr") \
+		$(usex hepmc2 "--with-hepmc=${ESYSROOT}/usr" "") \
+		$(usex hepmc3 "--with-hepmc3=${ESYSROOT}/usr" "") \
+		--with-yoda="${ESYSROOT}/usr" \
+		--with-fastjet="${ESYSROOT}/usr" \
+		$(use_enable python pyext) \
+		$(usex python CYTHON="${ESYSROOT}/usr/bin/cython")
+}
+
+src_install() {
+	default
+	use python && python_optimize
+	find "${ED}" -name '*.la' -delete || die
+	if use python ; then
+		newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
+		bashcomp_alias ${PN} ${PN}-config \
+			${PN}-build \
+			${PN}-buildplugin \
+			${PN}-cmphistos \
+			make-plots \
+			${PN}-mkhtml \
+			${PN}-mkhtml-mpl
+		rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
+	fi
+}
+
+pkg_postinstall() {
+	optfeature "plotting support" virtual/latex-base media-gfx/imagemagick app-text/ghostscript-gpl
+}


^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/
@ 2024-09-23 15:53 Andrew Ammerlaan
  0 siblings, 0 replies; 12+ messages in thread
From: Andrew Ammerlaan @ 2024-09-23 15:53 UTC (permalink / raw
  To: gentoo-commits

commit:     669d2051abf0b109273b2f791c7d7bcd4589f2f0
Author:     Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik <DOT> de>
AuthorDate: Mon Sep 23 15:13:50 2024 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Sep 23 15:32:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=669d2051

sci-physics/rivet: add 4.0.1

Signed-off-by: Alexander Puck Neuwirth <alexander <AT> neuwirth-informatik.de>
Closes: https://github.com/gentoo/gentoo/pull/38744
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-physics/rivet/Manifest                         |  1 +
 sci-physics/rivet/metadata.xml                     |  1 +
 .../{rivet-9999.ebuild => rivet-4.0.1.ebuild}      | 37 +++++++++++-----------
 sci-physics/rivet/rivet-9999.ebuild                | 37 +++++++++++-----------
 4 files changed, 38 insertions(+), 38 deletions(-)

diff --git a/sci-physics/rivet/Manifest b/sci-physics/rivet/Manifest
index 0afa0fcb5895..ae49f22dbe86 100644
--- a/sci-physics/rivet/Manifest
+++ b/sci-physics/rivet/Manifest
@@ -1,2 +1,3 @@
 DIST rivet-3.1.10.tar.gz 36327949 BLAKE2B 76d8ed8b3ee0eda2f7f03b4e423c46f49d39006a4ab0b66622ab2b2a7817f91f1f7bc648ecfb2e9d2d73da1619069c25fe9078c9b04a54cce8e1a71c33dc6b1a SHA512 9a0a3516686b82c7cf667bab230229553e9e49e5656d763046a86baa1f2d3fdb3167e53540533ebe5da532e71f15140ab8dd16de4075fd76e634e0c6919155e4
 DIST rivet-3.1.9.tar.gz 37599489 BLAKE2B a470254b8d4303f5738ca9c4ff0061a000d06e37ee805d909dfc709f14e5ebc8958739912f9b9bbf80bb38e79f4b8df057d7ac59c6924fddd56918102243aeed SHA512 21c1ca6eda7ac7d0394875cd8b972d3e65df1bf0e773d2094bab1997c6fab67381d6202aef8024eaa363c03b2345bae95d54dca1ce38c2499ddc24a7e7f93bdc
+DIST rivet-4.0.1.tar.gz 29061104 BLAKE2B 33bb4d003c817e44c2b5ecbf36f0c1d16954b52eb4883531f030af30608e5c499378fc3b3157a4608de63cc07617acbfa56cc124cdf61bbaf2a42841b28d478c SHA512 11704dd4f5c2d6981683f3e0f2d201c2554693dbc5a16c50a064cf9ff890b5dc7039ed2fb09720de21693fcd4ffaf10aba52a6240c65bbcb987a6f48512a0543

diff --git a/sci-physics/rivet/metadata.xml b/sci-physics/rivet/metadata.xml
index a004d00e7bbe..23bb49548be9 100644
--- a/sci-physics/rivet/metadata.xml
+++ b/sci-physics/rivet/metadata.xml
@@ -18,6 +18,7 @@
 		<flag name="zlib">Build with zlib</flag>
 		<flag name="hepmc3">Build with HepMC3</flag>
 		<flag name="hepmc2">Build with HepMC2</flag>
+		<flag name="highfive">Build with hdf5 and highfive</flag>
 	</use>
 	<upstream>
 		<remote-id type="gitlab">hepcedar/rivet</remote-id>

diff --git a/sci-physics/rivet/rivet-9999.ebuild b/sci-physics/rivet/rivet-4.0.1.ebuild
similarity index 73%
copy from sci-physics/rivet/rivet-9999.ebuild
copy to sci-physics/rivet/rivet-4.0.1.ebuild
index ab878070845d..6c8d466288de 100644
--- a/sci-physics/rivet/rivet-9999.ebuild
+++ b/sci-physics/rivet/rivet-4.0.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{11..12} )
 
 inherit python-single-r1 flag-o-matic autotools optfeature bash-completion-r1
 
@@ -18,7 +18,6 @@ HOMEPAGE="
 if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://gitlab.com/hepcedar/rivet"
-	EGIT_BRANCH="release-3-1-x"
 else
 	SRC_URI="https://www.hepforge.org/archive/rivet/${MY_PF}.tar.gz -> ${P}.tar.gz"
 	S=${WORKDIR}/${MY_PF}
@@ -26,18 +25,20 @@ else
 fi
 
 LICENSE="GPL-3+"
-SLOT="3"
-IUSE="+hepmc3 hepmc2 +zlib +python"
+SLOT="4"
+IUSE="+zlib +python +highfive"
 REQUIRED_USE="
-	^^ ( hepmc3 hepmc2 )
 	python? ( ${PYTHON_REQUIRED_USE} )
 "
 
 RDEPEND="
 	>=sci-physics/fastjet-3.4.0[plugins]
 	>=sci-physics/fastjet-contrib-1.048
-	hepmc2? ( sci-physics/hepmc:2=[-cm(-),gev(+)] )
-	hepmc3? ( sci-physics/hepmc:3=[-cm(-),gev(+)] )
+	>=sci-physics/hepmc-3.1.1:3=[-cm(-),gev(+)]
+	highfive? (
+		sci-libs/HighFive
+		sci-libs/hdf5[cxx]
+	)
 
 	sci-libs/gsl
 	zlib? ( sys-libs/zlib )
@@ -46,12 +47,10 @@ RDEPEND="
 		$(python_gen_cond_dep '
 			dev-python/matplotlib[${PYTHON_USEDEP}]
 		')
-		>=sci-physics/yoda-1.9.8[${PYTHON_SINGLE_USEDEP}]
-		<sci-physics/yoda-2[${PYTHON_SINGLE_USEDEP}]
+		>=sci-physics/yoda-2[${PYTHON_SINGLE_USEDEP}]
 	)
 	!python? (
-		>=sci-physics/yoda-1.9.8
-		<sci-physics/yoda-2
+		>=sci-physics/yoda-2
 	)
 "
 DEPEND="${RDEPEND}"
@@ -66,7 +65,6 @@ BDEPEND="
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-3.1.6-binreloc.patch
-	"${FILESDIR}"/${PN}-3.1.9-pythontests.patch
 )
 
 pkg_setup() {
@@ -85,8 +83,8 @@ src_configure() {
 	# not posix compatible, only bash
 	CONFIG_SHELL=${ESYSROOT}/bin/bash econf \
 		$(use_with zlib zlib "${ESYSROOT}/usr") \
-		$(usex hepmc2 "--with-hepmc=${ESYSROOT}/usr" "") \
-		$(usex hepmc3 "--with-hepmc3=${ESYSROOT}/usr" "") \
+		--with-hepmc3="${ESYSROOT}/usr" \
+		$(usex highfive "--with-highfive=${ESYSROOT}/usr" "") \
 		--with-yoda="${ESYSROOT}/usr" \
 		--with-fastjet="${ESYSROOT}/usr" \
 		$(use_enable python pyext) \
@@ -99,17 +97,18 @@ src_install() {
 	find "${ED}" -name '*.la' -delete || die
 	if use python ; then
 		newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
-		bashcomp_alias ${PN} ${PN}-config \
+		bashcomp_alias ${PN} \
+			${PN}-config \
 			${PN}-build \
-			${PN}-buildplugin \
 			${PN}-cmphistos \
 			make-plots \
-			${PN}-mkhtml \
-			${PN}-mkhtml-mpl
+			${PN}-mkhtml-tex \
+			${PN}-mkhtml
 		rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
 	fi
 }
 
 pkg_postinstall() {
-	optfeature "plotting support" virtual/latex-base media-gfx/imagemagick app-text/ghostscript-gpl
+	optfeature "latex plotting support" virtual/latex-base media-gfx/imagemagick app-text/ghostscript-gpl
+	optfeature "python plotting support" dev-python/matplotlib
 }

diff --git a/sci-physics/rivet/rivet-9999.ebuild b/sci-physics/rivet/rivet-9999.ebuild
index ab878070845d..6c8d466288de 100644
--- a/sci-physics/rivet/rivet-9999.ebuild
+++ b/sci-physics/rivet/rivet-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{11..12} )
 
 inherit python-single-r1 flag-o-matic autotools optfeature bash-completion-r1
 
@@ -18,7 +18,6 @@ HOMEPAGE="
 if [[ ${PV} == 9999 ]]; then
 	inherit git-r3
 	EGIT_REPO_URI="https://gitlab.com/hepcedar/rivet"
-	EGIT_BRANCH="release-3-1-x"
 else
 	SRC_URI="https://www.hepforge.org/archive/rivet/${MY_PF}.tar.gz -> ${P}.tar.gz"
 	S=${WORKDIR}/${MY_PF}
@@ -26,18 +25,20 @@ else
 fi
 
 LICENSE="GPL-3+"
-SLOT="3"
-IUSE="+hepmc3 hepmc2 +zlib +python"
+SLOT="4"
+IUSE="+zlib +python +highfive"
 REQUIRED_USE="
-	^^ ( hepmc3 hepmc2 )
 	python? ( ${PYTHON_REQUIRED_USE} )
 "
 
 RDEPEND="
 	>=sci-physics/fastjet-3.4.0[plugins]
 	>=sci-physics/fastjet-contrib-1.048
-	hepmc2? ( sci-physics/hepmc:2=[-cm(-),gev(+)] )
-	hepmc3? ( sci-physics/hepmc:3=[-cm(-),gev(+)] )
+	>=sci-physics/hepmc-3.1.1:3=[-cm(-),gev(+)]
+	highfive? (
+		sci-libs/HighFive
+		sci-libs/hdf5[cxx]
+	)
 
 	sci-libs/gsl
 	zlib? ( sys-libs/zlib )
@@ -46,12 +47,10 @@ RDEPEND="
 		$(python_gen_cond_dep '
 			dev-python/matplotlib[${PYTHON_USEDEP}]
 		')
-		>=sci-physics/yoda-1.9.8[${PYTHON_SINGLE_USEDEP}]
-		<sci-physics/yoda-2[${PYTHON_SINGLE_USEDEP}]
+		>=sci-physics/yoda-2[${PYTHON_SINGLE_USEDEP}]
 	)
 	!python? (
-		>=sci-physics/yoda-1.9.8
-		<sci-physics/yoda-2
+		>=sci-physics/yoda-2
 	)
 "
 DEPEND="${RDEPEND}"
@@ -66,7 +65,6 @@ BDEPEND="
 
 PATCHES=(
 	"${FILESDIR}"/${PN}-3.1.6-binreloc.patch
-	"${FILESDIR}"/${PN}-3.1.9-pythontests.patch
 )
 
 pkg_setup() {
@@ -85,8 +83,8 @@ src_configure() {
 	# not posix compatible, only bash
 	CONFIG_SHELL=${ESYSROOT}/bin/bash econf \
 		$(use_with zlib zlib "${ESYSROOT}/usr") \
-		$(usex hepmc2 "--with-hepmc=${ESYSROOT}/usr" "") \
-		$(usex hepmc3 "--with-hepmc3=${ESYSROOT}/usr" "") \
+		--with-hepmc3="${ESYSROOT}/usr" \
+		$(usex highfive "--with-highfive=${ESYSROOT}/usr" "") \
 		--with-yoda="${ESYSROOT}/usr" \
 		--with-fastjet="${ESYSROOT}/usr" \
 		$(use_enable python pyext) \
@@ -99,17 +97,18 @@ src_install() {
 	find "${ED}" -name '*.la' -delete || die
 	if use python ; then
 		newbashcomp "${ED}"/etc/bash_completion.d/${PN}-completion ${PN}
-		bashcomp_alias ${PN} ${PN}-config \
+		bashcomp_alias ${PN} \
+			${PN}-config \
 			${PN}-build \
-			${PN}-buildplugin \
 			${PN}-cmphistos \
 			make-plots \
-			${PN}-mkhtml \
-			${PN}-mkhtml-mpl
+			${PN}-mkhtml-tex \
+			${PN}-mkhtml
 		rm "${ED}"/etc/bash_completion.d/${PN}-completion || die
 	fi
 }
 
 pkg_postinstall() {
-	optfeature "plotting support" virtual/latex-base media-gfx/imagemagick app-text/ghostscript-gpl
+	optfeature "latex plotting support" virtual/latex-base media-gfx/imagemagick app-text/ghostscript-gpl
+	optfeature "python plotting support" dev-python/matplotlib
 }


^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2024-09-23 15:53 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-21 18:20 [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/ Jauhien Piatlicki
  -- strict thread matches above, loose matches on Subject: below --
2016-11-06 16:12 David Seifert
2016-11-12 15:02 David Seifert
2017-11-25 17:42 David Seifert
2018-03-09  8:29 Guilherme Amadio
2018-03-09 10:53 Guilherme Amadio
2018-03-09 10:53 Guilherme Amadio
2020-02-09 16:36 Michał Górny
2020-03-01 18:36 Matthias Maier
2024-03-29 11:24 Andrew Ammerlaan
2024-03-29 11:24 Andrew Ammerlaan
2024-09-23 15:53 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox