Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mu/
Date: Wed, 28 Aug 2019 18:19:45
Message-Id: 1567016371.9ca67b1bd2a2b5c6f93f08ee40fd0d2eb8d7fbe1.juippis@gentoo
1 commit: 9ca67b1bd2a2b5c6f93f08ee40fd0d2eb8d7fbe1
2 Author: Matt Smith <matt <AT> offtopica <DOT> uk>
3 AuthorDate: Mon Aug 26 19:24:34 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 28 18:19:31 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ca67b1b
7
8 net-mail/mu: bump to 1.3.3
9
10 Closes: https://bugs.gentoo.org/684140
11 Closes: https://bugs.gentoo.org/684144
12 Package-Manager: Portage-2.3.69, Repoman-2.3.16
13 Signed-off-by: Matt Smith <matt <AT> offtopica.uk>
14 Closes: https://github.com/gentoo/gentoo/pull/12795
15 Closes: https://github.com/gentoo/gentoo/pull/12127
16 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
17
18 net-mail/mu/Manifest | 1 +
19 net-mail/mu/metadata.xml | 9 ++++-
20 net-mail/mu/mu-1.3.3.ebuild | 86 +++++++++++++++++++++++++++++++++++++++++++++
21 3 files changed, 95 insertions(+), 1 deletion(-)
22
23 diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest
24 index 1756c03a486..8ad2c794d41 100644
25 --- a/net-mail/mu/Manifest
26 +++ b/net-mail/mu/Manifest
27 @@ -1,2 +1,3 @@
28 DIST mu-0.9.18.tar.gz 2250319 BLAKE2B 7eb83a797eccff706ac6b264a7d56feae80e40f370e190e0a94f2524dd73a8bfdb35599909f90d0a2b87fc513bbcf2b00fa307a3e4d0b6718ebdc7f7fcdc6df0 SHA512 47104d18547de0871782abc4e1c6dbf1f9b2489410e5716043861bf8d973d33d2138de7d7ac568b300ca86ae9f1a0fda0fa9555ad9a5938771336ef958183546
29 DIST mu-1.0.tar.gz 2273670 BLAKE2B a771b00159142fa4a671d07cf9de6f0f941c432ddee31f19606c260ba3dfef857a36a333f5ede4ca30be88d7b7eae28e996e15a8deebd96971b341f0f72bfbbb SHA512 49b0b86f22e9a6ace1fc3fd6e7a8a523aa9edf092b953d59f59a1ef7311c8c546a261a1a186e3285cea788be20c816c70ac08d1514f700ff97258a2012ad394d
30 +DIST mu-1.3.3.tar.gz 2304029 BLAKE2B e2bbf3f7aa22ba2e1fd64b0e35df3e857dd3ec7874d08d36350a5d80abb36c667dee3cb43adf481dfbabd2a7944e84207d1913cb2525e637878a86fa70b213af SHA512 ab7844aef1ee6526a8b4ac1b98f6dc323fa01be6ac999f7b8a57b1c2aee6eec60a5643589c0477e8fede2f5140a8aa9050f00e52a30aaa1cd6b1cdbd66e441bf
31
32 diff --git a/net-mail/mu/metadata.xml b/net-mail/mu/metadata.xml
33 index f5c66685bfc..52409e49115 100644
34 --- a/net-mail/mu/metadata.xml
35 +++ b/net-mail/mu/metadata.xml
36 @@ -1,7 +1,14 @@
37 <?xml version="1.0" encoding="UTF-8"?>
38 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
39 <pkgmetadata>
40 - <!-- maintainer-needed -->
41 + <maintainer type="person">
42 + <email>matt@×××××××××.uk</email>
43 + <name>Matt Smith</name>
44 + </maintainer>
45 + <maintainer type="project">
46 + <email>proxy-maint@g.o</email>
47 + <name>Proxy Maintainers</name>
48 + </maintainer>
49 <longdescription lang="en">
50 'mu' is a set of command-line tools for Linux/Unix that enable you to quickly find the e-mails you
51 are looking for, assuming that you store your e-mails in Maildirs. It also includes an emacs based mail client mu4e.
52
53 diff --git a/net-mail/mu/mu-1.3.3.ebuild b/net-mail/mu/mu-1.3.3.ebuild
54 new file mode 100644
55 index 00000000000..da630a9ec6a
56 --- /dev/null
57 +++ b/net-mail/mu/mu-1.3.3.ebuild
58 @@ -0,0 +1,86 @@
59 +# Copyright 1999-2019 Gentoo Authors
60 +# Distributed under the terms of the GNU General Public License v2
61 +
62 +EAPI=7
63 +
64 +inherit autotools elisp-common
65 +
66 +DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing"
67 +HOMEPAGE="http://www.djcbsoftware.nl/code/mu/ https://github.com/djcb/mu"
68 +SRC_URI="https://github.com/djcb/mu/archive/${PV}.tar.gz -> ${P}.tar.gz"
69 +
70 +LICENSE="GPL-3+"
71 +SLOT="0"
72 +KEYWORDS="~amd64 ~x86"
73 +IUSE="emacs guile"
74 +
75 +# net-mail/mailutils also installes /usr/bin/mu. Block it until somebody
76 +# really wants both installed at the same time.
77 +DEPEND="
78 + dev-libs/gmime:3.0
79 + dev-libs/xapian
80 + dev-libs/glib:2
81 + emacs? ( >=virtual/emacs-24.4 )
82 + guile? ( >=dev-scheme/guile-2.0 )
83 + !net-mail/mailutils"
84 +RDEPEND="${DEPEND}"
85 +BDEPEND="virtual/pkgconfig"
86 +
87 +SITEFILE="70mu-gentoo.el"
88 +
89 +src_prepare() {
90 + default
91 + eautoreconf
92 +}
93 +
94 +src_configure() {
95 + # Note: Author recommends that packages do not build the webkit toy
96 + # Todo: Add gtk USE-flag
97 +
98 + econf --disable-gtk \
99 + --disable-webkit \
100 + $(use_enable emacs mu4e) \
101 + $(use_enable guile)
102 +}
103 +
104 +src_install () {
105 + dobin mu/mu
106 + dodoc AUTHORS HACKING NEWS NEWS.org TODO README README.org ChangeLog
107 + if use emacs; then
108 + elisp-install ${PN} mu4e/*.el mu4e/*.elc
109 + elisp-site-file-install "${FILESDIR}/${SITEFILE}"
110 + doinfo mu4e/mu4e.info
111 + fi
112 +
113 + doman man/mu-add.1 man/mu-bookmarks.5 man/mu-cfind.1 man/mu-easy.1 \
114 + man/mu-extract.1 man/mu-find.1 man/mu-help.1 man/mu-index.1 \
115 + man/mu-mkdir.1 man/mu-query.7 man/mu-remove.1 \
116 + man/mu-script.1 man/mu-server.1 man/mu-verify.1 \
117 + man/mu-view.1 man/mu.1
118 +
119 + if use guile; then
120 + doinfo guile/mu-guile.info
121 + fi
122 +}
123 +
124 +src_test () {
125 + # Note: Fails with parallel make
126 + emake -j1 check
127 +}
128 +
129 +pkg_postinst() {
130 + if use emacs; then
131 + einfo "To use mu4e you need to configure it in your .emacs file"
132 + einfo "See the manual for more information:"
133 + einfo "http://www.djcbsoftware.nl/code/mu/mu4e/"
134 + fi
135 +
136 + elog "If you upgrade from an older major version,"
137 + elog "then you need to rebuild your mail index."
138 +
139 + use emacs && elisp-site-regen
140 +}
141 +
142 +pkg_postrm() {
143 + use emacs && elisp-site-regen
144 +}