From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/rootpy/Manifest | 1 + dev-python/rootpy/metadata.xml | 17 +++++++++++ dev-python/rootpy/rootpy-1.0.1-r1.ebuild | 51 ++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 dev-python/rootpy/Manifest create mode 100644 dev-python/rootpy/metadata.xml create mode 100644 dev-python/rootpy/rootpy-1.0.1-r1.ebuild (limited to 'dev-python/rootpy') diff --git a/dev-python/rootpy/Manifest b/dev-python/rootpy/Manifest new file mode 100644 index 000000000000..f9282c002149 --- /dev/null +++ b/dev-python/rootpy/Manifest @@ -0,0 +1 @@ +DIST rootpy-1.0.1.tar.gz 418618 BLAKE2B ce321e69d7e202877697d133ad2ba90df71cd261b206211718cb6a9ec8ee3ec085cac49526b9bb75166fafeb43f83b3f53bf231d9353f3d63fa7e4be381ce454 SHA512 db1c7edc02d1cd5a4a1940237c1e1c63d892bb92e612bdad028d14f9723a4bdc5f9b6711a135b0e099ce1895b2564b29aeb21ef0d2c3681354bf4edc9c6a325f diff --git a/dev-python/rootpy/metadata.xml b/dev-python/rootpy/metadata.xml new file mode 100644 index 000000000000..654b4534ac1f --- /dev/null +++ b/dev-python/rootpy/metadata.xml @@ -0,0 +1,17 @@ + + + + + sci-physics@gentoo.org + Gentoo Physics Project + + + The rootpy project is a community-driven initiative aiming to provide + a more pythonic interface with ROOT on top of the existing PyROOT + bindings. + + + rootpy + + gentoo-staging + diff --git a/dev-python/rootpy/rootpy-1.0.1-r1.ebuild b/dev-python/rootpy/rootpy-1.0.1-r1.ebuild new file mode 100644 index 000000000000..6b13cc9333d3 --- /dev/null +++ b/dev-python/rootpy/rootpy-1.0.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_6 ) +PYTHON_REQ_USE="readline" +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 + +DESCRIPTION="Pythonic layer on top of the ROOT framework's PyROOT bindings" +HOMEPAGE="http://rootpy.org" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="examples test" + +RDEPEND=" + sci-physics/root:=[${PYTHON_SINGLE_USEDEP}] + dev-python/root_numpy[${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep ' + dev-python/matplotlib[${PYTHON_MULTI_USEDEP}] + dev-python/pytables[${PYTHON_MULTI_USEDEP}] + dev-python/termcolor[${PYTHON_MULTI_USEDEP}] + ')" + +DEPEND=" + sci-physics/root[${PYTHON_SINGLE_USEDEP}] + test? ( + $(python_gen_cond_dep ' + dev-python/nose[${PYTHON_MULTI_USEDEP}] + ') + )" + +# TOFIX: tests go in an infinite loop error +RESTRICT=test + +python_test() { + cd "${BUILD_DIR}" || die + nosetests -v || die "Testing failed with ${EPYTHON}" +} + +python_install_all() { + distutils-r1_python_install_all + if use examples; then + dodoc -r examples + fi +} -- cgit v1.3.1