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: Tue, 29 Aug 2017 20:24:36
Message-Id: 1504038257.1225799cb0ce178809d9142dcd37fd12f29405d3.aidecoe@gentoo
1 commit: 1225799cb0ce178809d9142dcd37fd12f29405d3
2 Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 29 20:23:51 2017 +0000
4 Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 29 20:24:17 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1225799c
7
8 net-mail/notmuch: Remove older minor version
9
10 Package-Manager: Portage-2.3.7, Repoman-2.3.3
11
12 net-mail/notmuch/Manifest | 1 -
13 net-mail/notmuch/notmuch-0.24.1.ebuild | 206 ---------------------------------
14 2 files changed, 207 deletions(-)
15
16 diff --git a/net-mail/notmuch/Manifest b/net-mail/notmuch/Manifest
17 index 97358714fc1..32a679b7829 100644
18 --- a/net-mail/notmuch/Manifest
19 +++ b/net-mail/notmuch/Manifest
20 @@ -1,5 +1,4 @@
21 DIST database-v1.tar.xz 204876 SHA256 4299e051b10e1fa7b33ea2862790a09ebfe96859681804e5251e130f800e69d2 SHA512 e2d87373e00b65756d7fea40c54fb236d7a37ce839145c3afd99ab26efdc17796e540c021e2c24e521df2d0a01ccbf918994f87a0d83235ff9b109a51555b3d0 WHIRLPOOL c3a4d99405ce5143ee2ac0cbdebdabbee0213ecfcb25615612b1577165547dd7c5b6b1d1930302dc3a8afc92b3691a6a4cc48255e91b08a297f9d2510e789233
22 DIST notmuch-0.23.7.tar.gz 692230 SHA256 f11bb10d71945f6c3f16d23117afc70810aa485878e66bb4bf43cc3f08038913 SHA512 e71da3bd6ce1b344aae79b277b695a4668d4fe1b8838618d6970a0b27df9867bac66a3240473ef31fc30ed8af2b0a558203ed5ffb34da873c991b1ecc6c08522 WHIRLPOOL 0b14cd6fb2b584b27b7893bb9c45724725069a6bc980cfe52f80ec3f6ec95c3a8f631975875f44b46b2799d5a0c31a62ff845b2400b7389cd8aa6f55361a0851
23 -DIST notmuch-0.24.1.tar.gz 709190 SHA256 fa117de2c6096dd896a333b9c770572a939e04a02abe6745b6b07f5363063ca3 SHA512 e2014380de68de3e1a3fd3058a441c6771a92bfffe07c0bd2b374802dd8b2539eddbbb91074738f58f48452a936f2f9427fadca825a165c61a27fe0c3e1fe7fc WHIRLPOOL 75904127fb33ce011aaa22a1c86ac58375c1f8881a1cf384254d5adb7c13316c28436d622c760d8dec150b7442ded475b6f80c5991c5654ca418cd875e9a743b
24 DIST notmuch-0.24.2.tar.gz 709272 SHA256 aa76a96684d5c5918d940182b6fe40f7d6745f144476fdda57388479d586cc51 SHA512 fcdc4ad5a65c57dd3077d93aeb384378f8dee105362fa8c2755daf14bbeb5376f8d1580fd79c8bd8e8d2d88cd44846ca9972b2f942133a447eb99d08ef9056dc WHIRLPOOL 679094ca2bd57a3b2f0f4ae5f2022c8bd1922e55fb095780b67de13c75758b4daa5892843e187405f294ed406ce47922bd6b854759984c5518bad8dc058236a6
25 DIST notmuch-0.25.tar.gz 882093 SHA256 65d28d1f783d02629039f7d15d9a2bada147a7d3809f86fe8d13861b0f6ae60b SHA512 5f4961818c8c0350e3fbbedd86f407a55fecf211971003a770d99ea2db89bb6b98c2294e114d6abff4d40985f506b7f4b52736a7ee5c78390eb4f2363a65c6f5 WHIRLPOOL 94ec2cb30c92b8c88da9b66f2a8afa7c01977671cdc018113a1716414a8555a9bec7d77b933df6dd4c3c339e3a2dfd46319f86725f1b84b608e7066c60b91f1c
26
27 diff --git a/net-mail/notmuch/notmuch-0.24.1.ebuild b/net-mail/notmuch/notmuch-0.24.1.ebuild
28 deleted file mode 100644
29 index 3ab5365e4a9..00000000000
30 --- a/net-mail/notmuch/notmuch-0.24.1.ebuild
31 +++ /dev/null
32 @@ -1,206 +0,0 @@
33 -# Copyright 1999-2017 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=6
37 -
38 -DISTUTILS_OPTIONAL=1
39 -PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
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 - # assure that new Makefile.config will be generated
140 - rm -f Makefile.config || die
141 -
142 - if use test; then
143 - append-cflags -g
144 - append-cxxflags -g
145 - fi
146 -}
147 -
148 -src_configure() {
149 - local myeconfargs=(
150 - --bashcompletiondir="$(get_bashcompdir)"
151 - --emacslispdir="${EPREFIX}/${SITELISP}/${PN}"
152 - --emacsetcdir="${EPREFIX}/${SITEETC}/${PN}"
153 - --without-desktop
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 - if has_version '<dev-libs/xapian-1.4'; then
231 - elog "Regular expression searches supported for from: and subject:"
232 - elog "require >=dev-libs/xapian-1.4."
233 - fi
234 -}
235 -
236 -pkg_postrm() {
237 - use emacs && elisp-site-regen
238 -}