From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8FDAC1382C5 for ; Tue, 9 Mar 2021 12:05:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCA67E08F9; Tue, 9 Mar 2021 12:05:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3B24E08F9 for ; Tue, 9 Mar 2021 12:05:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CAEC0340B29 for ; Tue, 9 Mar 2021 12:05:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 394B3592 for ; Tue, 9 Mar 2021 12:05:32 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1615291524.2753bd17872a99ee8aef16377dbab847db2e33b5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/automx2/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-mail/automx2/automx2-2021.2.ebuild X-VCS-Directories: net-mail/automx2/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 2753bd17872a99ee8aef16377dbab847db2e33b5 X-VCS-Branch: master Date: Tue, 9 Mar 2021 12:05:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: de3c4d4a-f6d5-43ea-8f38-012c2e95a022 X-Archives-Hash: 084e151099331a3acc23a4fce3ba96ee commit: 2753bd17872a99ee8aef16377dbab847db2e33b5 Author: Sam James gentoo org> AuthorDate: Tue Mar 9 12:04:35 2021 +0000 Commit: Sam James gentoo 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 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