summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2019-04-01 22:48:56 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2019-04-01 22:50:49 -0700
commit1ded2ac69bd0fcf0edca8a4ee073e6a41dc9bbe4 (patch)
treece32feee6d22609832f0c4b6df4835306f039472 /net-mail
parentapp-text/calibre: remove old version 3.38.1 (diff)
downloadgentoo-1ded2ac69bd0fcf0edca8a4ee073e6a41dc9bbe4.tar.gz
gentoo-1ded2ac69bd0fcf0edca8a4ee073e6a41dc9bbe4.tar.bz2
gentoo-1ded2ac69bd0fcf0edca8a4ee073e6a41dc9bbe4.zip
net-mail/notmuch: manpages need USE=doc & mock
Manpages are not built without USE=doc, which needs unittest.mock. Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'net-mail')
-rw-r--r--net-mail/notmuch/notmuch-0.28.3.ebuild33
1 files changed, 24 insertions, 9 deletions
diff --git a/net-mail/notmuch/notmuch-0.28.3.ebuild b/net-mail/notmuch/notmuch-0.28.3.ebuild
index 445fa176ab4..9a03251ba48 100644
--- a/net-mail/notmuch/notmuch-0.28.3.ebuild
+++ b/net-mail/notmuch/notmuch-0.28.3.ebuild
@@ -41,19 +41,32 @@ CDEPEND="
"
DEPEND="${CDEPEND}
virtual/pkgconfig
- doc? ( app-doc/doxygen )
- test? ( app-misc/dtach || ( >=app-editors/emacs-23[libxml2]
- >=app-editors/emacs-vcs-23[libxml2] ) sys-devel/gdb
- crypt? ( app-crypt/gnupg dev-libs/openssl ) )
+ doc? (
+ app-doc/doxygen
+ dev-python/mock[${PYTHON_USEDEP}]
+ )
+ test? (
+ app-misc/dtach
+ || ( >=app-editors/emacs-23[libxml2] >=app-editors/emacs-vcs-23[libxml2] )
+ sys-devel/gdb
+ crypt? ( app-crypt/gnupg dev-libs/openssl )
+ )
valgrind? ( dev-util/valgrind )
"
RDEPEND="${CDEPEND}
crypt? ( app-crypt/gnupg )
nmbug? ( dev-vcs/git )
- mutt? ( dev-perl/File-Which dev-perl/Mail-Box dev-perl/MailTools
- dev-perl/String-ShellQuote dev-perl/Term-ReadLine-Gnu
- virtual/perl-Digest-SHA virtual/perl-File-Path virtual/perl-Getopt-Long
- virtual/perl-Pod-Parser )
+ mutt? (
+ dev-perl/File-Which
+ dev-perl/Mail-Box
+ dev-perl/MailTools
+ dev-perl/String-ShellQuote
+ dev-perl/Term-ReadLine-Gnu
+ virtual/perl-Digest-SHA
+ virtual/perl-File-Path
+ virtual/perl-Getopt-Long
+ virtual/perl-Pod-Parser
+ )
"
DOCS=( AUTHORS NEWS README )
@@ -169,7 +182,9 @@ src_test() {
src_install() {
default
- doman doc/_build/man/man?/*.?
+ if use doc; then
+ doman doc/_build/man/man?/*.?
+ fi
if use emacs; then
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die