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 ED1A1158089 for ; Sun, 5 Nov 2023 17:00:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7659C2BC01C; Sun, 5 Nov 2023 17:00:19 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 589702BC01C for ; Sun, 5 Nov 2023 17:00: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 53345335D43 for ; Sun, 5 Nov 2023 17:00:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AC79812D7 for ; Sun, 5 Nov 2023 17:00:16 +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: <1699203610.e89eac190f0a49ee4fa87734f0f7205a272051ff.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-redmine/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-redmine/python-redmine-2.4.0.ebuild X-VCS-Directories: dev-python/python-redmine/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e89eac190f0a49ee4fa87734f0f7205a272051ff X-VCS-Branch: master Date: Sun, 5 Nov 2023 17:00:16 +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: 3414b2e1-d5fa-4751-ab33-ba895e7f4505 X-Archives-Hash: ebcf4aabce5469f4d64fed51286b5e79 commit: e89eac190f0a49ee4fa87734f0f7205a272051ff Author: Michał Górny gentoo org> AuthorDate: Sun Nov 5 16:52:34 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 5 17:00:10 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e89eac19 dev-python/python-redmine: Enable py3.12 Signed-off-by: Michał Górny gentoo.org> dev-python/python-redmine/python-redmine-2.4.0.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dev-python/python-redmine/python-redmine-2.4.0.ebuild b/dev-python/python-redmine/python-redmine-2.4.0.ebuild index da55d3bf3c50..1492e5810aa4 100644 --- a/dev-python/python-redmine/python-redmine-2.4.0.ebuild +++ b/dev-python/python-redmine/python-redmine-2.4.0.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYPI_NO_NORMALIZE=1 -PYTHON_COMPAT=( python3_{9..11} ) +PYTHON_COMPAT=( python3_{10..12} ) inherit distutils-r1 pypi @@ -25,6 +25,12 @@ RDEPEND=" distutils_enable_tests pytest +src_prepare() { + # https://github.com/maxtepkeev/python-redmine/pull/332 + sed -i -e 's:assertEquals:assertEqual:' tests/*.py || die + distutils-r1_src_prepare +} + python_test() { epytest -o addopts= }