1 |
commit: 96cc779c394e4d06de1ad6993610a00fd11700d6 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 4 15:05:39 2016 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 4 16:30:02 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96cc779c |
7 |
|
8 |
dev-libs/xapian-bindings: remove older version |
9 |
|
10 |
Package-Manager: portage-2.2.28 |
11 |
|
12 |
dev-libs/xapian-bindings/Manifest | 1 - |
13 |
.../xapian-bindings/xapian-bindings-1.2.19.ebuild | 202 --------------------- |
14 |
2 files changed, 203 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/xapian-bindings/Manifest b/dev-libs/xapian-bindings/Manifest |
17 |
index ea3959e..32941a0 100644 |
18 |
--- a/dev-libs/xapian-bindings/Manifest |
19 |
+++ b/dev-libs/xapian-bindings/Manifest |
20 |
@@ -1,4 +1,3 @@ |
21 |
-DIST xapian-bindings-1.2.19.tar.xz 828904 SHA256 3b9434c6144cc347783175c92829f304e86919bbbd44f51b7b4a7148960cde17 SHA512 ac72ec35ae3b767e04e848a9782b41d74e99b6b1f795d5096373911ff549b3bf2e602a91ed0e5f7dce2e43e1dd308af710719e5a80c6a179393aac4af316de30 WHIRLPOOL 33770203390fea6f6048ebdc63cb7031f53a30be3568e3f3f6f8a25f8aa30a284347b402e360c0c2182069e3f6dab067fc5f6cd2b950f45e196afe057e4d80e3 |
22 |
DIST xapian-bindings-1.2.22.tar.xz 844040 SHA256 b15ca7984980a1d2aedd3378648ef5f3889cb39a047bac1522a8e5d04f0a8557 SHA512 0eec204ebb92f1230b9dbd080ad2b56ea5fa8e6170eb4354556e5790c7a7da7ba4c8475aaf86fb8f10f102a461d91590184271220626315f55c0631e73e122e0 WHIRLPOOL 05ac5b31d73f9de0c101da832ef289f6a505baa68216eba6fa0cf80df1709feef7e42c7b8f4cf9af35f775e8514c6d4b944c2acebffff10bc558a83305a637ce |
23 |
DIST xapian-bindings-1.2.23.tar.xz 885888 SHA256 19b4b56c74863c51733d8c2567272ef7f004b898cf44016711ae25bc524b2215 SHA512 4be9d103a4073a08d2481e9ddc347156d4028a1517f313861ad3664e6103e052dc1a0d07a992da3ca02599505c002d09d77c4fd886c144918aab72977e69994c WHIRLPOOL 1323e51dcd8f18f573f9338d9a013bfd370870c1fd2c0b0e3ff9d1f6b3b9154a0512d7442d7c7b1b00a70757faa218e8894a0f4fe56da88bca12ba2259cd35de |
24 |
DIST xapian-bindings-1.3.7.tar.xz 1021176 SHA256 f014bb0281fdaa08fd9293ee187af0c2165f4fd2de91a67b76d9327b64677717 SHA512 3dc7eac68c4f3010e5cb831b4baad7bea4d47e0a8dc492ac16f2437057da351caad008aa7bcf3f2bbdaffda7d2524e8b5a945b651dc02deadeb110073ef06ad8 WHIRLPOOL f68a81a37b9c298ad6b061f597806b0823ba01ee02c0921e90988c984ac2f60ec0cb09dba8bdecb43c412517eebd72490196923db474e5362d17c47af4b4fdd2 |
25 |
|
26 |
diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.2.19.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.2.19.ebuild |
27 |
deleted file mode 100644 |
28 |
index 0ea3496..00000000 |
29 |
--- a/dev-libs/xapian-bindings/xapian-bindings-1.2.19.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,202 +0,0 @@ |
32 |
-# Copyright 1999-2015 Gentoo Foundation |
33 |
-# Distributed under the terms of the GNU General Public License v2 |
34 |
-# $Id$ |
35 |
- |
36 |
-EAPI="5" |
37 |
- |
38 |
-PYTHON_COMPAT=( python2_7 ) |
39 |
-PYTHON_REQ_USE="threads" |
40 |
- |
41 |
-USE_PHP="php5-4 php5-5 php5-6" |
42 |
- |
43 |
-PHP_EXT_NAME="xapian" |
44 |
-PHP_EXT_INI="yes" |
45 |
-PHP_EXT_OPTIONAL_USE="php" |
46 |
- |
47 |
-#mono violates sandbox, we disable it until we figure this out |
48 |
-#inherit java-pkg-opt-2 mono-env php-ext-source-r2 python |
49 |
-inherit java-pkg-opt-2 php-ext-source-r2 python-r1 |
50 |
- |
51 |
-DESCRIPTION="SWIG and JNI bindings for Xapian" |
52 |
-HOMEPAGE="http://www.xapian.org/" |
53 |
-SRC_URI="http://oligarchy.co.uk/xapian/${PV}/${P}.tar.xz" |
54 |
- |
55 |
-LICENSE="GPL-2" |
56 |
-SLOT="0" |
57 |
-KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sparc x86" |
58 |
-#IUSE="java lua mono perl php python ruby tcl" |
59 |
-#REQUIRED_USE="|| ( java lua mono perl php python ruby tcl )" |
60 |
-IUSE="java lua perl php python ruby tcl" |
61 |
-REQUIRED_USE="|| ( java lua perl php python ruby tcl )" |
62 |
- |
63 |
-COMMONDEPEND="=dev-libs/xapian-${PV}* |
64 |
- lua? ( >=dev-lang/lua-5.1 ) |
65 |
- perl? ( dev-lang/perl:= ) |
66 |
- ruby? ( dev-lang/ruby ) |
67 |
- tcl? ( >=dev-lang/tcl-8.1:0= )" |
68 |
-# mono? ( >=dev-lang/mono-1.0.8 ) |
69 |
-DEPEND="${COMMONDEPEND} |
70 |
- java? ( >=virtual/jdk-1.3 )" |
71 |
-RDEPEND="${COMMONDEPEND} |
72 |
- java? ( >=virtual/jre-1.3 )" |
73 |
- |
74 |
-pkg_setup() { |
75 |
- java-pkg-opt-2_pkg_setup |
76 |
-} |
77 |
- |
78 |
-src_unpack() { |
79 |
- default |
80 |
-} |
81 |
- |
82 |
-src_prepare() { |
83 |
- java-pkg-opt-2_src_prepare |
84 |
- if use java; then |
85 |
- sed \ |
86 |
- -e 's/$(JAVAC)/$(JAVAC) $(JAVACFLAGS)/' \ |
87 |
- -i java{/,/org/xapian/errors/,/org/xapian/}Makefile.in || die "sed failed" |
88 |
- fi |
89 |
- |
90 |
- if use python; then |
91 |
- sed \ |
92 |
- -e 's:\(^pkgpylib_DATA = xapian/__init__.py\).*:\1:' \ |
93 |
- -e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian.so|' \ |
94 |
- -i python/Makefile.in || die "sed failed" |
95 |
- fi |
96 |
-} |
97 |
- |
98 |
-src_configure() { |
99 |
- if use java; then |
100 |
- CXXFLAGS="${CXXFLAGS} $(java-pkg_get-jni-cflags)" |
101 |
- fi |
102 |
- |
103 |
- if use perl; then |
104 |
- export PERL_ARCH="$(perl -MConfig -e 'print $Config{installvendorarch}')" |
105 |
- export PERL_LIB="$(perl -MConfig -e 'print $Config{installvendorlib}')" |
106 |
- fi |
107 |
- |
108 |
- if use lua; then |
109 |
- export LUA_LIB="$(pkg-config --variable=INSTALL_CMOD lua)" |
110 |
- fi |
111 |
- |
112 |
- econf \ |
113 |
- $(use_with java) \ |
114 |
- $(use_with lua) \ |
115 |
- $(use_with perl) \ |
116 |
- $(use_with php) \ |
117 |
- $(use_with python) \ |
118 |
- $(use_with ruby) \ |
119 |
- $(use_with tcl) |
120 |
-# $(use_with mono csharp) \ |
121 |
- |
122 |
- # PHP and Python bindings are built/tested/installed manually. |
123 |
- sed -e "/SUBDIRS =/s/ php//" -i Makefile || die "sed Makefile" |
124 |
- sed -e "/SUBDIRS =/s/ python//" -i Makefile || die "sed Makefile" |
125 |
-} |
126 |
- |
127 |
-src_compile() { |
128 |
- default |
129 |
- |
130 |
- if use php; then |
131 |
- local php_slot |
132 |
- for php_slot in $(php_get_slots); do |
133 |
- cp -r php php-${php_slot} |
134 |
- emake -C php-${php_slot} \ |
135 |
- PHP="${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php" \ |
136 |
- PHP_CONFIG="${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" \ |
137 |
- PHP_EXTENSION_DIR="$("${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" --extension-dir)" \ |
138 |
- PHP_INC="$("${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" --includes)" |
139 |
- done |
140 |
- fi |
141 |
- |
142 |
- if use python; then |
143 |
- python_copy_sources |
144 |
-# building() { |
145 |
-# emake -C python \ |
146 |
-# PYTHON="$(PYTHON)" \ |
147 |
-# PYTHON_INC="$(python_get_includedir)" \ |
148 |
-# PYTHON_LIB="$(python_get_libdir)" \ |
149 |
-# PYTHON_SO="$("$(PYTHON)" -c 'import distutils.sysconfig; print(distutils.sysconfig.get_config_vars("SO")[0])')" \ |
150 |
-# pkgpylibdir="$(python_get_sitedir)/xapian" |
151 |
-# } |
152 |
- building() { |
153 |
- emake -C python \ |
154 |
- PYTHON_INC="$(python_get_includedir)" \ |
155 |
- pkgpylibdir="$(python_get_sitedir)/xapian" |
156 |
- VERBOSE="1" |
157 |
- } |
158 |
- python_foreach_impl building |
159 |
- fi |
160 |
-} |
161 |
- |
162 |
-src_test() { |
163 |
- default |
164 |
- |
165 |
- if use php; then |
166 |
- local php_slot |
167 |
- for php_slot in $(php_get_slots); do |
168 |
- emake -C php-${php_slot} \ |
169 |
- PHP="${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php" \ |
170 |
- PHP_CONFIG="${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" \ |
171 |
- PHP_EXTENSION_DIR="$("${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" --extension-dir)" \ |
172 |
- PHP_INC="$("${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" --includes)" \ |
173 |
- check |
174 |
- done |
175 |
- fi |
176 |
- |
177 |
- if use python; then |
178 |
- testing() { |
179 |
- emake -C python \ |
180 |
- PYTHON_INC="$(python_get_includedir)" \ |
181 |
- pkgpylibdir="$(python_get_sitedir)/xapian" \ |
182 |
- VERBOSE="1" \ |
183 |
- check |
184 |
- } |
185 |
- python_foreach_impl testing |
186 |
- fi |
187 |
-} |
188 |
- |
189 |
-src_install () { |
190 |
- emake DESTDIR="${D}" install |
191 |
- |
192 |
- if use java; then |
193 |
- java-pkg_dojar java/built/xapian_jni.jar |
194 |
- # TODO: make the build system not install this... |
195 |
- java-pkg_doso "${D}/${S}/java/built/libxapian_jni.so" |
196 |
- rm "${D}/${S}/java/built/libxapian_jni.so" |
197 |
- rmdir -p "${D}/${S}/java/built" |
198 |
- rmdir -p "${D}/${S}/java/native" |
199 |
- fi |
200 |
- |
201 |
- if use php; then |
202 |
- local php_slot |
203 |
- for php_slot in $(php_get_slots); do |
204 |
- emake DESTDIR="${D}" -C php-${php_slot} \ |
205 |
- PHP="${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php" \ |
206 |
- PHP_CONFIG="${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" \ |
207 |
- PHP_EXTENSION_DIR="$("${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" --extension-dir)" \ |
208 |
- PHP_INC="$("${EPREFIX}/usr/$(get_libdir)/${php_slot}/bin/php-config" --includes)" \ |
209 |
- install |
210 |
- done |
211 |
- |
212 |
- php-ext-source-r2_createinifiles |
213 |
- fi |
214 |
- |
215 |
- if use python; then |
216 |
- installation() { |
217 |
- emake -C python \ |
218 |
- DESTDIR="${D}" \ |
219 |
- PYTHON_INC="$(python_get_includedir)" \ |
220 |
- pkgpylibdir="$(python_get_sitedir)/xapian" \ |
221 |
- VERBOSE="1" \ |
222 |
- install |
223 |
- } |
224 |
- python_foreach_impl installation |
225 |
- fi |
226 |
- |
227 |
- # For some USE combinations this directory is not created |
228 |
- if [[ -d "${D}/usr/share/doc/xapian-bindings" ]]; then |
229 |
- mv "${D}/usr/share/doc/xapian-bindings" "${D}/usr/share/doc/${PF}" |
230 |
- fi |
231 |
- |
232 |
- dodoc AUTHORS HACKING NEWS TODO README |
233 |
-} |