From: "Takuya Wakazono" <pastalian46@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/icecream/
Date: Sat, 7 Dec 2024 15:03:59 +0000 (UTC) [thread overview]
Message-ID: <1733581832.c2537e356a13aa5e5021b98a56e852b294fde9c5.pastalian46@gentoo> (raw)
commit: c2537e356a13aa5e5021b98a56e852b294fde9c5
Author: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Dec 7 14:12:00 2024 +0000
Commit: Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sat Dec 7 14:30:32 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c2537e35
dev-python/icecream: fix tests
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>
dev-python/icecream/icecream-2.1.3.ebuild | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)
diff --git a/dev-python/icecream/icecream-2.1.3.ebuild b/dev-python/icecream/icecream-2.1.3.ebuild
index c00d306ea..ccaf099cd 100644
--- a/dev-python/icecream/icecream-2.1.3.ebuild
+++ b/dev-python/icecream/icecream-2.1.3.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
DESCRIPTION="Pythonic task execution"
@@ -21,14 +21,15 @@ RDEPEND="
>=dev-python/executing-0.3.1[${PYTHON_USEDEP}]
>=dev-python/asttokens-2.0.1[${PYTHON_USEDEP}]
"
-DEPEND="${RDEPEND}"
-distutils_enable_tests pytest
-EPYTEST_DESELECT=(
- # Seems like those cannot work in the sandbox
- tests/test_icecream.py::TestIceCream::testEnableDisable
- tests/test_icecream.py::TestIceCream::testSingledispatchArgumentToString
+distutils_enable_tests unittest
- # This one fails on Python3.12 because it is outdated
- tests/test_icecream.py::TestIceCream::testMultilineContainerArgs
-)
+python_prepare_all() {
+ # https://github.com/gruns/icecream/pull/147
+ sed -i 's/assertRegexpMatches/assertRegex/' tests/test_icecream.py || die
+ distutils-r1_python_prepare_all
+}
+
+python_test() {
+ eunittest tests
+}
next reply other threads:[~2024-12-07 15:04 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-07 15:03 Takuya Wakazono [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-22 0:48 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/icecream/ Henri Gasc
2023-12-03 22:54 Henri Gasc
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=1733581832.c2537e356a13aa5e5021b98a56e852b294fde9c5.pastalian46@gentoo \
--to=pastalian46@gmail.com \
--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