commit: c95aada6318ef1bbc0fcd1a4e302338ce01aedff Author: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org> AuthorDate: Sat Aug 15 21:33:13 2015 +0000 Commit: Jauhien Piatlicki <jauhien <AT> gentoo <DOT> org> CommitDate: Sat Aug 15 21:33:13 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c95aada6
[sci-physics/rivet] version bump sci-physics/rivet/ChangeLog | 7 ++++- sci-physics/rivet/rivet-2.3.0.ebuild | 60 ++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 1 deletion(-) diff --git a/sci-physics/rivet/ChangeLog b/sci-physics/rivet/ChangeLog index fe6ccee..65033b7 100644 --- a/sci-physics/rivet/ChangeLog +++ b/sci-physics/rivet/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for sci-physics/rivet -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*rivet-2.3.0 (15 Aug 2015) + + 15 Aug 2015; Jauhien Piatlicki <jauh...@gentoo.org> +rivet-2.3.0.ebuild: + version bump + *rivet-2.1.2 (05 Sep 2014) 05 Sep 2014; Jauhien Piatlicki <jauh...@gentoo.org> +rivet-2.1.2.ebuild: 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..c6fd806 --- /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 +# $Header: $ + +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 +}