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