1 |
commit: 70e9f7c3246d4747a2b8abae6961ab88a24d4aef |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 23 18:11:00 2020 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 23 18:22:39 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70e9f7c3 |
7 |
|
8 |
dev-libs/xapian-bindings: remove older version |
9 |
|
10 |
Package-Manager: Portage-2.3.89, Repoman-2.3.20 |
11 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
12 |
|
13 |
dev-libs/xapian-bindings/Manifest | 1 - |
14 |
.../xapian-bindings/xapian-bindings-1.4.7.ebuild | 305 --------------------- |
15 |
2 files changed, 306 deletions(-) |
16 |
|
17 |
diff --git a/dev-libs/xapian-bindings/Manifest b/dev-libs/xapian-bindings/Manifest |
18 |
index 650a3ab0dc2..5c4f450d2ee 100644 |
19 |
--- a/dev-libs/xapian-bindings/Manifest |
20 |
+++ b/dev-libs/xapian-bindings/Manifest |
21 |
@@ -1,4 +1,3 @@ |
22 |
DIST xapian-bindings-1.2.25.tar.xz 1711860 BLAKE2B 66367dbc503333c4f59da8bb5bd4885fe9678aace45365573bac8e0e8e2c712795af2021ff52de9eeabb91f65a2f0447d1963424b1ae6558be95b737d1279e98 SHA512 5d27b2ae2722409ea99a1b9e6bf3f5c61ed9195b67121c090f1533340d3b11c546014985d0989a0725b60a07b392b9705bce054495f423bd3a7c99835aa336c7 |
23 |
DIST xapian-bindings-1.4.14.tar.xz 1132008 BLAKE2B 3057f8f98cfd11e82555df4b554ad1ffed793ea92bf0f077ef4a495d09250da47116d76ded0deb07621f3b14ddd7f653aa0bb19add01d88fe077e637bee21ec4 SHA512 6d35c6c011c6d841254934f4dd59f4a2b842fe826af108e526cde9acbccec67b43517974331b21cbee5e828d0743aa5b9b973a96e1940065fbcfc342b8f23ead |
24 |
DIST xapian-bindings-1.4.15.tar.xz 1132248 BLAKE2B ba9f60263881ca558f9d3deab09bd07271e6f54e06a13d09bcb59bfaf9a637e959b3a62a9e9db0724ae2262e605fc3fd2160559d53702b2af5012f47177ea66a SHA512 dec8a0431c9070fc70d79b67bddc2e0adb10ef5366c4b9d7a135365ea6c6680d2e7682dbfd60c29eca51da48eaa0715509e30b13d5482d5a38bfd0d0156c43f9 |
25 |
-DIST xapian-bindings-1.4.7.tar.xz 1121700 BLAKE2B f8492113b76aba322c975aa2b957a627a32e5209d8b79f435dc85c899cf14619af6165265e624e2ba8806f3c91dd35d71d98c4a47f5d6f4fba1b7fb83700c0d0 SHA512 c904cd3abf19d68495b0487ea77265fdc92a3cd8b1c2437b89034efd349ce41198bbc4abca49f259f71a1ba0fd269b2cf9b6dd4c1607678a73cbed4de9c5a1d5 |
26 |
|
27 |
diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.4.7.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.4.7.ebuild |
28 |
deleted file mode 100644 |
29 |
index 16555fec4a0..00000000000 |
30 |
--- a/dev-libs/xapian-bindings/xapian-bindings-1.4.7.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,305 +0,0 @@ |
33 |
-# Copyright 1999-2020 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI="6" |
37 |
- |
38 |
-PYTHON_COMPAT=( python{2_7,3_6} ) |
39 |
-PYTHON_REQ_USE="threads(+)" |
40 |
- |
41 |
-USE_PHP="php5-6 php7-1 php7-2" |
42 |
- |
43 |
-PHP_EXT_NAME="xapian" |
44 |
-PHP_EXT_INI="yes" |
45 |
-PHP_EXT_OPTIONAL_USE="php" |
46 |
- |
47 |
-USE_RUBY="ruby22 ruby23 ruby24" |
48 |
-RUBY_OPTIONAL="yes" |
49 |
- |
50 |
-inherit java-pkg-opt-2 mono-env multibuild php-ext-source-r3 python-r1 ruby-ng toolchain-funcs |
51 |
- |
52 |
-DESCRIPTION="SWIG and JNI bindings for Xapian" |
53 |
-HOMEPAGE="https://www.xapian.org/" |
54 |
-SRC_URI="https://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz" |
55 |
- |
56 |
-LICENSE="GPL-2" |
57 |
-SLOT="0" |
58 |
-KEYWORDS="~alpha amd64 arm ~ia64 ~mips ppc ppc64 ~sparc ~x86" |
59 |
-IUSE="java lua mono perl php python ruby tcl" |
60 |
-REQUIRED_USE="|| ( java lua mono perl php python ruby tcl ) |
61 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
62 |
- ruby? ( || ( $(ruby_get_use_targets) ) )" |
63 |
- |
64 |
-COMMONDEPEND=">=dev-libs/xapian-1.4.7:0/30 |
65 |
- lua? ( dev-lang/lua:= ) |
66 |
- perl? ( dev-lang/perl:= ) |
67 |
- python? ( |
68 |
- dev-python/sphinx[${PYTHON_USEDEP}] |
69 |
- ${PYTHON_DEPS} |
70 |
- ) |
71 |
- ruby? ( $(ruby_implementations_depend) ) |
72 |
- tcl? ( dev-lang/tcl:= ) |
73 |
- mono? ( dev-lang/mono )" |
74 |
-DEPEND="${COMMONDEPEND} |
75 |
- virtual/pkgconfig |
76 |
- java? ( >=virtual/jdk-1.6 )" |
77 |
-RDEPEND="${COMMONDEPEND} |
78 |
- java? ( >=virtual/jre-1.6 )" |
79 |
- |
80 |
-S="${WORKDIR}/${P}" |
81 |
- |
82 |
-has_basic_bindings() { |
83 |
- # Update this list if new bindings are added that are not built |
84 |
- # multiple times for multiple versions like php, python and ruby are |
85 |
- return $(use mono || use java || use lua || use perl || use tcl) |
86 |
-} |
87 |
- |
88 |
-php_copy_sources() { |
89 |
- local MULTIBUILD_VARIANTS=($(php_get_slots)) |
90 |
- multibuild_copy_sources |
91 |
-} |
92 |
- |
93 |
-php_foreach_impl() { |
94 |
- local MULTIBUILD_VARIANTS=($(php_get_slots)) |
95 |
- multibuild_foreach_variant "$@" |
96 |
-} |
97 |
- |
98 |
-ruby_copy_sources() { |
99 |
- local MULTIBUILD_VARIANTS=($(ruby_get_use_implementations)) |
100 |
- multibuild_copy_sources |
101 |
-} |
102 |
- |
103 |
-ruby_foreach_impl() { |
104 |
- local MULTIBUILD_VARIANTS=($(ruby_get_use_implementations)) |
105 |
- multibuild_foreach_variant "$@" |
106 |
-} |
107 |
- |
108 |
-pkg_setup() { |
109 |
- use mono && mono-env_pkg_setup |
110 |
- use java && java-pkg-opt-2_pkg_setup |
111 |
-} |
112 |
- |
113 |
-src_unpack() { |
114 |
- default |
115 |
- |
116 |
- if use php; then |
117 |
- local php_slot |
118 |
- for php_slot in $(php_get_slots); do |
119 |
- # Unfortunately required for php-ext-source-r3_createinifiles(). |
120 |
- mkdir "${WORKDIR}/${php_slot}" |
121 |
- done |
122 |
- fi |
123 |
-} |
124 |
- |
125 |
-src_prepare() { |
126 |
- use java && java-pkg-opt-2_src_prepare |
127 |
- |
128 |
- # https://trac.xapian.org/ticket/702 |
129 |
- export XAPIAN_CONFIG="/usr/bin/xapian-config" |
130 |
- |
131 |
- if use php; then |
132 |
- php_copy_sources |
133 |
- fi |
134 |
- |
135 |
- if use python; then |
136 |
- python_copy_sources |
137 |
- fi |
138 |
- |
139 |
- if use ruby; then |
140 |
- ruby_copy_sources |
141 |
- fi |
142 |
- |
143 |
- eapply_user |
144 |
-} |
145 |
- |
146 |
-src_configure() { |
147 |
- if has_basic_bindings ; then |
148 |
- local conf=( |
149 |
- --disable-documentation |
150 |
- $(use_with mono csharp) |
151 |
- $(use_with java) |
152 |
- $(use_with lua) |
153 |
- $(use_with perl) |
154 |
- $(use_with tcl) |
155 |
- --without-php |
156 |
- --without-php7 |
157 |
- --without-python |
158 |
- --without-python3 |
159 |
- --without-ruby |
160 |
- ) |
161 |
- |
162 |
- if use java; then |
163 |
- local -x CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)" |
164 |
- fi |
165 |
- |
166 |
- if use perl; then |
167 |
- local -x PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')" |
168 |
- local -x PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')" |
169 |
- fi |
170 |
- |
171 |
- if use lua; then |
172 |
- local -x LUA_INC="$("$(tc-getPKG_CONFIG)" --variable=INSTALL_INC lua)" |
173 |
- local -x LUA_LIB="$("$(tc-getPKG_CONFIG)" --variable=INSTALL_CMOD lua)" |
174 |
- fi |
175 |
- |
176 |
- econf "${conf[@]}" |
177 |
- fi |
178 |
- |
179 |
- php_configure() { |
180 |
- local myconf=( |
181 |
- --disable-documentation |
182 |
- --without-java |
183 |
- --without-lua |
184 |
- --without-csharp |
185 |
- --without-perl |
186 |
- --without-python |
187 |
- --without-python3 |
188 |
- --without-ruby |
189 |
- --without-tcl |
190 |
- ) |
191 |
- if [[ ${MULTIBUILD_VARIANT} == php5.* ]]; then |
192 |
- myconf+=( |
193 |
- --with-php |
194 |
- --without-php7 |
195 |
- ) |
196 |
- local -x PHP_CONFIG="${EPREFIX}/usr/$(get_libdir)/${MULTIBUILD_VARIANT/-/.}/bin/php-config" |
197 |
- elif [[ ${MULTIBUILD_VARIANT} == php7.* ]]; then |
198 |
- myconf+=( |
199 |
- --without-php |
200 |
- --with-php7 |
201 |
- ) |
202 |
- local -x PHP_CONFIG7="${EPREFIX}/usr/$(get_libdir)/${MULTIBUILD_VARIANT/-/.}/bin/php-config" |
203 |
- fi |
204 |
- |
205 |
- econf "${myconf[@]}" |
206 |
- } |
207 |
- |
208 |
- if use php; then |
209 |
- addpredict /usr/share/snmp/mibs/.index |
210 |
- addpredict /var/lib/net-snmp/mib_indexes |
211 |
- |
212 |
- php_foreach_impl run_in_build_dir php_configure |
213 |
- fi |
214 |
- |
215 |
- python_configure() { |
216 |
- local myconf=( |
217 |
- --disable-documentation |
218 |
- --without-java |
219 |
- --without-lua |
220 |
- --without-csharp |
221 |
- --without-perl |
222 |
- --without-php |
223 |
- --without-php7 |
224 |
- --without-ruby |
225 |
- --without-tcl |
226 |
- ) |
227 |
- if python_is_python3; then |
228 |
- myconf+=( --with-python3 ) |
229 |
- else |
230 |
- myconf+=( --with-python ) |
231 |
- fi |
232 |
- |
233 |
- # Avoid sandbox failures when compiling modules |
234 |
- addpredict "$(python_get_sitedir)" |
235 |
- |
236 |
- econf "${myconf[@]}" |
237 |
- } |
238 |
- |
239 |
- if use python; then |
240 |
- python_foreach_impl run_in_build_dir python_configure |
241 |
- fi |
242 |
- |
243 |
- ruby_configure() { |
244 |
- local myconf=( |
245 |
- --disable-documentation |
246 |
- --without-java |
247 |
- --without-lua |
248 |
- --without-csharp |
249 |
- --without-perl |
250 |
- --without-php |
251 |
- --without-php7 |
252 |
- --without-python |
253 |
- --without-python3 |
254 |
- --with-ruby |
255 |
- --without-tcl |
256 |
- ) |
257 |
- local -x RUBY="${EPREFIX}/usr/bin/${MULTIBUILD_VARIANT}" |
258 |
- |
259 |
- econf "${myconf[@]}" |
260 |
- } |
261 |
- |
262 |
- if use ruby; then |
263 |
- ruby_foreach_impl run_in_build_dir ruby_configure |
264 |
- fi |
265 |
-} |
266 |
- |
267 |
-src_compile() { |
268 |
- if has_basic_bindings ; then |
269 |
- default |
270 |
- fi |
271 |
- |
272 |
- if use php; then |
273 |
- php_foreach_impl run_in_build_dir emake |
274 |
- fi |
275 |
- |
276 |
- if use python; then |
277 |
- unset PYTHONDONTWRITEBYTECODE |
278 |
- python_foreach_impl run_in_build_dir emake |
279 |
- fi |
280 |
- |
281 |
- if use ruby; then |
282 |
- ruby_foreach_impl run_in_build_dir emake |
283 |
- fi |
284 |
-} |
285 |
- |
286 |
-src_test() { |
287 |
- if has_basic_bindings ; then |
288 |
- default |
289 |
- fi |
290 |
- |
291 |
- if use php; then |
292 |
- php_foreach_impl run_in_build_dir emake check |
293 |
- fi |
294 |
- |
295 |
- if use python; then |
296 |
- python_foreach_impl run_in_build_dir emake check |
297 |
- fi |
298 |
- |
299 |
- if use ruby; then |
300 |
- ruby_foreach_impl run_in_build_dir emake check |
301 |
- fi |
302 |
-} |
303 |
- |
304 |
-src_install() { |
305 |
- if has_basic_bindings ; then |
306 |
- emake DESTDIR="${D}" install |
307 |
- fi |
308 |
- |
309 |
- if use java; then |
310 |
- java-pkg_dojar java/built/xapian.jar |
311 |
- # TODO: make the build system not install this... |
312 |
- java-pkg_doso java/.libs/libxapian_jni.so |
313 |
- rm -rf "${D}var" || die "could not remove java cruft!" |
314 |
- fi |
315 |
- |
316 |
- if use php; then |
317 |
- php_foreach_impl run_in_build_dir emake DESTDIR="${D}" install |
318 |
- php-ext-source-r3_createinifiles |
319 |
- # php-ext-source-r3_createinifiles() changes current directory. |
320 |
- cd "${S}" |
321 |
- fi |
322 |
- |
323 |
- if use python; then |
324 |
- python_foreach_impl run_in_build_dir emake DESTDIR="${D}" install |
325 |
- fi |
326 |
- |
327 |
- if use ruby; then |
328 |
- ruby_foreach_impl run_in_build_dir emake DESTDIR="${D}" install |
329 |
- fi |
330 |
- |
331 |
- # For some USE combinations this directory is not created |
332 |
- if [[ -d "${D}/usr/share/doc/xapian-bindings" ]]; then |
333 |
- mv "${D}/usr/share/doc/xapian-bindings" "${D}/usr/share/doc/${PF}" || die |
334 |
- fi |
335 |
- |
336 |
- dodoc AUTHORS HACKING NEWS TODO README |
337 |
-} |