Gentoo Archives: gentoo-commits

From: Vikraman Choudhury <vikraman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-mail/mu/
Date: Tue, 24 Nov 2015 06:43:40
Message-Id: 1448347389.cc6c0022fbc6dc81b52fc6ed4325c530e26e103a.vikraman@gentoo
1 commit: cc6c0022fbc6dc81b52fc6ed4325c530e26e103a
2 Author: Vikraman Choudhury <vikraman <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 24 06:42:48 2015 +0000
4 Commit: Vikraman Choudhury <vikraman <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 24 06:43:09 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc6c0022
7
8 net-mail/mu: Version bump to 0.9.15 and cleanup
9
10 X-Gentoo-Bug: 542470
11
12 Package-Manager: portage-2.2.24
13
14 net-mail/mu/Manifest | 1 +
15 net-mail/mu/metadata.xml | 4 +++
16 net-mail/mu/mu-0.9.15.ebuild | 78 ++++++++++++++++++++++++++++++++++++++++++++
17 3 files changed, 83 insertions(+)
18
19 diff --git a/net-mail/mu/Manifest b/net-mail/mu/Manifest
20 index 74307ee..6f75166 100644
21 --- a/net-mail/mu/Manifest
22 +++ b/net-mail/mu/Manifest
23 @@ -1,3 +1,4 @@
24 +DIST mu-0.9.15.tar.gz 2203193 SHA256 60c63fdf1b726696cb0028b86eaee2aa72e171493b2d5626ea173b912ff25d4c SHA512 36a0dcaa9b355c7a75f1d8c7730241ade979ec050e18f8609b840d6dff6befc96cf3fb649b8970649542724b2c20482099aaf9827b17a5e9618eb13cdda9c4b5 WHIRLPOOL e627d2553cc466725c3d1c339fb03fe08f784b069b01cc1da26c7761cc0cd03d28da5f8bf06e36e5d6dd23cee6ecbef232c45d4447b9b32b543efbb0a4cbb8eb
25 DIST mu-0.9.9.5.tar.gz 1230322 SHA256 17e29a68c020a84441a38033067f6f538217b5d691b9c475f9593ab47ca493c3 SHA512 bd9814c670391f28a5be4b7c064f2bfc6a9428d94c88476539323688fc86df72f600cec30a87fb2b242dbeb717eb3a39c95ac09091c4c05c1886824e3052972b WHIRLPOOL bad0439b44524254a5113522cf2eafeb68604300dbc6822a9170c0ef4c336f1874428df0bfa25c7b2e7657b49d2a74cf06ce7ebb88e4e21458b87971fc178045
26 DIST mu-0.9.9.6.tar.gz 2172349 SHA256 4ae4ca7f433dcfc6dfd85a41873914c1bda5c43de02ad2a030cd449f84d629cb SHA512 0213033aa7599a5120c38a4b9ec018357ebd63a3c4828e0f9d7af41529dc1b001db8d506408b0341e0efe9835fbd21dbf23c836920c98ae2caabcb0cdc7dac2b WHIRLPOOL 577e5eef5874d6cdc667e967a6722308d4e99035b8265f24030ced851d976a215bdd9ce209510a75d362af76d15116a475af6e5abb5d5be04b95f549d5ecb901
27 DIST mu-0.9.9.tar.gz 1185624 SHA256 83f8e2814ba1a89a3153ab3dcd21105cc62e1386c176c5312ccb6bae0af02013 SHA512 1dc8608a77381d6ad0f26e3729f17a0c5bc2a90cbefa217159c8dc432c2bb9f7d495d08053852bf10451a3b5ac40e325ad44cb7d9f032f8337cd094b121da143 WHIRLPOOL de9406c0995bfe6592cb411eeb03b6681f79e15df0633857beb502bf2825b7974c79039298f5cf682be9e45d6237b463a5dcd3b5930ebb99456cbf0b1497890a
28
29 diff --git a/net-mail/mu/metadata.xml b/net-mail/mu/metadata.xml
30 index 4541491..29276fd 100644
31 --- a/net-mail/mu/metadata.xml
32 +++ b/net-mail/mu/metadata.xml
33 @@ -2,6 +2,10 @@
34 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
35 <pkgmetadata>
36 <herd>net-mail</herd>
37 + <maintainer>
38 + <email>vikraman@g.o</email>
39 + <name>Vikraman Choudhury</name>
40 + </maintainer>
41 <longdescription lang="en">'mu' is a set of command-line tools for Linux/Unix that enable you to quickly find the e-mails you
42 are looking for, assuming that you store your e-mails in Maildirs. It also includes an emacs based mail client mu4e.</longdescription>
43 <use>
44
45 diff --git a/net-mail/mu/mu-0.9.15.ebuild b/net-mail/mu/mu-0.9.15.ebuild
46 new file mode 100644
47 index 0000000..fa791ce
48 --- /dev/null
49 +++ b/net-mail/mu/mu-0.9.15.ebuild
50 @@ -0,0 +1,78 @@
51 +# Copyright 1999-2015 Gentoo Foundation
52 +# Distributed under the terms of the GNU General Public License v2
53 +# $Id$
54 +
55 +EAPI=5
56 +
57 +inherit autotools-utils base elisp-common
58 +
59 +DESCRIPTION="Set of tools to deal with Maildirs, in particular, searching and indexing"
60 +HOMEPAGE="http://www.djcbsoftware.nl/code/mu/"
61 +SRC_URI="https://github.com/djcb/mu/archive/${PV}.tar.gz -> ${P}.tar.gz"
62 +
63 +LICENSE="GPL-3"
64 +SLOT="0"
65 +KEYWORDS="~amd64 ~x86"
66 +IUSE="emacs gui"
67 +
68 +# net-mail/mailutils also installes /usr/bin/mu. Block it until somebody
69 +# really wants both installed at the same time.
70 +DEPEND="
71 + dev-libs/gmime:2.6
72 + dev-libs/xapian
73 + dev-libs/glib:2
74 + gui? (
75 + x11-libs/gtk+:3
76 + net-libs/webkit-gtk:3 )
77 + emacs? ( >=virtual/emacs-23 )
78 + !net-mail/mailutils"
79 +RDEPEND="${DEPEND}"
80 +
81 +SITEFILE="70mu-gentoo.el"
82 +
83 +src_prepare(){
84 + eautoreconf
85 +}
86 +
87 +src_configure() {
88 + # Todo: Make a guile USE-flag as soon as >=guile-2 is avaiable
89 + # Note: --disable-silent-rules is included in EAPI-5
90 + econf --disable-guile \
91 + $(use_enable gui webkit) \
92 + $(use_enable gui gtk) \
93 + $(use_enable emacs mu4e)
94 +}
95 +
96 +src_install () {
97 + dobin mu/mu
98 + if use gui; then
99 + dobin toys/mug/mug
100 + fi
101 + dodoc AUTHORS HACKING NEWS NEWS.org TODO README README.org ChangeLog
102 + if use emacs; then
103 + elisp-install ${PN} mu4e/*.el mu4e/*.elc
104 + elisp-site-file-install "${FILESDIR}/${SITEFILE}"
105 + fi
106 +}
107 +
108 +src_test () {
109 + # Note: Fails with parallel make
110 + emake -j1 check
111 +}
112 +
113 +pkg_postinst() {
114 + if use emacs; then
115 + einfo "To use mu4e you need to configure it in your .emacs file"
116 + einfo "See the manual for more information:"
117 + einfo "http://www.djcbsoftware.nl/code/mu/mu4e/"
118 + fi
119 +
120 + elog "If you upgrade from an older major version,"
121 + elog "then you need to rebuild your mail index."
122 +
123 + use emacs && elisp-site-regen
124 +}
125 +
126 +pkg_postrm() {
127 + use emacs && elisp-site-regen
128 +}