From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7A59215813A for ; Sat, 18 Jan 2025 07:20:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C37EAE07E2; Sat, 18 Jan 2025 07:20:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 979F7E07E2 for ; Sat, 18 Jan 2025 07:20:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7801D343253 for ; Sat, 18 Jan 2025 07:20:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A5DB32532 for ; Sat, 18 Jan 2025 07:20:17 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1737184812.92bac9f32eff2dd2a0b7e86b9136ac71e6761a06.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/rdflib/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/rdflib/Manifest dev-python/rdflib/rdflib-7.1.3.ebuild X-VCS-Directories: dev-python/rdflib/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 92bac9f32eff2dd2a0b7e86b9136ac71e6761a06 X-VCS-Branch: master Date: Sat, 18 Jan 2025 07:20:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b88e9234-b3d0-4cae-b187-9210d8faead6 X-Archives-Hash: b2076e2189dc95f0e88f24c3e2861ddb commit: 92bac9f32eff2dd2a0b7e86b9136ac71e6761a06 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 18 07:05:30 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jan 18 07:20:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92bac9f3 dev-python/rdflib: Bump to 7.1.3 Signed-off-by: Michał Górny gentoo.org> dev-python/rdflib/Manifest | 1 + dev-python/rdflib/rdflib-7.1.3.ebuild | 72 +++++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) diff --git a/dev-python/rdflib/Manifest b/dev-python/rdflib/Manifest index 55003184a6d7..4dea2a154163 100644 --- a/dev-python/rdflib/Manifest +++ b/dev-python/rdflib/Manifest @@ -1,2 +1,3 @@ DIST rdflib-7.1.1.tar.gz 4864216 BLAKE2B b583e6f9afab95fc0818c4f11740ab8cab540b774a3db15fc8be7b836149f40af6eb445a61b61e020c55f9b561c17f5019275070272449bd4ea25827e4925e39 SHA512 6eafaebfb604446399b214496aabc91fe0c689e9b35d5637de35a5d9784a1acb9d727c7ad5eebe8700d0be2b1e54b3d51cd3fe723a2a6cbd38f0e259d42bc2c5 DIST rdflib-7.1.2.gh.tar.gz 5030802 BLAKE2B 7a8444d39a456a8e1ca0f3956f3f3a7e43d7fd8a166b1738c5add32a21f6625d71ce5a97a65e5ff3550fbb6ac4eaa8de353e6f333fe7aad947be8e849298dee0 SHA512 a88efdbf461392033e14f72bfe755e449d86927b9d48668cded68e0ad2a5d04de1255eccf8086993cb8c9a3442eb5549dc73f66cfb2c97ff35fcba021c970ec7 +DIST rdflib-7.1.3.gh.tar.gz 5029906 BLAKE2B 4eff2756acfe636403ccf1cc8c11850e99385f444e1d80ca1a0ee6c04e1f5352df745a1c27a159a8740eb7a950211824ab51820e54830cec5e279e3d2a1a838f SHA512 ed735611719cfab7da636cf57b02456c26ee7732c18508e1382bc722cba3a0206ca5dcb4ad8cd2ebc0e5550038c5571fb1b0195b9fae172f768cbab72db2b621 diff --git a/dev-python/rdflib/rdflib-7.1.3.ebuild b/dev-python/rdflib/rdflib-7.1.3.ebuild new file mode 100644 index 000000000000..fbbf708e8ef9 --- /dev/null +++ b/dev-python/rdflib/rdflib-7.1.3.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_{10..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-0.7.2[${PYTHON_USEDEP}] + ' 3.10) + dev-python/html5lib[${PYTHON_USEDEP}] + =dev-python/pyparsing-3.2.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/requests[${PYTHON_USEDEP}] + ) +" + +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() { + 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 +}