public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Guilherme Amadio" <amadio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/
Date: Fri,  9 Mar 2018 08:29:07 +0000 (UTC)	[thread overview]
Message-ID: <1520584144.23ff9c6da1eb892b12e7a0b1edbf4d87ae4f6b26.amadio@gentoo> (raw)

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
+}


             reply	other threads:[~2018-03-09  8:29 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-09  8:29 Guilherme Amadio [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-06 12:31 [gentoo-commits] repo/gentoo:master commit in: sci-physics/rivet/ Nowa Ammerlaan
2025-01-14  8:58 Nowa Ammerlaan
2024-11-05 15:00 Andrew Ammerlaan
2024-09-23 15:53 Andrew Ammerlaan
2024-03-29 11:24 Andrew Ammerlaan
2024-03-29 11:24 Andrew Ammerlaan
2020-03-01 18:36 Matthias Maier
2020-02-09 16:36 Michał Górny
2018-03-09 10:53 Guilherme Amadio
2018-03-09 10:53 Guilherme Amadio
2017-11-25 17:42 David Seifert
2016-11-12 15:02 David Seifert
2016-11-06 16:12 David Seifert
2015-08-21 18:20 Jauhien Piatlicki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1520584144.23ff9c6da1eb892b12e7a0b1edbf4d87ae4f6b26.amadio@gentoo \
    --to=amadio@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox