diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-03-27 06:07:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2023-03-27 06:07:33 +0000 |
| commit | b2ba880059c86056e84e77e4f84f2ecd120b0caf (patch) | |
| tree | 7a3121e87ff4748b8fc982aafdac4f53f8728cb0 /dev-python/rdflib | |
| parent | 5fe8a7f2da6b6609438210908e64fd7501a576e0 (diff) | |
| download | baldeagleos-repo-b2ba880059c86056e84e77e4f84f2ecd120b0caf.tar.gz baldeagleos-repo-b2ba880059c86056e84e77e4f84f2ecd120b0caf.tar.xz baldeagleos-repo-b2ba880059c86056e84e77e4f84f2ecd120b0caf.zip | |
Adding metadata
Diffstat (limited to 'dev-python/rdflib')
| -rw-r--r-- | dev-python/rdflib/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/rdflib/rdflib-6.3.2.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-python/rdflib/Manifest b/dev-python/rdflib/Manifest index e4a650ddcf39..4048e82a6be9 100644 --- a/dev-python/rdflib/Manifest +++ b/dev-python/rdflib/Manifest @@ -1,3 +1,4 @@ DIST rdflib-6.2.0.gh.tar.gz 4886953 BLAKE2B 74044b0cbaf6c1ba6f2a43347112118dcf92b5237afdd49782ca6d637df092379ff2d81eaec254ad0bf25057f8c0cd44c82a35a89d4ce7b21c8e222de9aef16a SHA512 8177c50e9c2d48859a061dfee24c3560b8f979bc306b3d940a9251ec130e3a324bbad474f4fa7ced5e11522d3bd4e13931461bf106f31177fd972806968d8245 DIST rdflib-6.3.0.gh.tar.gz 4980436 BLAKE2B 07f86418a0d598f59e4912057f4e11183bc0ad66a4cc5d7a83df6abce325f708a4920303afcbcdc97fb19b39199725a6410552704011e0f154815b7692724d88 SHA512 b8fd7d43f22779175e4d29f6256f070cb58f694fbfc9d068932c992ac732c687668ef68defbb6fa49f55f0b11d3b8f65b3a9d94aa8693ad9b8ab7c670625d06c DIST rdflib-6.3.1.gh.tar.gz 4985262 BLAKE2B 1de63607aca70f3c498970fd639a8fb61c65ecd1fbae63c466bf7750dd3f84264f3abe2ed958fef4f1a06877069a0d21ba36ac946a72fc53f93087b27e35a69a SHA512 e348b721edac73a5cedc499e7e50819694c931d921fc1637fc2f26f66801d17d169cc447126974828d745851818bd5a616081dddf9a48e483835dbf20288b318 +DIST rdflib-6.3.2.tar.gz 4749592 BLAKE2B 5f7832934e3b42387f7c792341d0aee9765d179beb409a8c92ed0251715be70a79a5ac71022f4599804b489acd2695a32a033e8aa73aa174d8393330b4c21750 SHA512 682554114456269ecd5a20433e31030e2ae85ccf84400060420433cba317eb272649a38c2c75f0d4ada878c391683f8a422452d24b2f8a41c28e99b977e2b557 diff --git a/dev-python/rdflib/rdflib-6.3.2.ebuild b/dev-python/rdflib/rdflib-6.3.2.ebuild new file mode 100644 index 000000000000..0ab057acea00 --- /dev/null +++ b/dev-python/rdflib/rdflib-6.3.2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{7,8,9,10,11} ) +PYTHON_REQ_USE="sqlite?,threads(+)" + +inherit distutils-r1 pypi + +DESCRIPTION="RDF library containing a triple store and parser/serializer" +HOMEPAGE=" + https://github.com/RDFLib/rdflib/ + https://pypi.org/project/rdflib/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples sqlite" + +RDEPEND=" + <dev-python/isodate-1[${PYTHON_USEDEP}] + >=dev-python/isodate-0.6.0[${PYTHON_USEDEP}] + dev-python/html5lib[${PYTHON_USEDEP}] + <dev-python/pyparsing-4[${PYTHON_USEDEP}] + >=dev-python/pyparsing-2.1.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + # doctests require internet + sed -i -e '/doctest-modules/d' pyproject.toml || die + + # we disable pytest-cov + sed -i -e 's@, no_cover: None@@' test/test_misc/test_plugins.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + + epytest -m "not webtest" +} + +python_install_all() { + distutils-r1_python_install_all + + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi +} |
