1 |
aidecoe 11/11/04 14:49:14 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: notmuch-0.9-r2.ebuild |
5 |
Log: |
6 |
net-mail/notmuch: Added ruby bindings and docs. |
7 |
|
8 |
Added ruby bindings and API documentation for both python and ruby bindings. |
9 |
|
10 |
(Portage version: 2.1.10.32/cvs/Linux x86_64) |
11 |
|
12 |
Revision Changes Path |
13 |
1.3 net-mail/notmuch/metadata.xml |
14 |
|
15 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/metadata.xml?rev=1.3&view=markup |
16 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/metadata.xml?rev=1.3&content-type=text/plain |
17 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/metadata.xml?r1=1.2&r2=1.3 |
18 |
|
19 |
Index: metadata.xml |
20 |
=================================================================== |
21 |
RCS file: /var/cvsroot/gentoo-x86/net-mail/notmuch/metadata.xml,v |
22 |
retrieving revision 1.2 |
23 |
retrieving revision 1.3 |
24 |
diff -u -r1.2 -r1.3 |
25 |
--- metadata.xml 3 Nov 2011 18:24:53 -0000 1.2 |
26 |
+++ metadata.xml 4 Nov 2011 14:49:13 -0000 1.3 |
27 |
@@ -6,6 +6,7 @@ |
28 |
<name>Amadeusz Żołnowski</name> |
29 |
</maintainer> |
30 |
<use> |
31 |
+ <flag name="doc">Install API documentation for enabled bindings</flag> |
32 |
<flag name="crypt">Support decryption and verification of PGP/MIME |
33 |
messages and in Emacs UI - encryption</flag> |
34 |
<flag name="emacs">Install Notmuch client for Emacs (main client)</flag> |
35 |
|
36 |
|
37 |
|
38 |
1.9 net-mail/notmuch/ChangeLog |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?rev=1.9&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?rev=1.9&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/ChangeLog?r1=1.8&r2=1.9 |
43 |
|
44 |
Index: ChangeLog |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v |
47 |
retrieving revision 1.8 |
48 |
retrieving revision 1.9 |
49 |
diff -u -r1.8 -r1.9 |
50 |
--- ChangeLog 3 Nov 2011 18:32:23 -0000 1.8 |
51 |
+++ ChangeLog 4 Nov 2011 14:49:13 -0000 1.9 |
52 |
@@ -1,6 +1,12 @@ |
53 |
# ChangeLog for net-mail/notmuch |
54 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v 1.8 2011/11/03 18:32:23 aidecoe Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/ChangeLog,v 1.9 2011/11/04 14:49:13 aidecoe Exp $ |
57 |
+ |
58 |
+*notmuch-0.9-r2 (04 Nov 2011) |
59 |
+ |
60 |
+ 04 Nov 2011; Amadeusz Żołnowski <aidecoe@g.o> |
61 |
+ +notmuch-0.9-r2.ebuild, metadata.xml: |
62 |
+ Added ruby bindings and API documentation for both python and ruby bindings. |
63 |
|
64 |
03 Nov 2011; Amadeusz Żołnowski <aidecoe@g.o> -notmuch-0.9.ebuild: |
65 |
Removed old 0.9 revision. |
66 |
|
67 |
|
68 |
|
69 |
1.1 net-mail/notmuch/notmuch-0.9-r2.ebuild |
70 |
|
71 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/notmuch-0.9-r2.ebuild?rev=1.1&view=markup |
72 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-mail/notmuch/notmuch-0.9-r2.ebuild?rev=1.1&content-type=text/plain |
73 |
|
74 |
Index: notmuch-0.9-r2.ebuild |
75 |
=================================================================== |
76 |
# Copyright 1999-2011 Gentoo Foundation |
77 |
# Distributed under the terms of the GNU General Public License v2 |
78 |
# $Header: /var/cvsroot/gentoo-x86/net-mail/notmuch/notmuch-0.9-r2.ebuild,v 1.1 2011/11/04 14:49:13 aidecoe Exp $ |
79 |
|
80 |
EAPI=4 |
81 |
|
82 |
PYTHON_DEPEND="python? 2:2.5" |
83 |
SUPPORT_PYTHON_ABIS="1" |
84 |
RESTRICT_PYTHON_ABIS="2.4 3.*" |
85 |
RUBY="/usr/bin/ruby18" |
86 |
RDOC="/usr/bin/rdoc18" |
87 |
|
88 |
inherit elisp-common distutils |
89 |
inherit autotools-utils |
90 |
|
91 |
DESCRIPTION="The mail indexer" |
92 |
HOMEPAGE="http://notmuchmail.org/" |
93 |
SRC_URI="${HOMEPAGE}/releases/${P}.tar.gz" |
94 |
|
95 |
LICENSE="GPL-3" |
96 |
SLOT="0" |
97 |
KEYWORDS="~amd64 ~x86" |
98 |
REQUIRED_USE="test? ( crypt emacs )" |
99 |
IUSE="bash-completion crypt debug doc emacs python ruby test vim zsh-completion" |
100 |
|
101 |
CDEPEND=" |
102 |
>=dev-libs/glib-2.14 |
103 |
dev-libs/gmime:2.4 |
104 |
dev-libs/xapian |
105 |
doc? ( python? ( dev-python/sphinx ) ) |
106 |
sys-libs/talloc |
107 |
debug? ( dev-util/valgrind ) |
108 |
emacs? ( >=virtual/emacs-23 ) |
109 |
ruby? ( dev-lang/ruby:1.8 ) |
110 |
x86? ( >=dev-libs/xapian-1.2.7-r2 ) |
111 |
vim? ( || ( >=app-editors/vim-7.0 >=app-editors/gvim-7.0 ) ) |
112 |
" |
113 |
DEPEND="${CDEPEND} |
114 |
dev-util/pkgconfig |
115 |
test? ( sys-devel/gdb ) |
116 |
" |
117 |
RDEPEND="${CDEPEND} |
118 |
crypt? ( app-crypt/gnupg ) |
119 |
zsh-completion? ( app-shells/zsh ) |
120 |
" |
121 |
|
122 |
DOCS=( AUTHORS NEWS README TODO ) |
123 |
PATCHES=( |
124 |
"${FILESDIR}/${PV}-fix-lib-makefile-local.patch" |
125 |
"${FILESDIR}/${PV}-emacsetcdir.patch" |
126 |
) |
127 |
SITEFILE="50${PN}-gentoo.el" |
128 |
|
129 |
bindings() { |
130 |
if use $1; then |
131 |
pushd bindings/$1 || die |
132 |
shift |
133 |
$@ |
134 |
popd || die |
135 |
fi |
136 |
} |
137 |
|
138 |
pkg_setup() { |
139 |
if use emacs; then |
140 |
elisp-need-emacs 23 || die "Emacs version too low" |
141 |
fi |
142 |
use python && python_pkg_setup |
143 |
} |
144 |
|
145 |
src_prepare() { |
146 |
echo "S=${S}" |
147 |
autotools-utils_src_prepare |
148 |
bindings python distutils_src_prepare |
149 |
} |
150 |
|
151 |
src_configure() { |
152 |
local myeconfargs=( |
153 |
--bashcompletiondir="${ROOT}/usr/share/bash-completion" |
154 |
--emacslispdir="${ROOT}/${SITELISP}/${PN}" |
155 |
--emacsetcdir="${ROOT}/${SITEETC}/${PN}" |
156 |
--zshcompletiondir="${ROOT}/usr/share/zsh/site-functions" |
157 |
$(use_with bash-completion) |
158 |
$(use_with emacs) |
159 |
$(use_with zsh-completion) |
160 |
) |
161 |
autotools-utils_src_configure |
162 |
|
163 |
r_conf() { |
164 |
${RUBY} extconf.rb || die |
165 |
} |
166 |
bindings ruby r_conf |
167 |
} |
168 |
|
169 |
src_compile() { |
170 |
autotools-utils_src_compile |
171 |
bindings python distutils_src_compile |
172 |
bindings ruby emake |
173 |
|
174 |
if use doc; then |
175 |
pydocs() { |
176 |
pushd docs || die |
177 |
emake html |
178 |
mv html ../python || die |
179 |
popd || die |
180 |
} |
181 |
|
182 |
rdocs() { |
183 |
${RDOC} --main 'Notmuch' --title 'Notmuch Ruby API' --op ruby *.c |
184 |
} |
185 |
|
186 |
bindings python pydocs |
187 |
bindings ruby rdocs |
188 |
fi |
189 |
} |
190 |
|
191 |
src_install() { |
192 |
autotools-utils_src_install |
193 |
|
194 |
if use emacs; then |
195 |
elisp-site-file-install "${FILESDIR}/${SITEFILE}" || die |
196 |
fi |
197 |
|
198 |
if use vim; then |
199 |
insinto /usr/share/vim/vimfiles |
200 |
doins -r vim/plugin vim/syntax |
201 |
fi |
202 |
|
203 |
DOCS="" bindings python distutils_src_install |
204 |
bindings ruby emake DESTDIR="'${D}'" install |
205 |
|
206 |
if use doc; then |
207 |
bindings python dohtml -r python |
208 |
bindings ruby dohtml -r ruby |
209 |
fi |
210 |
} |
211 |
|
212 |
pkg_postinst() { |
213 |
use emacs && elisp-site-regen |
214 |
use python && distutils_pkg_postinst |
215 |
|
216 |
if use python; then |
217 |
echo |
218 |
einfo "Python API documentation is also online available at:" |
219 |
einfo " http://packages.python.org/notmuch/" |
220 |
fi |
221 |
} |
222 |
|
223 |
pkg_postrm() { |
224 |
use emacs && elisp-site-regen |
225 |
use python && distutils_pkg_postrm |
226 |
} |