summaryrefslogtreecommitdiff
path: root/dev-python/python-pam/python-pam-2.0.2-r2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-pam/python-pam-2.0.2-r2.ebuild')
-rw-r--r--dev-python/python-pam/python-pam-2.0.2-r2.ebuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/dev-python/python-pam/python-pam-2.0.2-r2.ebuild b/dev-python/python-pam/python-pam-2.0.2-r2.ebuild
index 6c04a1f71e92..6f46f2148b82 100644
--- a/dev-python/python-pam/python-pam-2.0.2-r2.ebuild
+++ b/dev-python/python-pam/python-pam-2.0.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2025 Gentoo Authors
+# Copyright 2022-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -26,4 +26,13 @@ RDEPEND="
dev-python/six[${PYTHON_USEDEP}]
"
+EPYTEST_PLUGINS=()
distutils_enable_tests pytest
+
+src_prepare() {
+ # fix broken pytest config syntax
+ sed -e '/python_files = "/d' \
+ -e '/norecursedirs = "/d' \
+ -i pyproject.toml || die
+ distutils-r1_src_prepare
+}