public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rdflib/
Date: Fri, 29 Jul 2022 18:02:43 +0000 (UTC)	[thread overview]
Message-ID: <1659117759.de231cdeec51fab5109e5a0a032607b6e304cca3.mgorny@gentoo> (raw)

commit:     de231cdeec51fab5109e5a0a032607b6e304cca3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 29 18:01:29 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jul 29 18:02:39 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de231cde

dev-python/rdflib: Bump to 6.2.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/rdflib/Manifest            |  1 +
 dev-python/rdflib/rdflib-6.2.0.ebuild | 95 +++++++++++++++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/dev-python/rdflib/Manifest b/dev-python/rdflib/Manifest
index 06181c7d2436..a42b874888dc 100644
--- a/dev-python/rdflib/Manifest
+++ b/dev-python/rdflib/Manifest
@@ -1 +1,2 @@
 DIST rdflib-6.1.1.tar.gz 1587670 BLAKE2B f13831124a8f292f0481f5ee9995b6b7ba82992cbe51abb0067703b2acee9f13ce5a62379636ac9f36823afa5b841799c1f26358efb6c12eca2df333611d5488 SHA512 049608dc37dba929eac1e40431885d319311f27be9fddc292d768e3703927e61a646a73137e4a1eaa16836cfba4606ea2cfd8fe3a86cfbf10e3271cee2ee251f
+DIST rdflib-6.2.0.gh.tar.gz 4886953 BLAKE2B 74044b0cbaf6c1ba6f2a43347112118dcf92b5237afdd49782ca6d637df092379ff2d81eaec254ad0bf25057f8c0cd44c82a35a89d4ce7b21c8e222de9aef16a SHA512 8177c50e9c2d48859a061dfee24c3560b8f979bc306b3d940a9251ec130e3a324bbad474f4fa7ced5e11522d3bd4e13931461bf106f31177fd972806968d8245

diff --git a/dev-python/rdflib/rdflib-6.2.0.ebuild b/dev-python/rdflib/rdflib-6.2.0.ebuild
new file mode 100644
index 000000000000..e41b3e6e638d
--- /dev/null
+++ b/dev-python/rdflib/rdflib-6.2.0.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_REQ_USE="sqlite?,threads(+)"
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="RDF library containing a triple store and parser/serializer"
+HOMEPAGE="
+	https://github.com/RDFLib/rdflib/
+	https://pypi.org/project/rdflib/
+"
+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 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="examples sqlite"
+
+RDEPEND="
+	dev-python/isodate[${PYTHON_USEDEP}]
+	dev-python/html5lib[${PYTHON_USEDEP}]
+	dev-python/pyparsing[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/berkeleydb[${PYTHON_USEDEP}]
+		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 EPYTEST_DESELECT=(
+		# some of them fail with encoding problems (bad code most likely)
+		# but too many to list them one by one
+		test/test_w3c_spec/test_sparql11_w3c.py::test_entry_sparql11
+		"test/test_sparql/test_result.py::test_select_result_serialize_parse[xml-TEXT_IO-utf-8]"
+		"test/test_sparql/test_result.py::test_select_result_serialize_parse[xml-STR_PATH-utf-8]"
+		"test/test_sparql/test_result.py::test_select_result_serialize_parse[xml-BINARY_IO-utf-8]"
+		"test/test_sparql/test_result.py::test_select_result_serialize_parse[xml-None-utf-8]"
+		"test/test_sparql/test_result.py::test_select_result_parse_serialized[xml-TEXT_IO-utf-8]"
+
+		# Internet
+		test/test_sparql/test_service.py
+		"test/jsonld/test_onedotone.py::test_suite[https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tc034-do_test_parser-https://w3c.github.io/json-ld-api/tests/-toRdf-c034-toRdf/c034-in.jsonld-toRdf/c034-out.nq-False-options66]"
+		"test/jsonld/test_onedotone.py::test_suite[https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te126-do_test_parser-https://w3c.github.io/json-ld-api/tests/-toRdf-e126-toRdf/e126-in.jsonld-toRdf/e126-out.nq-False-options167]"
+		"test/jsonld/test_onedotone.py::test_suite[https://w3c.github.io/json-ld-api/tests/toRdf-manifest#te127-do_test_parser-https://w3c.github.io/json-ld-api/tests/-toRdf-e127-toRdf/e127-in.jsonld-toRdf/e127-out.nq-False-options168]"
+		"test/jsonld/test_onedotone.py::test_suite[https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso05-do_test_parser-https://w3c.github.io/json-ld-api/tests/-toRdf-so05-toRdf/so05-in.jsonld-toRdf/so05-out.nq-False-options253]"
+		"test/jsonld/test_onedotone.py::test_suite[https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso08-do_test_parser-https://w3c.github.io/json-ld-api/tests/-toRdf-so08-toRdf/so08-in.jsonld-toRdf/so08-out.nq-False-options254]"
+		"test/jsonld/test_onedotone.py::test_suite[https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso09-do_test_parser-https://w3c.github.io/json-ld-api/tests/-toRdf-so09-toRdf/so09-in.jsonld-toRdf/so09-out.nq-False-options255]"
+		"test/jsonld/test_onedotone.py::test_suite[https://w3c.github.io/json-ld-api/tests/toRdf-manifest#tso11-do_test_parser-https://w3c.github.io/json-ld-api/tests/-toRdf-so11-toRdf/so11-in.jsonld-toRdf/so11-out.nq-False-options256]"
+		test/test_extras/test_infixowl/test_basic.py::test_infix_owl_example1
+		test/test_extras/test_infixowl/test_context.py::test_context
+		test/test_graph/test_graph.py::test_guess_format_for_parse
+	)
+	local EPYTEST_IGNORE=(
+		# Uses network
+		test/test_so_69984830.py
+	)
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+
+	epytest
+}
+
+python_install_all() {
+	distutils-r1_python_install_all
+
+	if use examples; then
+		dodoc -r examples
+		docompress -x /usr/share/doc/${PF}/examples
+	fi
+}
+
+pkg_postinst() {
+	optfeature "support for sys-libs/db (Berkeley DB for MySQL)" dev-python/berkeleydb
+}


             reply	other threads:[~2022-07-29 18:02 UTC|newest]

