Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/xapian-bindings/
Date: Sun, 29 Jan 2017 18:40:15
Message-Id: 1485715194.a81bdb71924959ffd8673ba9f56e250a7a50fda2.blueness@gentoo
1 commit: a81bdb71924959ffd8673ba9f56e250a7a50fda2
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 29 18:38:34 2017 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 29 18:39:54 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a81bdb71
7
8 dev-libs/xapian-bindings: remove older versions
9
10 Package-Manager: portage-2.3.3
11
12 dev-libs/xapian-bindings/Manifest | 2 -
13 .../xapian-bindings/xapian-bindings-1.4.1.ebuild | 154 ---------------------
14 .../xapian-bindings/xapian-bindings-1.4.2.ebuild | 154 ---------------------
15 3 files changed, 310 deletions(-)
16
17 diff --git a/dev-libs/xapian-bindings/Manifest b/dev-libs/xapian-bindings/Manifest
18 index 09be70f..976d358 100644
19 --- a/dev-libs/xapian-bindings/Manifest
20 +++ b/dev-libs/xapian-bindings/Manifest
21 @@ -1,5 +1,3 @@
22 DIST xapian-bindings-1.2.22.tar.xz 844040 SHA256 b15ca7984980a1d2aedd3378648ef5f3889cb39a047bac1522a8e5d04f0a8557 SHA512 0eec204ebb92f1230b9dbd080ad2b56ea5fa8e6170eb4354556e5790c7a7da7ba4c8475aaf86fb8f10f102a461d91590184271220626315f55c0631e73e122e0 WHIRLPOOL 05ac5b31d73f9de0c101da832ef289f6a505baa68216eba6fa0cf80df1709feef7e42c7b8f4cf9af35f775e8514c6d4b944c2acebffff10bc558a83305a637ce
23 DIST xapian-bindings-1.2.24.tar.xz 886148 SHA256 0c2a0df0a4616e2bd8e578d372c9bb4684780573abebbd1ac515502177229965 SHA512 aaedac02ec9fb192ef8b45b07bef5584bc60aff7068c2e3fa0008430ed8296a653780cad04176431d81fe014802df333a3090469dce63204923eead15e6bbaef WHIRLPOOL 996b960727a79dbe669ae8139863c3896c6efdbe781177098d00960982b86a43739433c69db32e62b6660dd4751736d859f5d950d26d6b635c310c35d75a8a0f
24 -DIST xapian-bindings-1.4.1.tar.xz 1059412 SHA256 6ca9731eed0fdfd84c6f8d788389bc7e7a7dc62fa46e0383eb0bb502576c2331 SHA512 5a7e070d25a8ffe50e5bed473b4975366533ee646699c5c53fc0eb797a4d031c87fc8e5b0b93f77a9f122d17022cbc97862ae93c0d3510cd77588f2cd77dd179 WHIRLPOOL 153f5f5ae42dec8a4b12824a28d391f779dcccb5068b161c303c5374827fe585481c501abdcd56f501329a9e393d49f3a29c45d24111367dad6362ac2b5f28bb
25 -DIST xapian-bindings-1.4.2.tar.xz 1115368 SHA256 9ef59fbe38a120bd2a1774f1a277cf8132f0ca5ff2fc22bacf539ce74df35518 SHA512 28e1d060853f7992c4c0fc8ef63377bc86f41e972ea9ef45e31b083b85db5191993a8021be3581805ccc0df3fae8e8c0a50a1cf0a6fcf3959328a90155df9207 WHIRLPOOL a6e6d170f9431d521a23ddb18cd4c45ffa8dcb17a6cba17e5578c92c68f91942c18230102006a4a200bbd90e3a4fa26a81b9f0c08af14aa02d7396c3b0f8f5d3
26 DIST xapian-bindings-1.4.3.tar.xz 1114408 SHA256 65b5455bf81e4f39fda49a6ad99353b05889d11d7c4c2cae001a0a1e0dac0d87 SHA512 a01ffd8d7051040983d2270f0631a3c3d99f8e9a6fa7d2d70d5be10774ccc1356d2b93d0d9ca8764388c8616ca6dba361d0def9ae262d1836cddd95f9188eb44 WHIRLPOOL 966a12bcbb7bd2fd9fa7d0f797313ca6f6a1a061fc174d927026b1afa2cd93c15909887590bba4b463d56b2cbb745219ed1652ae22cd61e7f7dd48ff16a11ff2
27
28 diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.4.1.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.4.1.ebuild
29 deleted file mode 100644
30 index 42162b0..00000000
31 --- a/dev-libs/xapian-bindings/xapian-bindings-1.4.1.ebuild
32 +++ /dev/null
33 @@ -1,154 +0,0 @@
34 -# Copyright 1999-2016 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -# $Id$
37 -
38 -EAPI="5"
39 -
40 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
41 -PYTHON_REQ_USE="threads(+)"
42 -
43 -USE_PHP="php5-5 php5-6"
44 -
45 -PHP_EXT_NAME="xapian"
46 -PHP_EXT_INI="yes"
47 -PHP_EXT_OPTIONAL_USE="php"
48 -
49 -#mono violates sandbox, we disable it until we figure this out
50 -#inherit distutils-r1 libtool java-pkg-opt-2 mono-env php-ext-source-r2 toolchain-funcs
51 -inherit python-r1 libtool java-pkg-opt-2 php-ext-source-r2 toolchain-funcs
52 -
53 -DESCRIPTION="SWIG and JNI bindings for Xapian"
54 -HOMEPAGE="http://www.xapian.org/"
55 -SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz"
56 -
57 -LICENSE="GPL-2"
58 -SLOT="0"
59 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
60 -#IUSE="java lua mono perl php python ruby tcl"
61 -IUSE="java lua perl php python ruby tcl"
62 -#REQUIRED_USE="|| ( java lua mono perl php python ruby tcl )"
63 -REQUIRED_USE="|| ( java lua perl php python ruby tcl )"
64 -
65 -COMMONDEPEND="dev-libs/xapian:0/30
66 - lua? ( dev-lang/lua:= )
67 - perl? ( dev-lang/perl:= )
68 - python? (
69 - dev-python/sphinx[${PYTHON_USEDEP}]
70 - ${PYTHON_DEPS}
71 - )
72 - ruby? ( dev-lang/ruby:= )
73 - tcl? ( dev-lang/tcl:= )"
74 -# mono? ( dev-lang/mono )
75 -DEPEND="${COMMONDEPEND}
76 - virtual/pkgconfig
77 - java? ( >=virtual/jdk-1.6 )"
78 -RDEPEND="${COMMONDEPEND}
79 - java? ( >=virtual/jre-1.6 )"
80 -
81 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
82 -
83 -pkg_setup() {
84 -# use mono && mono-env_pkg_setup
85 - use java && java-pkg-opt-2_pkg_setup
86 -}
87 -
88 -src_prepare() {
89 - use java && java-pkg-opt-2_src_prepare
90 -
91 - # http://trac.xapian.org/ticket/702
92 - export XAPIAN_CONFIG="/usr/bin/xapian-config"
93 -
94 - # Accept ruby 2.0 - patch configure directly to avoid autoreconf
95 - epatch "${FILESDIR}"/${PN}-1.3.6-allow-ruby-2.0.patch
96 -
97 - if use python; then
98 - python_copy_sources
99 - fi
100 -}
101 -
102 -src_configure() {
103 - if use java; then
104 - export CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)"
105 - fi
106 -
107 - if use perl; then
108 - export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')"
109 - export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')"
110 - fi
111 -
112 - if use lua; then
113 - export LUA_LIB="$($(tc-getPKG_CONFIG) --variable=INSTALL_CMOD lua)"
114 - fi
115 -
116 - econf \
117 - --disable-documentation \
118 - $(use_with java) \
119 - $(use_with lua) \
120 - --without-csharp \
121 - $(use_with perl) \
122 - $(use_with php) \
123 - --without-python \
124 - --without-python3 \
125 - $(use_with ruby) \
126 - $(use_with tcl)
127 -# $(use_with mono csharp)
128 -
129 - python_configure() {
130 - local myconf=(
131 - --disable-documentation
132 - --without-java
133 - --without-lua
134 - --without-csharp
135 - --without-perl
136 - --without-php
137 - --without-ruby
138 - --without-tcl
139 - )
140 - if python_is_python3; then
141 - myconf+=( --with-python3 )
142 - else
143 - myconf+=( --with-python )
144 - fi
145 -
146 - # Avoid sandbox failures when compiling modules
147 - addpredict "$(python_get_sitedir)"
148 -
149 - econf "${myconf[@]}"
150 - }
151 -
152 - if use python; then
153 - python_foreach_impl run_in_build_dir python_configure
154 - fi
155 -}
156 -
157 -src_compile() {
158 - default
159 - if use python; then
160 - unset PYTHONDONTWRITEBYTECODE
161 - python_foreach_impl run_in_build_dir emake
162 - fi
163 -}
164 -
165 -src_install() {
166 - emake DESTDIR="${D}" install
167 -
168 - if use java; then
169 - java-pkg_dojar java/built/xapian_jni.jar
170 - # TODO: make the build system not install this...
171 - java-pkg_doso java/.libs/libxapian_jni.so
172 - rm -rf "${D}var" || die "could not remove java cruft!"
173 - fi
174 -
175 - use php && php-ext-source-r2_createinifiles
176 -
177 - if use python; then
178 - python_foreach_impl run_in_build_dir emake DESTDIR="${D}" install
179 - fi
180 -
181 - # For some USE combinations this directory is not created
182 - if [[ -d "${D}/usr/share/doc/xapian-bindings" ]]; then
183 - mv "${D}/usr/share/doc/xapian-bindings" "${D}/usr/share/doc/${PF}" || die
184 - fi
185 -
186 - dodoc AUTHORS HACKING NEWS TODO README
187 -}
188
189 diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.4.2.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.4.2.ebuild
190 deleted file mode 100644
191 index a9fb9c1..00000000
192 --- a/dev-libs/xapian-bindings/xapian-bindings-1.4.2.ebuild
193 +++ /dev/null
194 @@ -1,154 +0,0 @@
195 -# Copyright 1999-2016 Gentoo Foundation
196 -# Distributed under the terms of the GNU General Public License v2
197 -# $Id$
198 -
199 -EAPI="5"
200 -
201 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
202 -PYTHON_REQ_USE="threads(+)"
203 -
204 -USE_PHP="php5-6"
205 -
206 -PHP_EXT_NAME="xapian"
207 -PHP_EXT_INI="yes"
208 -PHP_EXT_OPTIONAL_USE="php"
209 -
210 -#mono violates sandbox, we disable it until we figure this out
211 -#inherit distutils-r1 libtool java-pkg-opt-2 mono-env php-ext-source-r2 toolchain-funcs
212 -inherit python-r1 libtool java-pkg-opt-2 php-ext-source-r2 toolchain-funcs
213 -
214 -DESCRIPTION="SWIG and JNI bindings for Xapian"
215 -HOMEPAGE="http://www.xapian.org/"
216 -SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz"
217 -
218 -LICENSE="GPL-2"
219 -SLOT="0"
220 -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
221 -#IUSE="java lua mono perl php python ruby tcl"
222 -IUSE="java lua perl php python ruby tcl"
223 -#REQUIRED_USE="|| ( java lua mono perl php python ruby tcl )"
224 -REQUIRED_USE="|| ( java lua perl php python ruby tcl )"
225 -
226 -COMMONDEPEND="dev-libs/xapian:0/30
227 - lua? ( dev-lang/lua:= )
228 - perl? ( dev-lang/perl:= )
229 - python? (
230 - dev-python/sphinx[${PYTHON_USEDEP}]
231 - ${PYTHON_DEPS}
232 - )
233 - ruby? ( dev-lang/ruby:= )
234 - tcl? ( dev-lang/tcl:= )"
235 -# mono? ( dev-lang/mono )
236 -DEPEND="${COMMONDEPEND}
237 - virtual/pkgconfig
238 - java? ( >=virtual/jdk-1.6 )"
239 -RDEPEND="${COMMONDEPEND}
240 - java? ( >=virtual/jre-1.6 )"
241 -
242 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
243 -
244 -pkg_setup() {
245 -# use mono && mono-env_pkg_setup
246 - use java && java-pkg-opt-2_pkg_setup
247 -}
248 -
249 -src_prepare() {
250 - use java && java-pkg-opt-2_src_prepare
251 -
252 - # http://trac.xapian.org/ticket/702
253 - export XAPIAN_CONFIG="/usr/bin/xapian-config"
254 -
255 - # Accept ruby 2.0 - patch configure directly to avoid autoreconf
256 - epatch "${FILESDIR}"/${PN}-1.3.6-allow-ruby-2.0.patch
257 -
258 - if use python; then
259 - python_copy_sources
260 - fi
261 -}
262 -
263 -src_configure() {
264 - if use java; then
265 - export CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)"
266 - fi
267 -
268 - if use perl; then
269 - export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')"
270 - export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')"
271 - fi
272 -
273 - if use lua; then
274 - export LUA_LIB="$($(tc-getPKG_CONFIG) --variable=INSTALL_CMOD lua)"
275 - fi
276 -
277 - econf \
278 - --disable-documentation \
279 - $(use_with java) \
280 - $(use_with lua) \
281 - --without-csharp \
282 - $(use_with perl) \
283 - $(use_with php) \
284 - --without-python \
285 - --without-python3 \
286 - $(use_with ruby) \
287 - $(use_with tcl)
288 -# $(use_with mono csharp)
289 -
290 - python_configure() {
291 - local myconf=(
292 - --disable-documentation
293 - --without-java
294 - --without-lua
295 - --without-csharp
296 - --without-perl
297 - --without-php
298 - --without-ruby
299 - --without-tcl
300 - )
301 - if python_is_python3; then
302 - myconf+=( --with-python3 )
303 - else
304 - myconf+=( --with-python )
305 - fi
306 -
307 - # Avoid sandbox failures when compiling modules
308 - addpredict "$(python_get_sitedir)"
309 -
310 - econf "${myconf[@]}"
311 - }
312 -
313 - if use python; then
314 - python_foreach_impl run_in_build_dir python_configure
315 - fi
316 -}
317 -
318 -src_compile() {
319 - default
320 - if use python; then
321 - unset PYTHONDONTWRITEBYTECODE
322 - python_foreach_impl run_in_build_dir emake
323 - fi
324 -}
325 -
326 -src_install() {
327 - emake DESTDIR="${D}" install
328 -
329 - if use java; then
330 - java-pkg_dojar java/built/xapian_jni.jar
331 - # TODO: make the build system not install this...
332 - java-pkg_doso java/.libs/libxapian_jni.so
333 - rm -rf "${D}var" || die "could not remove java cruft!"
334 - fi
335 -
336 - use php && php-ext-source-r2_createinifiles
337 -
338 - if use python; then
339 - python_foreach_impl run_in_build_dir emake DESTDIR="${D}" install
340 - fi
341 -
342 - # For some USE combinations this directory is not created
343 - if [[ -d "${D}/usr/share/doc/xapian-bindings" ]]; then
344 - mv "${D}/usr/share/doc/xapian-bindings" "${D}/usr/share/doc/${PF}" || die
345 - fi
346 -
347 - dodoc AUTHORS HACKING NEWS TODO README
348 -}