aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorea Christian <chr@chymera.eu>2024-05-09 18:47:56 -0400
committerHorea Christian <chr@chymera.eu>2024-05-09 18:48:45 -0400
commit024167b1e3f826ae32f4de09292733a499c8affa (patch)
treebc6d3ee8df9e2e4f18da20419e52708ce4398c13 /dev-python/prov/prov-2.0.0.ebuild
parentdev-python/methodtools: new package, add 0.4.7 (diff)
downloadsci-024167b1e3f826ae32f4de09292733a499c8affa.tar.gz
sci-024167b1e3f826ae32f4de09292733a499c8affa.tar.bz2
sci-024167b1e3f826ae32f4de09292733a499c8affa.zip
dev-python/prov: new package, add 2.0.0
Brought back here after deprecation from ::gentoo, fixed some of the issues with it. Signed-off-by: Horea Christian <chr@chymera.eu>
Diffstat (limited to 'dev-python/prov/prov-2.0.0.ebuild')
-rw-r--r--dev-python/prov/prov-2.0.0.ebuild43
1 files changed, 43 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 000000000..a87b15c6f
--- /dev/null
+++ b/dev-python/prov/prov-2.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..12} )
+inherit distutils-r1 pypi
+
+DESCRIPTION="W3C provenance data dodel library"
+HOMEPAGE="https://pypi.org/project/prov/"
+
+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 pytest
+
+# Reported upstream:
+# https://github.com/trungdong/prov/issues/156
+EPYTEST_DESELECT=(
+ src/prov/tests/test_model.py::TestAttributesBase
+ src/prov/tests/test_rdf.py::TestStatementsBase
+ src/prov/tests/test_rdf.py::TestAttributesBase2
+ src/prov/tests/test_rdf.py::TestQualifiedNamesBase
+ src/prov/tests/test_rdf.py::TestAttributesBase
+ src/prov/tests/test_model.py::TestStatementsBase
+ src/prov/tests/test_model.py::TestExamplesBase::test_all_examples
+ src/prov/tests/test_model.py::TestQualifiedNamesBase
+ src/prov/tests/test_rdf.py::RoundTripRDFTests::test_namespace_inheritance
+ src/prov/tests/test_rdf.py::RoundTripRDFTests::test_default_namespace_inheritance
+ src/prov/tests/test_rdf.py::TestRDFSerializer::test_json_to_ttl_match
+ src/prov/tests/test_rdf.py::TestJSONExamplesBase::test_all_examples
+ src/prov/tests/test_rdf.py::TestExamplesBase::test_all_examples
+)