Thread overview: 95+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-29 18:02 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-01  9:54 [gentoo-commits] repo/gentoo:master commit in: dev-python/rdflib/ Arthur Zamarin
2025-01-18  7:20 Michał Górny
2025-01-10 20:43 Michał Górny
2024-11-16  8:38 Arthur Zamarin
2024-10-28 16:24 Michał Górny
2024-10-09  7:47 Michał Górny
2024-10-09  7:47 Michał Górny
2023-09-01 16:44 Michał Górny
2023-09-01 16:30 Arthur Zamarin
2023-08-02  6:05 Michał Górny
2023-04-22  9:16 Michał Górny
2023-04-22  9:04 Arthur Zamarin
2023-03-26 18:02 Michał Górny
2023-03-19 19:03 Michał Górny
2023-02-01 19:16 Michał Górny
2023-02-01 19:16 Michał Górny
2022-10-19 10:07 WANG Xuerui
2022-08-30 16:59 Arthur Zamarin
2022-08-30 16:43 Arthur Zamarin
2022-05-01 17:16 Arthur Zamarin
2022-05-01 17:09 Arthur Zamarin
2022-02-03 21:34 Michał Górny
2022-02-03 20:57 Arthur Zamarin
2022-01-10  6:08 Joshua Kinard
2021-12-31 16:53 Matt Turner
2021-12-20  6:16 Arthur Zamarin
2021-11-02 18:23 Sam James
2021-11-02 14:52 Sam James
2021-11-02  9:15 Agostino Sarubbo
2021-11-01 15:46 Sam James
2021-11-01 15:46 Sam James
2021-10-27  4:40 Arthur Zamarin
2021-10-27  4:13 Sam James
2021-10-26  3:14 Sam James
2021-10-24  4:51 Sam James
2021-10-24  4:50 Sam James
2021-10-24  4:50 Sam James
2021-10-24  1:15 Sam James
2021-10-11  7:56 Michał Górny
2021-10-10  2:20 Sam James
2021-10-10  0:09 Sam James
2021-10-10  0:05 Sam James
2021-10-04 22:58 Sam James
2021-09-22  2:34 Yixun Lan
2021-09-21 13:22 Arthur Zamarin
2021-08-24 21:02 Marek Szuba
2020-07-30 20:08 Sam James
2020-07-30 19:39 Sam James
2020-06-18 20:26 Michał Górny
2020-06-18 18:09 Michał Górny
2020-06-18 18:09 Michał Górny
2020-04-13 13:05 Sergei Trofimovich
2020-03-29  7:04 Michał Górny
2020-03-29  7:04 Michał Górny
2020-03-29  7:04 Michał Górny
2020-03-29  7:04 Michał Górny
2020-03-29  7:04 Michał Górny
2020-03-07 11:06 Agostino Sarubbo
2020-03-07 11:03 Agostino Sarubbo
2020-03-07 10:58 Agostino Sarubbo
2020-03-07 10:54 Agostino Sarubbo
2020-03-07 10:50 Agostino Sarubbo
2020-03-07  9:44 Agostino Sarubbo
2020-03-07  8:59 Agostino Sarubbo
2019-06-18 18:17 Sergei Trofimovich
2019-05-21 22:43 Aaron Bauman
2019-02-18 19:23 Alexis Ballier
2018-12-23  4:05 Matt Turner
2018-12-23  3:25 Matt Turner
2018-05-01 11:47 Jeroen Roovers
2018-03-21  5:55 Markus Meier
2017-12-28 14:03 Sergei Trofimovich
2017-12-28 12:29 Sergei Trofimovich
2017-12-27 20:06 Sergei Trofimovich
2017-12-06 22:34 Sergei Trofimovich
2017-12-02 20:55 Mike Gilbert
2017-11-30 20:19 Tobias Klausmann
2017-11-30 19:02 Thomas Deutschmann
2017-06-15 14:23 Anthony G. Basile
2017-05-15 13:15 Lars Wendler
2017-05-15  9:47 Lars Wendler
2017-02-24 18:05 Markus Meier
2017-01-24 11:46 Agostino Sarubbo
2017-01-23 16:27 Agostino Sarubbo
2017-01-22 20:10 Tobias Klausmann
2017-01-22 16:27 Agostino Sarubbo
2017-01-21 20:33 Agostino Sarubbo
2017-01-21 18:54 Agostino Sarubbo
2017-01-21 17:27 Agostino Sarubbo
2016-03-02 16:53 Patrick Lauer
2015-11-11 17:27 Justin Lecher
2015-10-14 16:07 Justin Lecher
2015-08-19 21:28 Mike Gilbert
2015-08-19 10:07 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1659117759.de231cdeec51fab5109e5a0a032607b6e304cca3.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox