summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-09 12:04:35 +0000
committerSam James <sam@gentoo.org>2021-03-09 12:05:24 +0000
commit2753bd17872a99ee8aef16377dbab847db2e33b5 (patch)
tree22f8e2f93e3860af06515915760467e5cce971f0 /net-mail
parentnet-mail/automx2: adjust dependencies to RDEPEND (diff)
downloadgentoo-2753bd17872a99ee8aef16377dbab847db2e33b5.tar.gz
gentoo-2753bd17872a99ee8aef16377dbab847db2e33b5.tar.bz2
gentoo-2753bd17872a99ee8aef16377dbab847db2e33b5.zip
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@gentoo.org>
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/automx2/automx2-2021.2.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/net-mail/automx2/automx2-2021.2.ebuild b/net-mail/automx2/automx2-2021.2.ebuild
index 05a59419dee1..66b5081f4c4d 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