mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user