diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-09-19 19:04:24 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-09-19 19:04:24 +0000 |
| commit | f7202bf5f2bf2f4956c39730bd78704ff1678d12 (patch) | |
| tree | 6fd0a5e303f7d3b13c93432c37e8039fa981b16a /dev-python/rdflib | |
| parent | ac2036dab2d57b7eaa2b2ede1c4f6c961a3a3f9c (diff) | |
| download | baldeagleos-repo-f7202bf5f2bf2f4956c39730bd78704ff1678d12.tar.gz baldeagleos-repo-f7202bf5f2bf2f4956c39730bd78704ff1678d12.tar.xz baldeagleos-repo-f7202bf5f2bf2f4956c39730bd78704ff1678d12.zip | |
Adding metadata
Diffstat (limited to 'dev-python/rdflib')
| -rw-r--r-- | dev-python/rdflib/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/rdflib/rdflib-7.2.1.ebuild | 72 |
2 files changed, 73 insertions, 0 deletions
diff --git a/dev-python/rdflib/Manifest b/dev-python/rdflib/Manifest index 5611201324b9..57ed2ac7305c 100644 --- a/dev-python/rdflib/Manifest +++ b/dev-python/rdflib/Manifest @@ -1 +1,2 @@ DIST rdflib-7.1.4.gh.tar.gz 5031847 BLAKE2B e16d6f5a37925cbc81d6a7ad0c883404a8ed8c89e562bf836ea61ae27005fe2b9fb714cd259ae2718649853642f09e147531dfce97be43d0e2c844561d7de88f SHA512 dcdf31ee0ed5e1b68e650155996e139e9160be0598189d41dbfe2734a50679d4dacad2fc887a30e51bc2c1dee1878291f01c374e17d6e4175b30b69ff73bba60 +DIST rdflib-7.2.1.gh.tar.gz 5079064 BLAKE2B a818508493bb900defabdc105baf740b7a0ed1ae861005a36fd47fcc863afe64d8813008a6a102138f2f3700e43267ccfa904234bd96866314b9981cdd87a693 SHA512 57a6f07261d92b0ea89fe4b2033f4683634c37dd5f185d31170ac1957fc2117144bd47e546f4f5bd56f631236a24544279467de7ab16b84058fdfa1a1b61adac diff --git a/dev-python/rdflib/rdflib-7.2.1.ebuild b/dev-python/rdflib/rdflib-7.2.1.ebuild new file mode 100644 index 000000000000..5f64365ec0ca --- /dev/null +++ b/dev-python/rdflib/rdflib-7.2.1.ebuild @@ -0,0 +1,72 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) +PYTHON_REQ_USE="sqlite?,threads(+)" + +inherit distutils-r1 + +DESCRIPTION="RDF library containing a triple store and parser/serializer" +HOMEPAGE=" + https://github.com/RDFLib/rdflib/ + https://pypi.org/project/rdflib/ +" +# tests removed in 7.1.2 +SRC_URI=" + https://github.com/RDFLib/rdflib/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples sqlite" + +RDEPEND=" + $(python_gen_cond_dep ' + <dev-python/isodate-1[${PYTHON_USEDEP}] + >=dev-python/isodate-0.7.2[${PYTHON_USEDEP}] + ' 3.10) + dev-python/html5lib[${PYTHON_USEDEP}] + <dev-python/pyparsing-4[${PYTHON_USEDEP}] + >=dev-python/pyparsing-3.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=() +distutils_enable_tests pytest + +python_prepare_all() { + distutils-r1_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 + + # allow regular html5lib, html5rdf is a fork with minimal changes: + # removing six dep (which is kinda good) and bundling webencodings + # (which is horrible) + find -name '*.py' -exec sed -i -e 's:html5rdf:html5lib:g' {} + || die +} + +python_test() { + 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 +} |
