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 D1CAE1581D3 for ; Sat, 18 May 2024 05:30:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E45EDE29FE; Sat, 18 May 2024 05:30:19 +0000 (UTC) Received: from smtp.gentoo.org (dev.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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BDD0BE29FE for ; Sat, 18 May 2024 05:30:19 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B18D533BEED for ; Sat, 18 May 2024 05:30:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1A3BF1626 for ; Sat, 18 May 2024 05:30: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: <1716009906.5d3fa15fc1de3fdf943f9260c047d12300181edd.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jsonpatch/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/jsonpatch/jsonpatch-1.33.ebuild X-VCS-Directories: dev-python/jsonpatch/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 5d3fa15fc1de3fdf943f9260c047d12300181edd X-VCS-Branch: master Date: Sat, 18 May 2024 05:30: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: 1252560e-8c6e-4c48-bad5-fdf51f773eb4 X-Archives-Hash: f4c5c322a9892475dfca40c628388373 commit: 5d3fa15fc1de3fdf943f9260c047d12300181edd Author: Michał Górny gentoo org> AuthorDate: Sat May 18 05:17:00 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat May 18 05:25:06 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d3fa15f dev-python/jsonpatch: Enable py3.13 Signed-off-by: Michał Górny gentoo.org> dev-python/jsonpatch/jsonpatch-1.33.ebuild | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-python/jsonpatch/jsonpatch-1.33.ebuild b/dev-python/jsonpatch/jsonpatch-1.33.ebuild index 0dcdc83e1831..cdd23d1e88f9 100644 --- a/dev-python/jsonpatch/jsonpatch-1.33.ebuild +++ b/dev-python/jsonpatch/jsonpatch-1.33.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..13} ) inherit distutils-r1 @@ -35,6 +35,14 @@ BDEPEND=" ) " +src_prepare() { + distutils-r1_src_prepare + + # https://github.com/stefankoegl/python-json-patch/pull/159 + sed -e 's/unittest.makeSuite/unittest.defaultTestLoader.loadTestsFromTestCase/' \ + -i ext_tests.py tests.py +} + python_test() { "${EPYTHON}" tests.py || die "Tests of tests.py fail with ${EPYTHON}" "${EPYTHON}" ext_tests.py || die "Tests of ext_tests.py fail with ${EPYTHON}"