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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A3F6415810F for ; Sat, 3 Jun 2023 08:17:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E3EE5E087A; Sat, 3 Jun 2023 08:17:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 C31FFE087A for ; Sat, 3 Jun 2023 08:17:09 +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 D2E553413A3 for ; Sat, 3 Jun 2023 08:17:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A50F9A89 for ; Sat, 3 Jun 2023 08:17:05 +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: <1685780221.d51013cc3a86f3627b58ac2b61e260f230967609.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jaraco-itertools/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jaraco-itertools/jaraco-itertools-6.2.1.ebuild X-VCS-Directories: dev-python/jaraco-itertools/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d51013cc3a86f3627b58ac2b61e260f230967609 X-VCS-Branch: master Date: Sat, 3 Jun 2023 08:17:05 +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: 580e7946-8ecd-492c-a02c-0bc4a2e8061a X-Archives-Hash: 1a166ae6f00b4c834cacab2b908db4e7 commit: d51013cc3a86f3627b58ac2b61e260f230967609 Author: Michał Górny gentoo org> AuthorDate: Sat Jun 3 08:15:50 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jun 3 08:17:01 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d51013cc dev-python/jaraco-itertools: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> .../jaraco-itertools/jaraco-itertools-6.2.1.ebuild | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/dev-python/jaraco-itertools/jaraco-itertools-6.2.1.ebuild b/dev-python/jaraco-itertools/jaraco-itertools-6.2.1.ebuild index 73b3b3cd19a7..54091725a7e5 100644 --- a/dev-python/jaraco-itertools/jaraco-itertools-6.2.1.ebuild +++ b/dev-python/jaraco-itertools/jaraco-itertools-6.2.1.ebuild @@ -6,12 +6,15 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 PYPI_PN=${PN/-/.} -PYTHON_COMPAT=( pypy3 python3_{9..11} ) +PYTHON_COMPAT=( pypy3 python3_{10..12} ) inherit distutils-r1 pypi DESCRIPTION="Tools for working with iterables. Complements itertools and more_itertools" -HOMEPAGE="https://github.com/jaraco/jaraco.itertools" +HOMEPAGE=" + https://github.com/jaraco/jaraco.itertools/ + https://pypi.org/project/jaraco.itertools/ +" LICENSE="MIT" SLOT="0" @@ -28,10 +31,20 @@ BDEPEND=" distutils_enable_tests pytest python_test() { + local EPYTEST_DESELECT=() + if [[ ${EPYTHON} == python3.12 ]]; then + EPYTEST_DESELECT+=( + # prettier output in python3.12 + # https://github.com/jaraco/jaraco.itertools/issues/17 + jaraco/itertools.py::jaraco.itertools.partition_dict + ) + fi + # create a pkgutil-style __init__.py in order to fix pytest's # determination of package paths cat > jaraco/__init__.py <<-EOF || die __path__ = __import__('pkgutil').extend_path(__path__, __name__) EOF + epytest --doctest-modules }