summaryrefslogtreecommitdiff
path: root/sci-physics/rivet
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-physics/rivet
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-physics/rivet')
-rw-r--r--sci-physics/rivet/Manifest7
-rw-r--r--sci-physics/rivet/metadata.xml19
-rw-r--r--sci-physics/rivet/rivet-2.3.0.ebuild59
-rw-r--r--sci-physics/rivet/rivet-2.5.2.ebuild79
4 files changed, 164 insertions, 0 deletions
diff --git a/sci-physics/rivet/Manifest b/sci-physics/rivet/Manifest
new file mode 100644
index 000000000000..356f3a9ac7e0
--- /dev/null
+++ b/sci-physics/rivet/Manifest
@@ -0,0 +1,7 @@
+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 16907 SHA256 bc6f313c09d8b7a8a2dd1ff448ba1a51b4b138428fbcc4447f9effff67286e40 SHA512 64755e6aeaa1f0b3fb76a33ffdf226bcd42ee597a78a8d458b728f0e6f576d4dafbb276a0498c3b573d23054ccbf54ada6f6c12faf52dbfbeef2372094d01181 WHIRLPOOL f026ee892cd3456c4723fa982f6d739a0c126481bfdd6dd16a20e4f0d6fdfa34a0630c48115c6597eda15d0fa8cc12b8069b0ce1d12bc1acdffdc304acb4888f
+EBUILD rivet-2.3.0.ebuild 1305 SHA256 bbdcd1f29aca0ad141d9ed6892911e9f1119a9c71246cef0b08e4b8dc03b6d73 SHA512 d366357c41ed61d2fc7937e014d92dea94b6b7a47913694048276d4a041cdc2e185849869c9b21db0ff2a503dc11bde70a4cf2a86a9116e992a21a27e1467193 WHIRLPOOL 2ddcce4a66cb9380197163d6a7c9e30093ab8d7c8c1fe3c91374bf678b24994a4594c296a6235276300e50995ace95d044125b878a783b864e4b533dc4b0996d
+EBUILD rivet-2.5.2.ebuild 1768 SHA256 aa2e10f81779ae0ba79cdf7e4334ffd16d45ad88cab2b63d250b95ff8abd9841 SHA512 8bf89e54ce4279b5703b440a5c5dafddb1559b3aab08b5bc3ed1028bd4467c31f5a996cf9d919b0426ef88996fc63aea35393f6ad7c70934074dde876bf675b7 WHIRLPOOL bc3ffe07423df1e5db54496ed6e063d15f7923825d7f8adc258521741be7d5ff7b4e54a8b48773945656ed52a78bd495a9b9958fbbde76399ab6f9bb0df104b1
+MISC ChangeLog 1712 SHA256 7b63118e676a826768232e59376cd1874bc95de383a10f57ca65417cbbf93663 SHA512 e5efcc7f6b4523973c3f9d99d373a3fe88213ad462cb20dae56730f33c72da0b5a441550c35f775b14e984afdc55b37b79d66de98073dfbd52f527e88870e36a WHIRLPOOL c71c228c6ab450320a5dfa68c0ccc7ff11403a9fab2f5f85ff3597c1f3f8703a26696c24ec3209bad5ec93708c58897096358ad3bda08b6524f077feaeb0b595
+MISC metadata.xml 830 SHA256 a1c82602710263487fd5a837266e16c5a9cb8cfbba09a798180f76fbb9440ea3 SHA512 a13f39174c4d4e6ef47a2f7c3b3cdbf67f0cdd72f18bf15d6bc37c41c1cf33286219c9030ba525694cb5f6cc28f0ace5b839610904415735e502494dbdd3f29d WHIRLPOOL 6374f4efba7e06409688f70f9269992f0b97a2851ab10d017d6aebd5fc08875351310cb2e24ab4431387a59b048324328236d1f4d1901308fcc9ab679ca322cf
diff --git a/sci-physics/rivet/metadata.xml b/sci-physics/rivet/metadata.xml
new file mode 100644
index 000000000000..532272a0d9cd
--- /dev/null
+++ b/sci-physics/rivet/metadata.xml
@@ -0,0 +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>
+</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 000000000000..63dece0d0092
--- /dev/null
+++ b/sci-physics/rivet/rivet-2.3.0.ebuild
@@ -0,0 +1,59 @@
+# 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
new file mode 100644
index 000000000000..86e41340c503
--- /dev/null
+++ b/sci-physics/rivet/rivet-2.5.2.ebuild
@@ -0,0 +1,79 @@
+# 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
+}