summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-05 11:11:08 +0100
committerSam James <sam@gentoo.org>2023-05-05 11:13:46 +0100
commit5a00d26e94b9e7c0ffded949f3a89f49b290ba48 (patch)
tree9553d9ce37636756f41d1594d888e10bd08e1ed0 /net-mail/mailutils
parentapp-emulation/libvirt: build tests conditionally (diff)
downloadgentoo-5a00d26e94b9e7c0ffded949f3a89f49b290ba48.tar.gz
gentoo-5a00d26e94b9e7c0ffded949f3a89f49b290ba48.tar.bz2
gentoo-5a00d26e94b9e7c0ffded949f3a89f49b290ba48.zip
net-mail/mailutils: add dejagnu test dep
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-mail/mailutils')
-rw-r--r--net-mail/mailutils/mailutils-3.16.ebuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/net-mail/mailutils/mailutils-3.16.ebuild b/net-mail/mailutils/mailutils-3.16.ebuild
index 4047ed14d1a2..d04a563e2fc5 100644
--- a/net-mail/mailutils/mailutils-3.16.ebuild
+++ b/net-mail/mailutils/mailutils-3.16.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
inherit autotools elisp-common flag-o-matic python-single-r1 toolchain-funcs
@@ -14,8 +14,9 @@ LICENSE="GPL-3+ LGPL-3+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-macos ~x64-macos"
IUSE="berkdb bidi +clients emacs gdbm sasl guile kerberos kyotocabinet \
- ldap mysql nls pam postgres python servers split-usr ssl static-libs +threads tcpd \
+ ldap mysql nls pam postgres python servers split-usr ssl static-libs test +threads tcpd \
tokyocabinet"
+RESTRICT="!test? ( test )"
RDEPEND="
!mail-filter/libsieve
@@ -47,7 +48,10 @@ RDEPEND="
DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
+BDEPEND="
+ virtual/pkgconfig
+ test? ( dev-util/dejagnu )
+"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )
servers? ( tcpd ldap )"