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