From 2753bd17872a99ee8aef16377dbab847db2e33b5 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 9 Mar 2021 12:04:35 +0000 Subject: [PATCH] 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 --- 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 05a59419dee16..66b5081f4c4dd 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