based on https://bugs.gentoo.org/905840#c2 it looks like we can make it easier. Also, the description of epytest is wrong: # Run pytest, passing the standard set of pytest options, then # --deselect and --ignore options based on EPYTEST_DESELECT # and EPYTEST_IGNORE, then user-specified options. because user-specified aren't really user-specified but for who writes the ebuild.
Yeah, we should: 1. Have some EXTRA_EPYTEST_ARGS or similar env variable 2. s/user-specified/caller-specified/ (or s/user-specified/ebuild-specified/)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be50ed0537e06560614cedc379c60292300a7e3e commit be50ed0537e06560614cedc379c60292300a7e3e Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2024-05-14 12:48:38 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2024-05-20 16:56:44 +0000 python-utils-r1.eclass: Support passing EPYTEST_FLAGS Closes: https://bugs.gentoo.org/905863 Signed-off-by: Michał Górny <mgorny@gentoo.org> eclass/python-utils-r1.eclass | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-)