commit: 2753bd17872a99ee8aef16377dbab847db2e33b5
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 9 12:04:35 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 9 12:05:24 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2753bd17
net-mail/automx2: use distutils_enable_tests
This automatically handles RESTRICT/IUSE/BDEPEND (including RDEPEND for tests).
Unfortunately, it doesn't pick up the tests by default, so we still have
to define the phase.
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-mail/automx2/automx2-2021.2.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/net-mail/automx2/automx2-2021.2.ebuild
b/net-mail/automx2/automx2-2021.2.ebuild
index 05a59419dee..66b5081f4c4 100644
--- a/net-mail/automx2/automx2-2021.2.ebuild
+++ b/net-mail/automx2/automx2-2021.2.ebuild
@@ -24,6 +24,8 @@ RDEPEND="
dev-python/ldap3[${PYTHON_USEDEP}]
"
+distutils_enable_tests unittest
+
python_prepare_all() {
sed -i -e "/('scripts'/d" setup.py || die
distutils-r1_python_prepare_all