Gentoo Archives: gentoo-commits

From: "Amadeusz Zolnowski (aidecoe)" <aidecoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-mail/notmuch: notmuch-0.10.2-r2.ebuild ChangeLog
Date: Wed, 29 Feb 2012 07:41:34
Message-Id: 20120229074123.C306C2004B@flycatcher.gentoo.org
1 aidecoe 12/02/29 07:41:23
2
3 Modified: ChangeLog
4 Added: notmuch-0.10.2-r2.ebuild
5 Log:
6 net-mail/notmuch-0.10.2: Fixes bug #406175 and bug #406177.
7
8 Fixes bug #406175 (security fix for Emacs UI) and bug #406177 (Python bindings
9 tests used to fail). I have backported patches from 0.11.1 and 0.11 releases.
10
11 (Portage version: 2.1.10.48/cvs/Linux x86_64)
12
13 Revision Changes Path
14 1.28 net-mail/notmuch/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?rev=1.28&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?rev=1.28&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?r1=1.27&r2=1.28
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v
23 retrieving revision 1.27
24 retrieving revision 1.28
25 diff -u -r1.27 -r1.28
26 --- ChangeLog 29 Feb 2012 07:36:13 -0000 1.27
27 +++ ChangeLog 29 Feb 2012 07:41:23 -0000 1.28
28 @@ -1,6 +1,16 @@
29 # ChangeLog for net-mail/notmuch
30 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v 1.27 2012/02/29 07:36:13 aidecoe Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v 1.28 2012/02/29 07:41:23 aidecoe Exp $
33 +
34 +*notmuch-0.10.2-r2 (29 Feb 2012)
35 +
36 + 29 Feb 2012; Amadeusz Żołnowski <aidecoe@g.o>
37 + +files/0.10.2-emacsui-mml-tags-quoting-fix.patch,
38 + +files/0.10.2-emacsui-mml-tags-quoting-test.patch,
39 + +files/0.10.2-lib-call-g_mime_init-db-open.patch, +notmuch-0.10.2-r2.ebuild:
40 + Fixes bug #406175 (security fix for Emacs UI) and bug #406177 (Python
41 + bindings tests used to fail). I have backported patches from 0.11.1 and 0.11
42 + releases.
43
44 28 Feb 2012; Amadeusz Żołnowski <aidecoe@g.o> notmuch-0.10.2.ebuild,
45 notmuch-0.10.2-r1.ebuild, notmuch-0.11.1-r1.ebuild, notmuch-0.11.1-r2.ebuild:
46
47
48
49 1.1 net-mail/notmuch/notmuch-0.10.2-r2.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/notmuch-0.10.2-r2.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/notmuch-0.10.2-r2.ebuild?rev=1.1&content-type=text/plain
53
54 Index: notmuch-0.10.2-r2.ebuild
55 ===================================================================
56 # Copyright 1999-2012 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/notmuch-0.10.2-r2.ebuild,v 1.1 2012/02/29 07:41:23 aidecoe Exp $
59
60 EAPI=4
61
62 PYTHON_DEPEND="python? 2:2.6"
63 SUPPORT_PYTHON_ABIS="1"
64 RESTRICT_PYTHON_ABIS="2.[45] 3.*"
65
66 inherit elisp-common distutils
67 inherit autotools-utils
68
69 DESCRIPTION="The mail indexer"
70 HOMEPAGE="http://notmuchmail.org/"
71 SRC_URI="${HOMEPAGE}/releases/${P}.tar.gz"
72
73 LICENSE="GPL-3"
74 SLOT="0"
75 KEYWORDS="~amd64 ~x86"
76 REQUIRED_USE="test? ( crypt emacs )"
77 IUSE="bash-completion crypt debug doc emacs python test vim zsh-completion"
78
79 CDEPEND="
80 >=dev-libs/glib-2.22
81 dev-libs/gmime:2.4
82 dev-libs/xapian
83 doc? ( python? ( dev-python/sphinx ) )
84 sys-libs/talloc
85 debug? ( dev-util/valgrind )
86 emacs? ( >=virtual/emacs-23 )
87 x86? ( >=dev-libs/xapian-1.2.7-r2 )
88 vim? ( || ( >=app-editors/vim-7.0 >=app-editors/gvim-7.0 ) )
89 "
90 DEPEND="${CDEPEND}
91 dev-util/pkgconfig
92 test? ( app-misc/dtach sys-devel/gdb )
93 "
94 RDEPEND="${CDEPEND}
95 crypt? ( app-crypt/gnupg )
96 zsh-completion? ( app-shells/zsh )
97 "
98
99 PATCHES=(
100 "${FILESDIR}/${PV}-fix-test-build.patch"
101 "${FILESDIR}/${PV}-emacsui-mml-tags-quoting-test.patch"
102 "${FILESDIR}/${PV}-emacsui-mml-tags-quoting-fix.patch"
103 "${FILESDIR}/${PV}-lib-call-g_mime_init-db-open.patch"
104 )
105 DOCS=( AUTHORS NEWS README TODO )
106 SITEFILE="50${PN}-gentoo.el"
107
108 bindings() {
109 if use $1; then
110 pushd bindings/$1 || die
111 shift
112 $@
113 popd || die
114 fi
115 }
116
117 pkg_setup() {
118 if use emacs; then
119 elisp-need-emacs 23 || die "Emacs version too low"
120 fi
121 use python && python_pkg_setup
122 }
123
124 src_prepare() {
125 autotools-utils_src_prepare
126 bindings python distutils_src_prepare
127 }
128
129 src_configure() {
130 local myeconfargs=(
131 --bashcompletiondir="${ROOT}/usr/share/bash-completion"
132 --emacslispdir="${ROOT}/${SITELISP}/${PN}"
133 --emacsetcdir="${ROOT}/${SITEETC}/${PN}"
134 --zshcompletiondir="${ROOT}/usr/share/zsh/site-functions"
135 $(use_with bash-completion)
136 $(use_with emacs)
137 $(use_with zsh-completion)
138 )
139 autotools-utils_src_configure
140 }
141
142 src_compile() {
143 autotools-utils_src_compile
144 bindings python distutils_src_compile
145
146 if use doc; then
147 pydocs() {
148 pushd docs || die
149 emake html
150 mv html ../python || die
151 popd || die
152 }
153 LD_LIBRARY_PATH="${WORKDIR}/${PF}_build/lib" bindings python pydocs
154 fi
155 }
156
157 src_install() {
158 autotools-utils_src_install
159
160 if use emacs; then
161 elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die
162 fi
163
164 if use vim; then
165 insinto /usr/share/vim/vimfiles
166 doins -r vim/plugin vim/syntax
167 fi
168
169 DOCS="" bindings python distutils_src_install
170
171 if use doc; then
172 bindings python dohtml -r python
173 fi
174 }
175
176 pkg_postinst() {
177 use emacs && elisp-site-regen
178 use python && distutils_pkg_postinst
179 }
180
181 pkg_postrm() {
182 use emacs && elisp-site-regen
183 use python && distutils_pkg_postrm
184 }