From 0f2155f40fe1ca7ba07767b49296447529de8abd Mon Sep 17 00:00:00 2001 From: Horea Christian Date: Sun, 2 Apr 2017 19:37:28 +0200 Subject: [PATCH] dev-python/prov: new ebuild Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- dev-python/prov/Manifest | 1 + dev-python/prov/metadata.xml | 21 ++++++++++++++++ dev-python/prov/prov-1.5.0.ebuild | 40 +++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) create mode 100644 dev-python/prov/Manifest create mode 100644 dev-python/prov/metadata.xml create mode 100644 dev-python/prov/prov-1.5.0.ebuild diff --git a/dev-python/prov/Manifest b/dev-python/prov/Manifest new file mode 100644 index 0000000000000..63592313f749f --- /dev/null +++ b/dev-python/prov/Manifest @@ -0,0 +1 @@ +DIST prov-1.5.0.tar.gz 125045 SHA256 96a74efa1b3324961ff66246539ed7bdc06245dcbeef538688c755a0ad5777ee SHA512 d08b924385f587814f6094679649e746bc687e136ddebe1194c5d97921a081b960a5531f13cb8f83d167dbd1cf7114d2e55478431feaf52e547db24a181a2ad2 WHIRLPOOL 1e10dd7066c6b0ce09b5d46330ccdb245c1344dcc650a84d09f5fbca081ed5cb1f328058a250d27b92112929771d90c5ffa5ecd0174942dc7fa04298a0d593b8 diff --git a/dev-python/prov/metadata.xml b/dev-python/prov/metadata.xml new file mode 100644 index 0000000000000..28c33bc9d0138 --- /dev/null +++ b/dev-python/prov/metadata.xml @@ -0,0 +1,21 @@ + + + + + horea.christ@gmail.com + Horea Christian + + + proxy-maint@gentoo.org + Proxy Maintainers + + + A library for W3C Provenance Data Model supporting PROV-O + (RDF), PROV-XML, PROV-JSON import/export Interface to + Graphviz’s Dot language. + + + prov + + + diff --git a/dev-python/prov/prov-1.5.0.ebuild b/dev-python/prov/prov-1.5.0.ebuild new file mode 100644 index 0000000000000..65fc7e3bddd02 --- /dev/null +++ b/dev-python/prov/prov-1.5.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +inherit distutils-r1 + +DESCRIPTION="W3C provenance data dodel library" +HOMEPAGE="https://pypi.python.org/pypi/prov" +SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + dev-python/pydotplus[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + >=dev-python/networkx-1.10[${PYTHON_USEDEP}] + dev-python/rdflib[${PYTHON_USEDEP}] + >=dev-python/six-1.10[${PYTHON_USEDEP}] +" +DEPEND=" + test? ( ${RDEPEND} ) + dev-python/setuptools[${PYTHON_USEDEP}] +" + +#the test phase fails due to a bug that may be better fixed +#in setuptools or the yajl package: +#https://github.com/gentoo/gentoo/pull/4346#issuecomment-291776642 +RESTRICT="test" + +python_test() { + ${EPYTHON} -m unittest discover || die +}