Gentoo Archives: gentoo-commits

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