commit: 5d4acbb4166644a1934c50b318bcfeac6fb8b396 Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> AuthorDate: Tue May 6 19:29:28 2014 +0000 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> CommitDate: Tue May 6 19:29:28 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=5d4acbb4
sci-physics/yoda: Initial import Package-Manager: portage-2.2.8-prefix --- sci-physics/yoda/ChangeLog | 9 +++++++ sci-physics/yoda/metadata.xml | 15 ++++++++++++ sci-physics/yoda/yoda-1.0.6.ebuild | 50 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+) diff --git a/sci-physics/yoda/ChangeLog b/sci-physics/yoda/ChangeLog new file mode 100644 index 0000000..72d87df --- /dev/null +++ b/sci-physics/yoda/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for sci-physics/yoda +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*yoda-1.0.6 (06 May 2014) + + 06 May 2014; Sébastien Fabbro <[email protected]> +metadata.xml, + +yoda-1.0.6.ebuild: + sci-physics/yoda: Initial import diff --git a/sci-physics/yoda/metadata.xml b/sci-physics/yoda/metadata.xml new file mode 100644 index 0000000..d573312 --- /dev/null +++ b/sci-physics/yoda/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci-physics</herd> +<longdescription> + Yet more Objects for Data Analysis is a small set of data analysis + (specifically histogramming) classes being developed by MCnet + members as a lightweight common system for MC event generator + validation analyses, particularly as the core histogramming system + in Rivet. +</longdescription> +<use> + <flag name='root'>Adds support for <pkg>sci-physics/root</pkg></flag> +</use> +</pkgmetadata> diff --git a/sci-physics/yoda/yoda-1.0.6.ebuild b/sci-physics/yoda/yoda-1.0.6.ebuild new file mode 100644 index 0000000..67078fe --- /dev/null +++ b/sci-physics/yoda/yoda-1.0.6.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +AUTOTOOLS_IN_SOURCE_BUILD=1 +PYTHON_COMPAT=( python2_7 ) + +inherit python-single-r1 autotools-utils bash-completion-r1 + +MYP=YODA-${PV} + +DESCRIPTION="Yet more Objects for (High Energy Physics) Data Analysis" +HOMEPAGE="http://yoda.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="python root static-libs" + +RDEPEND=" + dev-libs/boost:0= + python? ( ${PYTHON_DEPS} ) + root? ( sci-physics/root:0=[python=,${PYTHON_USEDEP}] )" +DEPEND="${RDEPEND} + 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) + $(use_enable root) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + newbashcomp "${ED}"/usr/share/YODA/yoda-completion yoda +}
