diff options
Diffstat (limited to 'dev-python/prov/prov-2.0.0.ebuild')
-rw-r--r-- | dev-python/prov/prov-2.0.0.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-python/prov/prov-2.0.0.ebuild b/dev-python/prov/prov-2.0.0.ebuild new file mode 100644 index 000000000000..735e747bd65c --- /dev/null +++ b/dev-python/prov/prov-2.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +inherit distutils-r1 + +DESCRIPTION="W3C provenance data dodel library" +HOMEPAGE="https://pypi.org/project/prov/" +SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + dev-python/pydot[${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}] +" + +distutils_enable_tests setup.py + +src_prepare() { + sed -e 's/test_json_to_ttl_match/_&/' -i src/prov/tests/test_rdf.py || die + distutils-r1_src_prepare +} |