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.19.ebuild
Date: Sun, 30 Nov 2014 11:36:55
Message-Id: 20141130113651.807A3B37D@oystercatcher.gentoo.org
1 aidecoe 14/11/30 11:36:51
2
3 Modified: ChangeLog
4 Added: notmuch-0.19.ebuild
5 Log:
6 Version bump.
7
8 NEWS
9 ~~~~
10 Command-Line Interface
11 ----------------------
12
13 - Stopped `notmuch dump` failing if someone writes to the database
14 - `notmuch insert` requires succesful message indexing for success status
15 - `notmuch insert` has gained support for `post-insert` hook
16 - `notmuch deliver` is deprecated
17 - `notmuch search` now supports `--duplicate=N` option with
18 `--output=messages`
19 - Added `notmuch address` subcommand
20
21 Emacs Interface
22 ---------------
23
24 - Use the `j` key to access saved searches from anywhere in notmuch
25 - Improved handling of the unread tag
26 - Expanded default saved search settings
27 - Improved `q` binding in notmuch buffers
28 - `notmuch-show-stash-mlarchive-link-alist` now supports functions
29
30 Library changes
31 ---------------
32
33 - Introduced database version 3 with support for "database features."
34 - Library users are no longer required to call `notmuch_database_upgrade`
35 - Library users can now abort an atomic section by closing the database
36 - Add return status to notmuch_database_close and notmuch_database_destroy
37 - Bug fixes and performance improvements for thread linking
38
39 nmbug
40 -----
41
42 `nmbug help` is not `nmbug --help`, and the following nmbug commands have
43 slightly different interfaces: `archive`, `commit`, `fetch`, `log`, `pull`,
44 `push`, and `status`. For details on the new interface for a given command,
45 run `nmbug COMMAND --help`.
46
47 nmbug-status
48 ------------
49
50 `nmbug-status` can now optionally load header and footer templates
51 from the config file. Use something like:
52
53 Python Bindings
54 ---------------
55
56 Add support for `notmuch_query_add_tag_exclude`
57
58 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key F0134531E1DBFAB5)
59
60 Revision Changes Path
61 1.109 net-mail/notmuch/ChangeLog
62
63 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?rev=1.109&view=markup
64 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?rev=1.109&content-type=text/plain
65 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?r1=1.108&r2=1.109
66
67 Index: ChangeLog
68 ===================================================================
69 RCS file: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v
70 retrieving revision 1.108
71 retrieving revision 1.109
72 diff -u -r1.108 -r1.109
73 --- ChangeLog 28 Nov 2014 13:56:06 -0000 1.108
74 +++ ChangeLog 30 Nov 2014 11:36:51 -0000 1.109
75 @@ -1,6 +1,61 @@
76 # ChangeLog for net-mail/notmuch
77 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
78 -# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v 1.108 2014/11/28 13:56:06 pacho Exp $
79 +# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v 1.109 2014/11/30 11:36:51 aidecoe Exp $
80 +
81 +*notmuch-0.19 (30 Nov 2014)
82 +
83 + 30 Nov 2014; Amadeusz Żołnowski <aidecoe@g.o> +notmuch-0.19.ebuild:
84 + Version bump.
85 +
86 + NEWS
87 + ~~~~
88 + Command-Line Interface
89 + ----------------------
90 +
91 + - Stopped `notmuch dump` failing if someone writes to the database
92 + - `notmuch insert` requires succesful message indexing for success status
93 + - `notmuch insert` has gained support for `post-insert` hook
94 + - `notmuch deliver` is deprecated
95 + - `notmuch search` now supports `--duplicate=N` option with
96 + `--output=messages`
97 + - Added `notmuch address` subcommand
98 +
99 + Emacs Interface
100 + ---------------
101 +
102 + - Use the `j` key to access saved searches from anywhere in notmuch
103 + - Improved handling of the unread tag
104 + - Expanded default saved search settings
105 + - Improved `q` binding in notmuch buffers
106 + - `notmuch-show-stash-mlarchive-link-alist` now supports functions
107 +
108 + Library changes
109 + ---------------
110 +
111 + - Introduced database version 3 with support for "database features."
112 + - Library users are no longer required to call `notmuch_database_upgrade`
113 + - Library users can now abort an atomic section by closing the database
114 + - Add return status to notmuch_database_close and notmuch_database_destroy
115 + - Bug fixes and performance improvements for thread linking
116 +
117 + nmbug
118 + -----
119 +
120 + `nmbug help` is not `nmbug --help`, and the following nmbug commands have
121 + slightly different interfaces: `archive`, `commit`, `fetch`, `log`, `pull`,
122 + `push`, and `status`. For details on the new interface for a given command,
123 + run `nmbug COMMAND --help`.
124 +
125 + nmbug-status
126 + ------------
127 +
128 + `nmbug-status` can now optionally load header and footer templates
129 + from the config file. Use something like:
130 +
131 + Python Bindings
132 + ---------------
133 +
134 + Add support for `notmuch_query_add_tag_exclude`
135
136 28 Nov 2014; Pacho Ramos <pacho@g.o> notmuch-0.18.2.ebuild:
137 Support python 3.4
138
139
140
141 1.1 net-mail/notmuch/notmuch-0.19.ebuild
142
143 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/notmuch-0.19.ebuild?rev=1.1&view=markup
144 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/notmuch-0.19.ebuild?rev=1.1&content-type=text/plain
145
146 Index: notmuch-0.19.ebuild
147 ===================================================================
148 # Copyright 1999-2014 Gentoo Foundation
149 # Distributed under the terms of the GNU General Public License v2
150 # $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/notmuch-0.19.ebuild,v 1.1 2014/11/30 11:36:51 aidecoe Exp $
151
152 EAPI=5
153
154 DISTUTILS_OPTIONAL=1
155 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} )
156
157 inherit elisp-common eutils flag-o-matic pax-utils distutils-r1 toolchain-funcs
158
159 DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging"
160 HOMEPAGE="http://notmuchmail.org/"
161 SRC_URI="${HOMEPAGE%/}/releases/${P}.tar.gz"
162
163 LICENSE="GPL-3"
164 SLOT="0"
165 KEYWORDS="~amd64 ~x86"
166 REQUIRED_USE="
167 nmbug? ( python )
168 python? ( ${PYTHON_REQUIRED_USE} )
169 test? ( crypt debug emacs python )
170 "
171 IUSE="crypt debug doc emacs mutt nmbug python test"
172
173 CDEPEND="
174 >=app-shells/bash-completion-1.9
175 >=dev-libs/glib-2.22
176 >=dev-libs/gmime-2.6.7
177 !=dev-libs/gmime-2.6.19
178 <dev-libs/xapian-1.3
179 >=sys-libs/zlib-1.2.5.2
180 sys-libs/talloc
181 debug? ( dev-util/valgrind )
182 emacs? ( >=virtual/emacs-23 )
183 python? ( ${PYTHON_DEPS} )
184 x86? ( >=dev-libs/xapian-1.2.7-r2 )
185 "
186 DEPEND="${CDEPEND}
187 virtual/pkgconfig
188 doc? ( app-doc/doxygen
189 python? ( dev-python/sphinx[${PYTHON_USEDEP}] ) )
190 test? ( app-misc/dtach || ( >=app-editors/emacs-23[libxml2]
191 >=app-editors/emacs-vcs-23[libxml2] ) sys-devel/gdb )
192 "
193 RDEPEND="${CDEPEND}
194 crypt? ( app-crypt/gnupg )
195 nmbug? ( dev-vcs/git )
196 mutt? ( dev-perl/File-Which dev-perl/Mail-Box dev-perl/MailTools
197 dev-perl/String-ShellQuote dev-perl/Term-ReadLine-Gnu
198 virtual/perl-Digest-SHA virtual/perl-File-Path virtual/perl-Getopt-Long
199 virtual/perl-Pod-Parser
200 )
201 "
202
203 DOCS=( AUTHORS NEWS README )
204 SITEFILE="50${PN}-gentoo.el"
205 MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib"
206 MY_PATCHES=( )
207
208 bindings() {
209 local ret=0
210
211 if use $1; then
212 pushd bindings/$1 || die
213 shift
214 "$@"
215 ret=$?
216 popd || die
217 fi
218
219 return $ret
220 }
221
222 pkg_pretend() {
223 if has_version '<net-mail/notmuch-0.18'; then
224 ewarn
225 ewarn "There are few not backward compatible changes between"
226 ewarn "<notmuch-0.18 and >=notmuch-0.18. See NEWS file"
227 ewarn "(0.18 section) for details before first use!"
228 ewarn
229 fi
230 }
231
232 pkg_setup() {
233 if use emacs; then
234 elisp-need-emacs 23 || die "Emacs version too low"
235 fi
236 }
237
238 src_prepare() {
239 [[ "${MY_PATCHES[@]}" ]] && epatch "${MY_PATCHES[@]}"
240
241 bindings python distutils-r1_src_prepare
242 bindings python mv README README-python || die
243 mv contrib/notmuch-mutt/README contrib/notmuch-mutt/README-mutt || die
244
245 rm -f Makefile.config # assure that new Makefile.config will be generated
246
247 if use debug; then
248 append-cflags -g
249 append-cxxflags -g
250 fi
251 }
252
253 src_configure() {
254 local myeconfargs=(
255 --bashcompletiondir="${EPREFIX}/usr/share/bash-completion"
256 --emacslispdir="${EPREFIX}/${SITELISP}/${PN}"
257 --emacsetcdir="${EPREFIX}/${SITEETC}/${PN}"
258 --with-gmime-version=2.6
259 --zshcompletiondir="${EPREFIX}/usr/share/zsh/site-functions"
260 $(use_with emacs)
261 )
262 tc-export CC CXX
263 econf "${myeconfargs[@]}"
264 }
265
266 src_compile() {
267 V=1 default
268 bindings python distutils-r1_src_compile
269
270 if use mutt; then
271 pushd contrib/notmuch-mutt || die
272 emake notmuch-mutt.1
273 popd || die
274 fi
275
276 if use doc; then
277 pydocs() {
278 pushd docs || die
279 emake html
280 mv html ../python || die
281 popd || die
282 }
283 LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" bindings python pydocs
284 fi
285 }
286
287 src_test() {
288 pax-mark -m notmuch
289 emake download-test-databases
290 LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" default
291 pax-mark -ze notmuch
292 }
293
294 src_install() {
295 default
296
297 if use emacs; then
298 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
299 fi
300
301 if use nmbug; then
302 dobin devel/nmbug/nmbug
303 dobin devel/nmbug/nmbug-status
304 fi
305
306 if use mutt; then
307 pushd contrib/notmuch-mutt || die
308 dobin notmuch-mutt
309 doman notmuch-mutt.1
310 insinto /etc/mutt
311 doins notmuch-mutt.rc
312 dodoc README-mutt
313 popd || die
314 fi
315
316 DOCS="" bindings python distutils-r1_src_install
317 use doc && bindings python dohtml -r python
318 }
319
320 pkg_preinst() {
321 if use mutt && ! [[ -e ${ROOT}/etc/mutt/notmuch-mutt.rc ]]; then
322 elog "To enable notmuch support in mutt, add the following line into"
323 elog "your mutt config file, please:"
324 elog ""
325 elog " source /etc/mutt/notmuch-mutt.rc"
326 fi
327 }
328
329 pkg_postinst() {
330 use emacs && elisp-site-regen
331 }
332
333 pkg_postrm() {
334 use emacs && elisp-site-regen
335 }