Gentoo Archives: gentoo-commits

From: "Amadeusz Zolnowski (aidecoe)" <aidecoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/notmuch: ChangeLog notmuch-0.14.ebuild
Date: Sun, 26 Aug 2012 11:38:25
Message-Id: 20120826113815.ABFC8207CB@flycatcher.gentoo.org
1 aidecoe 12/08/26 11:38:15
2
3 Modified: ChangeLog
4 Added: notmuch-0.14.ebuild
5 Log:
6 Version bump.
7
8 NEWS
9 ~~~~
10 (Extracted headlines from NEWS file. See it for details.)
11
12 General bug fixes
13 - Maildir tag synchronization
14
15 Command-Line Interface
16 - Changes to notmuch dump/restore syntax
17
18 Emacs Interface
19 - Search results now get re-colored when tags are updated
20 - The formatting of tags in search results can now be customized
21 - Experimental support for multi-line search result formats
22 - Next/previous in search and show now move by boundaries
23 - Search now uses the JSON format internally
24 - The date shown in search results is no longer padded before applying
25 user-specified formatting
26
27 (Portage version: 2.1.11.10/cvs/Linux x86_64)
28
29 Revision Changes Path
30 1.60 net-mail/notmuch/ChangeLog
31
32 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?rev=1.60&view=markup
33 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?rev=1.60&content-type=text/plain
34 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?r1=1.59&r2=1.60
35
36 Index: ChangeLog
37 ===================================================================
38 RCS file: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v
39 retrieving revision 1.59
40 retrieving revision 1.60
41 diff -u -r1.59 -r1.60
42 --- ChangeLog 4 Jul 2012 06:00:48 -0000 1.59
43 +++ ChangeLog 26 Aug 2012 11:38:15 -0000 1.60
44 @@ -1,6 +1,30 @@
45 # ChangeLog for net-mail/notmuch
46 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
47 -# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v 1.59 2012/07/04 06:00:48 jdhore Exp $
48 +# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v 1.60 2012/08/26 11:38:15 aidecoe Exp $
49 +
50 +*notmuch-0.14 (26 Aug 2012)
51 +
52 + 26 Aug 2012; Amadeusz Żołnowski <aidecoe@g.o> +notmuch-0.14.ebuild:
53 + Version bump.
54 +
55 + NEWS
56 + ~~~~
57 + (Extracted headlines from NEWS file. See it for details.)
58 +
59 + General bug fixes
60 + - Maildir tag synchronization
61 +
62 + Command-Line Interface
63 + - Changes to notmuch dump/restore syntax
64 +
65 + Emacs Interface
66 + - Search results now get re-colored when tags are updated
67 + - The formatting of tags in search results can now be customized
68 + - Experimental support for multi-line search result formats
69 + - Next/previous in search and show now move by boundaries
70 + - Search now uses the JSON format internally
71 + - The date shown in search results is no longer padded before applying
72 + user-specified formatting
73
74 04 Jul 2012; Jeff Horelick <jdhore@g.o> notmuch-0.13.1.ebuild:
75 marked x86 per bug 422861
76
77
78
79 1.1 net-mail/notmuch/notmuch-0.14.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/notmuch-0.14.ebuild?rev=1.1&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/notmuch-0.14.ebuild?rev=1.1&content-type=text/plain
83
84 Index: notmuch-0.14.ebuild
85 ===================================================================
86 # Copyright 1999-2012 Gentoo Foundation
87 # Distributed under the terms of the GNU General Public License v2
88 # $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/notmuch-0.14.ebuild,v 1.1 2012/08/26 11:38:15 aidecoe Exp $
89
90 EAPI=4
91
92 PYTHON_DEPEND="python? 2:2.6 3:3.2"
93 SUPPORT_PYTHON_ABIS="1"
94 RESTRICT_PYTHON_ABIS="2.[45] 3.1"
95
96 inherit elisp-common pax-utils distutils
97
98 DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
99 HOMEPAGE="http://notmuchmail.org/"
100 SRC_URI="${HOMEPAGE%/}/releases/${P}.tar.gz"
101
102 LICENSE="GPL-3"
103 SLOT="0"
104 KEYWORDS="~amd64 ~x86"
105 REQUIRED_USE="test? ( crypt emacs python )"
106 IUSE="bash-completion crypt debug doc emacs nmbug mutt python test vim
107 zsh-completion"
108
109 CDEPEND="
110 >=dev-libs/glib-2.22
111 >=dev-libs/gmime-2.6.7
112 dev-libs/xapian
113 sys-libs/talloc
114 debug? ( dev-util/valgrind )
115 emacs? ( >=virtual/emacs-23 )
116 x86? ( >=dev-libs/xapian-1.2.7-r2 )
117 vim? ( || ( >=app-editors/vim-7.0 >=app-editors/gvim-7.0 ) )
118 "
119 DEPEND="${CDEPEND}
120 virtual/pkgconfig
121 doc? ( python? ( dev-python/sphinx ) )
122 test? ( app-misc/dtach sys-devel/gdb )
123 "
124 RDEPEND="${CDEPEND}
125 crypt? ( app-crypt/gnupg )
126 nmbug? ( dev-vcs/git virtual/perl-File-Temp virtual/perl-PodParser )
127 mutt? ( dev-perl/Mail-Box dev-perl/MailTools dev-perl/String-ShellQuote
128 dev-perl/Term-ReadLine-Gnu virtual/perl-File-Path
129 virtual/perl-Getopt-Long virtual/perl-PodParser
130 )
131 zsh-completion? ( app-shells/zsh )
132 "
133
134 DOCS=( AUTHORS NEWS README )
135 SITEFILE="50${PN}-gentoo.el"
136 MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
137
138 bindings() {
139 if use $1; then
140 pushd bindings/$1 || die
141 shift
142 $@
143 popd || die
144 fi
145 }
146
147 pkg_setup() {
148 if use emacs; then
149 elisp-need-emacs 23 || die "Emacs version too low"
150 fi
151 use python && python_pkg_setup
152 }
153
154 src_prepare() {
155 default
156 bindings python distutils_src_prepare
157 }
158
159 src_configure() {
160 local myeconfargs=(
161 --bashcompletiondir="${ROOT}/usr/share/bash-completion"
162 --emacslispdir="${ROOT}/${SITELISP}/${PN}"
163 --emacsetcdir="${ROOT}/${SITEETC}/${PN}"
164 --with-gmime-version=2.6
165 --zshcompletiondir="${ROOT}/usr/share/zsh/site-functions"
166 $(use_with bash-completion)
167 $(use_with emacs)
168 $(use_with zsh-completion)
169 )
170 econf "${myeconfargs[@]}"
171 }
172
173 src_compile() {
174 default
175 bindings python distutils_src_compile
176
177 if use mutt; then
178 pushd contrib/notmuch-mutt || die
179 mv README README-mutt || die
180 emake notmuch-mutt.1
181 popd || die
182 fi
183
184 if use doc; then
185 pydocs() {
186 mv README README-python || die
187 pushd docs || die
188 emake html
189 mv html ../python || die
190 popd || die
191 }
192 LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" bindings python pydocs
193 fi
194 }
195
196 src_test() {
197 pax-mark -m notmuch
198 LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" default
199 pax-mark -ze notmuch
200 }
201
202 src_install() {
203 default
204
205 if use emacs; then
206 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
207 fi
208
209 if use nmbug; then
210 dobin contrib/nmbug
211 fi
212
213 if use mutt; then
214 [[ -e /etc/mutt/notmuch-mutt.rc ]] && NOTMUCH_MUTT_RC_EXISTS=1
215 pushd contrib/notmuch-mutt || die
216 dobin notmuch-mutt
217 doman notmuch-mutt.1
218 insinto /etc/mutt
219 doins notmuch-mutt.rc
220 dodoc README-mutt
221 popd || die
222 fi
223
224 if use vim; then
225 insinto /usr/share/vim/vimfiles
226 doins -r vim/plugin vim/syntax
227 fi
228
229 DOCS="" bindings python distutils_src_install
230
231 if use doc; then
232 bindings python dohtml -r python
233 fi
234 }
235
236 pkg_postinst() {
237 use emacs && elisp-site-regen
238 use python && distutils_pkg_postinst
239
240 if use mutt && [[ ! ${NOTMUCH_MUTT_RC_EXISTS} ]]; then
241 elog "To enable notmuch support in mutt, add the following line into"
242 elog "your mutt config file, please:"
243 elog ""
244 elog " source /etc/mutt/notmuch-mutt.rc"
245 fi
246 }
247
248 pkg_postrm() {
249 use emacs && elisp-site-regen
250 use python && distutils_pkg_postrm
251 }