From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-dev] [PATCH 3/4] distutils-r1.eclass: Print pytest version as well (if used)
Date: Sun, 25 Aug 2024 17:33:40 +0200 [thread overview]
Message-ID: <20240825153341.21121-3-mgorny@gentoo.org> (raw)
In-Reply-To: <20240825153341.21121-1-mgorny@gentoo.org>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
eclass/distutils-r1.eclass | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 56fccd03f49e..02c988dc0cc4 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -919,6 +919,27 @@ _distutils-r1_print_package_versions() {
esac
fi
+ case ${_DISTUTILS_TEST_RUNNER} in
+ import-check)
+ packages+=(
+ dev-python/pytest
+ dev-python/pytest-import-check
+ )
+ ;;
+ pytest)
+ packages+=(
+ dev-python/pytest
+ dev-python/pytest-asyncio
+ )
+ if [[ -n ${EPYTEST_TIMEOUT} ]]; then
+ packages+=( dev-python/pytest-timeout )
+ fi
+ if [[ ${EPYTEST_XDIST} ]]; then
+ packages+=( dev-python/pytest-xdist )
+ fi
+ ;;
+ esac
+
local pkg
einfo "Build system packages:"
for pkg in "${packages[@]}"; do
--
2.46.0
next prev parent reply other threads:[~2024-08-25 15:34 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-25 15:33 [gentoo-dev] [PATCH 1/4] distutils-r1.eclass: Allow .jar files in sitedir Michał Górny
2024-08-25 15:33 ` [gentoo-dev] [PATCH 2/4] distutils-r1.eclass: require <setuptools-72 for det setup.py Michał Górny
2024-08-25 15:33 ` Michał Górny [this message]
2024-08-25 15:33 ` [gentoo-dev] [PATCH 4/4] distutils-r1.eclass: Print sphinx + plugins version (if used) Michał Górny
2024-08-25 15:36 ` [gentoo-dev] [PATCH 1/4] distutils-r1.eclass: Allow .jar files in sitedir Eli Schwartz
[not found] ` <40f857bed27ba9359a495c52266a39404fe276e640af634c0bc0e284aaf23f3c@mu.id>
2024-08-25 16:06 ` Sam James
2024-09-03 7:24 ` Michał Górny
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=20240825153341.21121-3-mgorny@gentoo.org \
--to=mgorny@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