1 |
commit: 3abbe89890a336947111c31ee8d799df320da1eb |
2 |
Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 1 20:41:16 2017 +0000 |
4 |
Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 1 20:52:53 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3abbe898 |
7 |
|
8 |
net-mail/notmuch: Bump version to 0.23.7 |
9 |
|
10 |
It includes the fix for gpg-agent configuration, so the patch |
11 |
fix-gpg-tests.patch introduced in 0.23.5 can be dropped. |
12 |
|
13 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
14 |
|
15 |
net-mail/notmuch/Manifest | 1 + |
16 |
net-mail/notmuch/notmuch-0.23.7.ebuild | 201 +++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 202 insertions(+) |
18 |
|
19 |
diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest |
20 |
index e5fb63dba17..b521731e46c 100644 |
21 |
--- a/net-mail/notmuch/Manifest |
22 |
+++ b/net-mail/notmuch/Manifest |
23 |
@@ -3,3 +3,4 @@ DIST notmuch-0.21.tar.gz 663600 SHA256 d06f8ffed168c7d53ffc449dd611038b5fa90f7ee |
24 |
DIST notmuch-0.22.2.tar.gz 683796 SHA256 6cd19c61634079981b2d8f4b7cb4eb953cba2a36272520603682d813d2bd7ed1 SHA512 cc11feb8d1c2c7959a42e032c1e36e828290a8e8477af8936a27654117fbc2e080c71fe69ec92bd80763d9d3b163d45b7c0fa9fe9c4ec649600fa928110da4ee WHIRLPOOL 6aa41fa26a92a11393193b6f7e147b69de00f57fe712486805b2b7019d9bf9887d6d10962ef4144ca9ef07d6f63bbb1ddb2f7104c6eb89841285620d439743be |
25 |
DIST notmuch-0.23.3.tar.gz 691361 SHA256 0f5da5cf0203b774e345c50d56e975a87c2fc5407ef4ea284b6e2b55a8951882 SHA512 232a4133d70d074e6d38b00471145ecec342a5e138822cce01b6915e2b3de29fc1181e116d1df30e2fea04d519f53297fd8ea0e9d0df91bc8d6fce549feed1e3 WHIRLPOOL 82c30f3137132504ed41c42619c3645b74680d01a835e6074122b6ff3ab8d1a5dfe138a583872d09ea9f70a7312021fafa1bd2c08c3b6b9a319f55e5c81f28ff |
26 |
DIST notmuch-0.23.5.tar.gz 691921 SHA256 c62694b3c5f04db48ed3bbf37a801ea2a03439826c6be318e23b34de749ac267 SHA512 703b685737c779008484a1a5064a0a6b4c93d0c20c48a9c417e0a471b8807f5ee3151a67f0161eb6b376dce56ab42a285dd80532ec9ff79451e982a7c0f25fa1 WHIRLPOOL 687fa8939970124b21cb0725681f2a98c326ee803bf38f0d38d8d8ec1f0e40e99f7be1f72c3bdb721deb4ccc2fecb32bef2067a5baa7b0572a9de2c7d80c51aa |
27 |
+DIST notmuch-0.23.7.tar.gz 692230 SHA256 f11bb10d71945f6c3f16d23117afc70810aa485878e66bb4bf43cc3f08038913 SHA512 e71da3bd6ce1b344aae79b277b695a4668d4fe1b8838618d6970a0b27df9867bac66a3240473ef31fc30ed8af2b0a558203ed5ffb34da873c991b1ecc6c08522 WHIRLPOOL 0b14cd6fb2b584b27b7893bb9c45724725069a6bc980cfe52f80ec3f6ec95c3a8f631975875f44b46b2799d5a0c31a62ff845b2400b7389cd8aa6f55361a0851 |
28 |
|
29 |
diff --git a/net-mail/notmuch/notmuch-0.23.7.ebuild b/net-mail/notmuch/notmuch-0.23.7.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..b448318b125 |
32 |
--- /dev/null |
33 |
+++ b/net-mail/notmuch/notmuch-0.23.7.ebuild |
34 |
@@ -0,0 +1,201 @@ |
35 |
+# Copyright 1999-2017 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+# $Id$ |
38 |
+ |
39 |
+EAPI=6 |
40 |
+ |
41 |
+DISTUTILS_OPTIONAL=1 |
42 |
+PYTHON_COMPAT=( python{2_7,3_4} ) |
43 |
+ |
44 |
+inherit bash-completion-r1 elisp-common eutils flag-o-matic pax-utils \ |
45 |
+ distutils-r1 toolchain-funcs |
46 |
+ |
47 |
+DESCRIPTION="Thread-based e-mail indexer, supporting quick search and tagging" |
48 |
+HOMEPAGE="http://notmuchmail.org/" |
49 |
+SRC_URI="${HOMEPAGE%/}/releases/${P}.tar.gz |
50 |
+ test? ( ${HOMEPAGE%/}/releases/test-databases/database-v1.tar.xz )" |
51 |
+ |
52 |
+LICENSE="GPL-3" |
53 |
+# Sub-slot corresponds to major wersion of libnotmuch.so.X.Y. Bump of Y is |
54 |
+# meant to be binary backward compatible. |
55 |
+SLOT="0/4" |
56 |
+KEYWORDS="~alpha ~amd64 ~x86" |
57 |
+REQUIRED_USE=" |
58 |
+ nmbug? ( python ) |
59 |
+ python? ( ${PYTHON_REQUIRED_USE} ) |
60 |
+ test? ( crypt emacs python valgrind ) |
61 |
+ " |
62 |
+IUSE="crypt doc emacs mutt nmbug python test valgrind" |
63 |
+ |
64 |
+CDEPEND=" |
65 |
+ >=app-shells/bash-completion-1.9 |
66 |
+ >=dev-libs/glib-2.22:2 |
67 |
+ >=dev-libs/gmime-2.6.20-r2:2.6 |
68 |
+ >=dev-libs/xapian-1.2.7-r2:= |
69 |
+ dev-python/sphinx[${PYTHON_USEDEP}] |
70 |
+ >=sys-libs/zlib-1.2.5.2 |
71 |
+ sys-libs/talloc |
72 |
+ crypt? ( >=dev-libs/gmime-2.6.20-r2:2.6[smime] ) |
73 |
+ emacs? ( >=virtual/emacs-23 ) |
74 |
+ python? ( ${PYTHON_DEPS} ) |
75 |
+ " |
76 |
+DEPEND="${CDEPEND} |
77 |
+ virtual/pkgconfig |
78 |
+ doc? ( app-doc/doxygen ) |
79 |
+ test? ( app-misc/dtach || ( >=app-editors/emacs-23[libxml2] |
80 |
+ >=app-editors/emacs-vcs-23[libxml2] ) sys-devel/gdb |
81 |
+ crypt? ( app-crypt/gnupg dev-libs/openssl ) ) |
82 |
+ valgrind? ( dev-util/valgrind ) |
83 |
+ " |
84 |
+RDEPEND="${CDEPEND} |
85 |
+ crypt? ( app-crypt/gnupg ) |
86 |
+ nmbug? ( dev-vcs/git ) |
87 |
+ mutt? ( dev-perl/File-Which dev-perl/Mail-Box dev-perl/MailTools |
88 |
+ dev-perl/String-ShellQuote dev-perl/Term-ReadLine-Gnu |
89 |
+ virtual/perl-Digest-SHA virtual/perl-File-Path virtual/perl-Getopt-Long |
90 |
+ virtual/perl-Pod-Parser ) |
91 |
+ " |
92 |
+ |
93 |
+DOCS=( AUTHORS NEWS README ) |
94 |
+SITEFILE="50${PN}-gentoo.el" |
95 |
+MY_LD_LIBRARY_PATH="${WORKDIR}/${P}/lib" |
96 |
+ |
97 |
+bindings() { |
98 |
+ local ret=0 |
99 |
+ |
100 |
+ if use $1; then |
101 |
+ pushd bindings/$1 || die |
102 |
+ shift |
103 |
+ "$@" |
104 |
+ ret=$? |
105 |
+ popd || die |
106 |
+ fi |
107 |
+ |
108 |
+ return $ret |
109 |
+} |
110 |
+ |
111 |
+pkg_pretend() { |
112 |
+ if has_version '<net-mail/notmuch-0.18'; then |
113 |
+ ewarn |
114 |
+ ewarn "There are few not backward compatible changes between" |
115 |
+ ewarn "<notmuch-0.18 and >=notmuch-0.18. See NEWS file" |
116 |
+ ewarn "(0.18 section) for details before first use!" |
117 |
+ ewarn |
118 |
+ fi |
119 |
+} |
120 |
+ |
121 |
+pkg_setup() { |
122 |
+ if use emacs; then |
123 |
+ elisp-need-emacs 23 || die "Emacs version too low" |
124 |
+ fi |
125 |
+} |
126 |
+ |
127 |
+src_unpack() { |
128 |
+ unpack "${P}".tar.gz |
129 |
+ if use test; then |
130 |
+ mkdir -p "${S}"/test/test-databases || die |
131 |
+ cp "${DISTDIR}"/database-v1.tar.xz "${S}"/test/test-databases/ || die |
132 |
+ fi |
133 |
+} |
134 |
+ |
135 |
+src_prepare() { |
136 |
+ default |
137 |
+ |
138 |
+ bindings python distutils-r1_src_prepare |
139 |
+ bindings python mv README README-python || die |
140 |
+ mv contrib/notmuch-mutt/README contrib/notmuch-mutt/README-mutt || die |
141 |
+ |
142 |
+ # assure that new Makefile.config will be generated |
143 |
+ rm -f Makefile.config || die |
144 |
+ |
145 |
+ if use test; then |
146 |
+ append-cflags -g |
147 |
+ append-cxxflags -g |
148 |
+ fi |
149 |
+} |
150 |
+ |
151 |
+src_configure() { |
152 |
+ local myeconfargs=( |
153 |
+ --bashcompletiondir="$(get_bashcompdir)" |
154 |
+ --emacslispdir="${EPREFIX}/${SITELISP}/${PN}" |
155 |
+ --emacsetcdir="${EPREFIX}/${SITEETC}/${PN}" |
156 |
+ --without-ruby |
157 |
+ --zshcompletiondir="${EPREFIX}/usr/share/zsh/site-functions" |
158 |
+ $(use_with emacs) |
159 |
+ $(use_with doc api-docs) |
160 |
+ ) |
161 |
+ tc-export CC CXX |
162 |
+ econf "${myeconfargs[@]}" |
163 |
+} |
164 |
+ |
165 |
+src_compile() { |
166 |
+ V=1 default |
167 |
+ bindings python distutils-r1_src_compile |
168 |
+ |
169 |
+ if use mutt; then |
170 |
+ pushd contrib/notmuch-mutt || die |
171 |
+ emake notmuch-mutt.1 |
172 |
+ popd || die |
173 |
+ fi |
174 |
+ |
175 |
+ if use doc; then |
176 |
+ pydocs() { |
177 |
+ pushd docs || die |
178 |
+ emake html |
179 |
+ rm -r html/_sources || die |
180 |
+ rm html/{objects.inv,.buildinfo} || die |
181 |
+ mkdir -p ../html && mv html ../html/python || die |
182 |
+ popd || die |
183 |
+ } |
184 |
+ LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" bindings python pydocs |
185 |
+ fi |
186 |
+} |
187 |
+ |
188 |
+src_test() { |
189 |
+ pax-mark -m notmuch |
190 |
+ LD_LIBRARY_PATH="${MY_LD_LIBRARY_PATH}" V=1 default |
191 |
+ pax-mark -ze notmuch |
192 |
+} |
193 |
+ |
194 |
+src_install() { |
195 |
+ default |
196 |
+ |
197 |
+ if use emacs; then |
198 |
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die |
199 |
+ fi |
200 |
+ |
201 |
+ if use nmbug; then |
202 |
+ dobin devel/nmbug/nmbug |
203 |
+ dobin devel/nmbug/notmuch-report |
204 |
+ fi |
205 |
+ |
206 |
+ if use mutt; then |
207 |
+ pushd contrib/notmuch-mutt || die |
208 |
+ dobin notmuch-mutt |
209 |
+ doman notmuch-mutt.1 |
210 |
+ insinto /etc/mutt |
211 |
+ doins notmuch-mutt.rc |
212 |
+ dodoc README-mutt |
213 |
+ popd || die |
214 |
+ fi |
215 |
+ |
216 |
+ DOCS="" bindings python distutils-r1_src_install |
217 |
+ use doc && bindings python dodoc -r html |
218 |
+} |
219 |
+ |
220 |
+pkg_preinst() { |
221 |
+ if use mutt && ! [[ -e ${ROOT}/etc/mutt/notmuch-mutt.rc ]]; then |
222 |
+ elog "To enable notmuch support in mutt, add the following line into" |
223 |
+ elog "your mutt config file, please:" |
224 |
+ elog "" |
225 |
+ elog " source /etc/mutt/notmuch-mutt.rc" |
226 |
+ fi |
227 |
+} |
228 |
+ |
229 |
+pkg_postinst() { |
230 |
+ use emacs && elisp-site-regen |
231 |
+} |
232 |
+ |
233 |
+pkg_postrm() { |
234 |
+ use emacs && elisp-site-regen |
235 |
+} |