1 |
aidecoe 15/01/29 13:37:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: notmuch-0.19-r1.ebuild |
5 |
Log: |
6 |
Apply rst2man related fixes. Fallback from sphinx to rst2man was ending up |
7 |
with build failure. Rels bug #530522. |
8 |
|
9 |
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key F0134531E1DBFAB5) |
10 |
|
11 |
Revision Changes Path |
12 |
1.111 net-mail/notmuch/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?rev=1.111&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?rev=1.111&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?r1=1.110&r2=1.111 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v |
21 |
retrieving revision 1.110 |
22 |
retrieving revision 1.111 |
23 |
diff -u -r1.110 -r1.111 |
24 |
--- ChangeLog 2 Dec 2014 15:09:02 -0000 1.110 |
25 |
+++ ChangeLog 29 Jan 2015 13:37:49 -0000 1.111 |
26 |
@@ -1,6 +1,16 @@ |
27 |
# ChangeLog for net-mail/notmuch |
28 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v 1.110 2014/12/02 15:09:02 aidecoe Exp $ |
30 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v 1.111 2015/01/29 13:37:49 aidecoe Exp $ |
32 |
+ |
33 |
+*notmuch-0.19-r1 (29 Jan 2015) |
34 |
+ |
35 |
+ 29 Jan 2015; Amadeusz Żołnowski <aidecoe@g.o> |
36 |
+ +notmuch-0.19-r1.ebuild, |
37 |
+ +files/0.19-0001-doc-gzipped-notmuch.3-before-trying-to.patch, |
38 |
+ +files/0.19-0002-Rename-rst2man-to-rst2man.py-for-Gento.patch, |
39 |
+ +files/0.19-0003-build-eliminate-use-of-python-execfile.patch: |
40 |
+ Apply rst2man related fixes. Fallback from sphinx to rst2man was ending up |
41 |
+ with build failure. Rels bug #530522. |
42 |
|
43 |
02 Dec 2014; Amadeusz Żołnowski <aidecoe@g.o> |
44 |
notmuch-0.16-r1.ebuild, notmuch-0.17.ebuild, notmuch-0.18.2.ebuild, |
45 |
|
46 |
|
47 |
|
48 |
1.1 net-mail/notmuch/notmuch-0.19-r1.ebuild |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/notmuch-0.19-r1.ebuild?rev=1.1&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/notmuch-0.19-r1.ebuild?rev=1.1&content-type=text/plain |
52 |
|
53 |
Index: notmuch-0.19-r1.ebuild |
54 |
=================================================================== |
55 |
# Copyright 1999-2015 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/notmuch-0.19-r1.ebuild,v 1.1 2015/01/29 13:37:49 aidecoe Exp $ |
58 |
|
59 |
EAPI=5 |
60 |
|
61 |
DISTUTILS_OPTIONAL=1 |
62 |
PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3,3_4} ) |
63 |
|
64 |
inherit bash-completion-r1 elisp-common eutils flag-o-matic pax-utils \ |
65 |
distutils-r1 toolchain-funcs |
66 |
|
67 |
DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging" |
68 |
HOMEPAGE="http://notmuchmail.org/" |
69 |
SRC_URI="${HOMEPAGE%/}/releases/${P}.tar.gz" |
70 |
|
71 |
LICENSE="GPL-3" |
72 |
SLOT="0" |
73 |
KEYWORDS="~amd64 ~x86" |
74 |
REQUIRED_USE=" |
75 |
nmbug? ( python ) |
76 |
python? ( ${PYTHON_REQUIRED_USE} ) |
77 |
test? ( crypt debug emacs python ) |
78 |
" |
79 |
IUSE="crypt debug doc emacs mutt nmbug python test" |
80 |
|
81 |
CDEPEND=" |
82 |
>=app-shells/bash-completion-1.9 |
83 |
>=dev-libs/glib-2.22 |
84 |
>=dev-libs/gmime-2.6.7 |
85 |
!=dev-libs/gmime-2.6.19 |
86 |
<dev-libs/xapian-1.3 |
87 |
>=sys-libs/zlib-1.2.5.2 |
88 |
sys-libs/talloc |
89 |
debug? ( dev-util/valgrind ) |
90 |
emacs? ( >=virtual/emacs-23 ) |
91 |
python? ( ${PYTHON_DEPS} ) |
92 |
x86? ( >=dev-libs/xapian-1.2.7-r2 ) |
93 |
" |
94 |
DEPEND="${CDEPEND} |
95 |
virtual/pkgconfig |
96 |
doc? ( app-doc/doxygen |
97 |
python? ( dev-python/sphinx[${PYTHON_USEDEP}] ) ) |
98 |
test? ( app-misc/dtach || ( >=app-editors/emacs-23[libxml2] |
99 |
>=app-editors/emacs-vcs-23[libxml2] ) sys-devel/gdb ) |
100 |
" |
101 |
RDEPEND="${CDEPEND} |
102 |
crypt? ( app-crypt/gnupg ) |
103 |
nmbug? ( dev-vcs/git ) |
104 |
mutt? ( dev-perl/File-Which dev-perl/Mail-Box dev-perl/MailTools |
105 |
dev-perl/String-ShellQuote dev-perl/Term-ReadLine-Gnu |
106 |
virtual/perl-Digest-SHA virtual/perl-File-Path virtual/perl-Getopt-Long |
107 |
virtual/perl-Pod-Parser |
108 |
) |
109 |
" |
110 |
|
111 |
DOCS=( AUTHORS NEWS README ) |
112 |
SITEFILE="50${PN}-gentoo.el" |
113 |
MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib" |
114 |
MY_PATCHES=( |
115 |
"${FILESDIR}/${PV}-0001-doc-gzipped-notmuch.3-before-trying-to.patch" |
116 |
"${FILESDIR}/${PV}-0002-Rename-rst2man-to-rst2man.py-for-Gento.patch" |
117 |
"${FILESDIR}/${PV}-0003-build-eliminate-use-of-python-execfile.patch" |
118 |
) |
119 |
|
120 |
bindings() { |
121 |
local ret=0 |
122 |
|
123 |
if use $1; then |
124 |
pushd bindings/$1 || die |
125 |
shift |
126 |
"$@" |
127 |
ret=$? |
128 |
popd || die |
129 |
fi |
130 |
|
131 |
return $ret |
132 |
} |
133 |
|
134 |
pkg_pretend() { |
135 |
if has_version '<net-mail/notmuch-0.18'; then |
136 |
ewarn |
137 |
ewarn "There are few not backward compatible changes between" |
138 |
ewarn "<notmuch-0.18 and >=notmuch-0.18. See NEWS file" |
139 |
ewarn "(0.18 section) for details before first use!" |
140 |
ewarn |
141 |
fi |
142 |
} |
143 |
|
144 |
pkg_setup() { |
145 |
if use emacs; then |
146 |
elisp-need-emacs 23 || die "Emacs version too low" |
147 |
fi |
148 |
} |
149 |
|
150 |
src_prepare() { |
151 |
[[ "${MY_PATCHES[@]}" ]] && epatch "${MY_PATCHES[@]}" |
152 |
|
153 |
bindings python distutils-r1_src_prepare |
154 |
bindings python mv README README-python || die |
155 |
mv contrib/notmuch-mutt/README contrib/notmuch-mutt/README-mutt || die |
156 |
|
157 |
rm -f Makefile.config # assure that new Makefile.config will be generated |
158 |
|
159 |
if use debug; then |
160 |
append-cflags -g |
161 |
append-cxxflags -g |
162 |
fi |
163 |
} |
164 |
|
165 |
src_configure() { |
166 |
local myeconfargs=( |
167 |
--bashcompletiondir="$(get_bashcompdir)" |
168 |
--emacslispdir="${EPREFIX}/${SITELISP}/${PN}" |
169 |
--emacsetcdir="${EPREFIX}/${SITEETC}/${PN}" |
170 |
--with-gmime-version=2.6 |
171 |
--zshcompletiondir="${EPREFIX}/usr/share/zsh/site-functions" |
172 |
$(use_with emacs) |
173 |
) |
174 |
tc-export CC CXX |
175 |
econf "${myeconfargs[@]}" |
176 |
} |
177 |
|
178 |
src_compile() { |
179 |
V=1 default |
180 |
bindings python distutils-r1_src_compile |
181 |
|
182 |
if use mutt; then |
183 |
pushd contrib/notmuch-mutt || die |
184 |
emake notmuch-mutt.1 |
185 |
popd || die |
186 |
fi |
187 |
|
188 |
if use doc; then |
189 |
pydocs() { |
190 |
pushd docs || die |
191 |
emake html |
192 |
mv html ../python || die |
193 |
popd || die |
194 |
} |
195 |
LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" bindings python pydocs |
196 |
fi |
197 |
} |
198 |
|
199 |
src_test() { |
200 |
pax-mark -m notmuch |
201 |
emake download-test-databases |
202 |
LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" default |
203 |
pax-mark -ze notmuch |
204 |
} |
205 |
|
206 |
src_install() { |
207 |
default |
208 |
|
209 |
if use emacs; then |
210 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die |
211 |
fi |
212 |
|
213 |
if use nmbug; then |
214 |
dobin devel/nmbug/nmbug |
215 |
dobin devel/nmbug/nmbug-status |
216 |
fi |
217 |
|
218 |
if use mutt; then |
219 |
pushd contrib/notmuch-mutt || die |
220 |
dobin notmuch-mutt |
221 |
doman notmuch-mutt.1 |
222 |
insinto /etc/mutt |
223 |
doins notmuch-mutt.rc |
224 |
dodoc README-mutt |
225 |
popd || die |
226 |
fi |
227 |
|
228 |
DOCS="" bindings python distutils-r1_src_install |
229 |
use doc && bindings python dohtml -r python |
230 |
} |
231 |
|
232 |
pkg_preinst() { |
233 |
if use mutt && ! [[ -e ${ROOT}/etc/mutt/notmuch-mutt.rc ]]; then |
234 |
elog "To enable notmuch support in mutt, add the following line into" |
235 |
elog "your mutt config file, please:" |
236 |
elog "" |
237 |
elog " source /etc/mutt/notmuch-mutt.rc" |
238 |
fi |
239 |
} |
240 |
|
241 |
pkg_postinst() { |
242 |
use emacs && elisp-site-regen |
243 |
} |
244 |
|
245 |
pkg_postrm() { |
246 |
use emacs && elisp-site-regen |
247 |
} |