1 |
commit: 12c3cf9ba7535b27e9a7d79f4600312c72db6bb3 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 25 07:07:04 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 25 07:11:24 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12c3cf9b |
7 |
|
8 |
dev-libs/libxslt: Drop old |
9 |
|
10 |
Package-Manager: portage-2.2.21 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
.../files/libxslt-1.1.27-python-config.patch | 26 ----- |
14 |
.../files/libxslt-1.1.28-libgcrypt-config.patch | 30 ------ |
15 |
.../files/libxslt-1.1.28-manual-python.patch | 36 ------- |
16 |
dev-libs/libxslt/libxslt-1.1.28-r1.ebuild | 98 ------------------ |
17 |
dev-libs/libxslt/libxslt-1.1.28-r2.ebuild | 104 ------------------- |
18 |
dev-libs/libxslt/libxslt-1.1.28-r3.ebuild | 111 --------------------- |
19 |
6 files changed, 405 deletions(-) |
20 |
|
21 |
diff --git a/dev-libs/libxslt/files/libxslt-1.1.27-python-config.patch b/dev-libs/libxslt/files/libxslt-1.1.27-python-config.patch |
22 |
deleted file mode 100644 |
23 |
index 352a753..0000000 |
24 |
--- a/dev-libs/libxslt/files/libxslt-1.1.27-python-config.patch |
25 |
+++ /dev/null |
26 |
@@ -1,26 +0,0 @@ |
27 |
-From 4514fed897ab0911097e54715e7936048bf43dd9 Mon Sep 17 00:00:00 2001 |
28 |
-From: Alexandre Rostovtsev <tetromino@g.o> |
29 |
-Date: Sat, 22 Sep 2012 16:37:36 -0400 |
30 |
-Subject: [PATCH] Gentoo uses /usr/bin/python-config with automatic version |
31 |
- detection |
32 |
- |
33 |
---- |
34 |
- configure.in | 2 +- |
35 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
36 |
- |
37 |
-diff --git a/configure.in b/configure.in |
38 |
-index 0d7ba86..3c8a5ad 100644 |
39 |
---- a/configure.in |
40 |
-+++ b/configure.in |
41 |
-@@ -353,7 +353,7 @@ except: print 0"` |
42 |
- PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"` |
43 |
- fi |
44 |
- fi |
45 |
-- PYTHON_LIBS=`python$PYTHON_VERSION-config --libs` |
46 |
-+ PYTHON_LIBS=`python-config --libs` |
47 |
- fi |
48 |
- if test "$with_python" != "" |
49 |
- then |
50 |
--- |
51 |
-1.7.12 |
52 |
- |
53 |
|
54 |
diff --git a/dev-libs/libxslt/files/libxslt-1.1.28-libgcrypt-config.patch b/dev-libs/libxslt/files/libxslt-1.1.28-libgcrypt-config.patch |
55 |
deleted file mode 100644 |
56 |
index 74ee935..0000000 |
57 |
--- a/dev-libs/libxslt/files/libxslt-1.1.28-libgcrypt-config.patch |
58 |
+++ /dev/null |
59 |
@@ -1,30 +0,0 @@ |
60 |
-From 4eeed7de3fa90e27658c48cb06f034da43b4f057 Mon Sep 17 00:00:00 2001 |
61 |
-From: Alexandre Rostovtsev <tetromino@g.o> |
62 |
-Date: Tue, 4 Mar 2014 00:10:37 -0500 |
63 |
-Subject: [PATCH] configure: use AC_PATH_TOOL to find libgcrypt-config |
64 |
- |
65 |
-Since libgcrypt-config is used to find host system libraries, we should |
66 |
-be using AC_PATH_TOOL, not AC_PATH_PROG, for proper cross-compiling and |
67 |
-multilib support. |
68 |
- |
69 |
-https://bugzilla.gnome.org/show_bug.cgi?id=725635 |
70 |
---- |
71 |
- configure.in | 2 +- |
72 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
73 |
- |
74 |
-diff --git a/configure.in b/configure.in |
75 |
-index a861e90..8328625 100644 |
76 |
---- a/configure.in |
77 |
-+++ b/configure.in |
78 |
-@@ -393,7 +393,7 @@ case $host in |
79 |
- CRYPTO_TESTDIR=crypto |
80 |
- ;; |
81 |
- *) |
82 |
-- AC_PATH_PROG(LIBGCRYPT_CONFIG, libgcrypt-config, no) |
83 |
-+ AC_PATH_TOOL(LIBGCRYPT_CONFIG, libgcrypt-config, no) |
84 |
- if test "$LIBGCRYPT_CONFIG" != "no" ; then |
85 |
- LIBGCRYPT_VERSION=`$LIBGCRYPT_CONFIG --version` |
86 |
- if test VERSION_TO_NUMBER(echo $LIBGCRYPT_VERSION) -lt VERSION_TO_NUMBER(echo "1.1.42") |
87 |
--- |
88 |
-1.9.0 |
89 |
- |
90 |
|
91 |
diff --git a/dev-libs/libxslt/files/libxslt-1.1.28-manual-python.patch b/dev-libs/libxslt/files/libxslt-1.1.28-manual-python.patch |
92 |
deleted file mode 100644 |
93 |
index 019f325..0000000 |
94 |
--- a/dev-libs/libxslt/files/libxslt-1.1.28-manual-python.patch |
95 |
+++ /dev/null |
96 |
@@ -1,36 +0,0 @@ |
97 |
-From 1671e1004e18fa9bbce410050d1365374ececb6a Mon Sep 17 00:00:00 2001 |
98 |
-From: Alexandre Rostovtsev <tetromino@g.o> |
99 |
-Date: Tue, 18 Dec 2012 02:22:47 -0500 |
100 |
-Subject: [PATCH] build/test/install python bindings manually |
101 |
- |
102 |
-To support building for multiple python ABIs, we want to skip checks for |
103 |
-python in configure, and build/test/install python bindings manually. |
104 |
---- |
105 |
- configure.in | 4 ++-- |
106 |
- 1 file changed, 2 insertions(+), 2 deletions(-) |
107 |
- |
108 |
-diff --git a/configure.in b/configure.in |
109 |
-index fc8d5a8..6312c37 100644 |
110 |
---- a/configure.in |
111 |
-+++ b/configure.in |
112 |
-@@ -296,7 +296,7 @@ PYTHON_INCLUDES= |
113 |
- PYTHON_SITE_PACKAGES= |
114 |
- pythondir= |
115 |
- AC_ARG_WITH(python, [ --with-python[=DIR] Build Python bindings if found]) |
116 |
--if test "$with_python" != "no" ; then |
117 |
-+if false ; then |
118 |
- if test -x "$with_python/bin/python" |
119 |
- then |
120 |
- echo Found python in $with_python/bin/python |
121 |
-@@ -365,7 +365,7 @@ except: print 0"` |
122 |
- pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages' |
123 |
- fi |
124 |
- fi |
125 |
--AM_CONDITIONAL(WITH_PYTHON, test "$PYTHON_INCLUDES" != "") |
126 |
-+AM_CONDITIONAL(WITH_PYTHON, test "$with_python" != "no") |
127 |
- if test "$PYTHON_INCLUDES" != "" |
128 |
- then |
129 |
- PYTHON_SUBDIR=python |
130 |
--- |
131 |
-1.8.0.2 |
132 |
- |
133 |
|
134 |
diff --git a/dev-libs/libxslt/libxslt-1.1.28-r1.ebuild b/dev-libs/libxslt/libxslt-1.1.28-r1.ebuild |
135 |
deleted file mode 100644 |
136 |
index 96c5d02..0000000 |
137 |
--- a/dev-libs/libxslt/libxslt-1.1.28-r1.ebuild |
138 |
+++ /dev/null |
139 |
@@ -1,98 +0,0 @@ |
140 |
-# Copyright 1999-2015 Gentoo Foundation |
141 |
-# Distributed under the terms of the GNU General Public License v2 |
142 |
-# $Id$ |
143 |
- |
144 |
-EAPI=5 |
145 |
- |
146 |
-PYTHON_COMPAT=( python2_7 ) |
147 |
-PYTHON_REQ_USE="xml" |
148 |
- |
149 |
-inherit autotools eutils python-r1 toolchain-funcs |
150 |
- |
151 |
-DESCRIPTION="XSLT libraries and tools" |
152 |
-HOMEPAGE="http://www.xmlsoft.org/" |
153 |
-SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz" |
154 |
- |
155 |
-LICENSE="MIT" |
156 |
-SLOT="0" |
157 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux" |
158 |
-IUSE="crypt debug python static-libs" |
159 |
- |
160 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
161 |
- |
162 |
-RDEPEND=">=dev-libs/libxml2-2.8.0:2 |
163 |
- crypt? ( >=dev-libs/libgcrypt-1.1.42:0= ) |
164 |
- python? ( |
165 |
- ${PYTHON_DEPS} |
166 |
- dev-libs/libxml2:2[python,${PYTHON_USEDEP}] )" |
167 |
-DEPEND="${RDEPEND}" |
168 |
- |
169 |
-src_prepare() { |
170 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=684621 |
171 |
- epatch "${FILESDIR}"/${PN}.m4-${PN}-1.1.26.patch |
172 |
- |
173 |
- epatch "${FILESDIR}"/${PN}-1.1.26-disable_static_modules.patch |
174 |
- |
175 |
- # Python bindings are built/tested/installed manually. |
176 |
- epatch "${FILESDIR}"/${PN}-1.1.28-manual-python.patch |
177 |
- |
178 |
- eautoreconf |
179 |
- # If eautoreconf'd with new autoconf, then epunt_cxx is not necessary |
180 |
- # and it is propably otherwise too if upstream generated with new |
181 |
- # autoconf |
182 |
-# epunt_cxx |
183 |
-} |
184 |
- |
185 |
-src_configure() { |
186 |
- # libgcrypt is missing pkg-config file, so fixing cross-compile |
187 |
- # here. see bug 267503. |
188 |
- tc-is-cross-compiler && \ |
189 |
- export LIBGCRYPT_CONFIG="${SYSROOT}"/usr/bin/libgcrypt-config |
190 |
- |
191 |
- econf \ |
192 |
- $(use_enable static-libs static) \ |
193 |
- --with-html-dir="${EPREFIX}"/usr/share/doc/${PF} \ |
194 |
- --with-html-subdir=html \ |
195 |
- $(use_with crypt crypto) \ |
196 |
- $(use_with python) \ |
197 |
- $(use_with debug) \ |
198 |
- $(use_with debug mem-debug) |
199 |
-} |
200 |
- |
201 |
-src_compile() { |
202 |
- default |
203 |
- if use python; then |
204 |
- python_copy_sources |
205 |
- python_foreach_impl libxslt_py_emake |
206 |
- fi |
207 |
-} |
208 |
- |
209 |
-src_test() { |
210 |
- default |
211 |
- use python && python_foreach_impl libxslt_py_emake test |
212 |
-} |
213 |
- |
214 |
-src_install() { |
215 |
- default |
216 |
- dodoc FEATURES |
217 |
- |
218 |
- if use python; then |
219 |
- python_foreach_impl libxslt_py_emake DESTDIR="${D}" install |
220 |
- python_foreach_impl python_optimize |
221 |
- mv "${ED}"/usr/share/doc/${PN}-python-${PV} "${ED}"/usr/share/doc/${PF}/python |
222 |
- fi |
223 |
- |
224 |
- prune_libtool_files --modules |
225 |
-} |
226 |
- |
227 |
-libxslt_py_emake() { |
228 |
- pushd "${BUILD_DIR}/python" > /dev/null || die |
229 |
- emake \ |
230 |
- PYTHON="${PYTHON}" \ |
231 |
- PYTHON_INCLUDES="${EPREFIX}/usr/include/${EPYTHON}" \ |
232 |
- PYTHON_LIBS="$(python-config --ldflags)" \ |
233 |
- PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \ |
234 |
- pythondir="${EPREFIX}$(python_get_sitedir)" \ |
235 |
- PYTHON_VERSION=${EPYTHON/python} "$@" |
236 |
- popd > /dev/null |
237 |
-} |
238 |
|
239 |
diff --git a/dev-libs/libxslt/libxslt-1.1.28-r2.ebuild b/dev-libs/libxslt/libxslt-1.1.28-r2.ebuild |
240 |
deleted file mode 100644 |
241 |
index 0701648..0000000 |
242 |
--- a/dev-libs/libxslt/libxslt-1.1.28-r2.ebuild |
243 |
+++ /dev/null |
244 |
@@ -1,104 +0,0 @@ |
245 |
-# Copyright 1999-2015 Gentoo Foundation |
246 |
-# Distributed under the terms of the GNU General Public License v2 |
247 |
-# $Id$ |
248 |
- |
249 |
-EAPI=5 |
250 |
- |
251 |
-PYTHON_COMPAT=( python2_7 ) |
252 |
-PYTHON_REQ_USE="xml" |
253 |
- |
254 |
-inherit autotools eutils python-r1 toolchain-funcs multilib-minimal |
255 |
- |
256 |
-DESCRIPTION="XSLT libraries and tools" |
257 |
-HOMEPAGE="http://www.xmlsoft.org/" |
258 |
-SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz" |
259 |
- |
260 |
-LICENSE="MIT" |
261 |
-SLOT="0" |
262 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~arm-linux ~x86-linux" |
263 |
-IUSE="crypt debug python static-libs" |
264 |
- |
265 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
266 |
- |
267 |
-RDEPEND=">=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}] |
268 |
- crypt? ( >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] ) |
269 |
- python? ( |
270 |
- ${PYTHON_DEPS} |
271 |
- dev-libs/libxml2:2[python,${PYTHON_USEDEP}] ) |
272 |
- abi_x86_32? ( |
273 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r20 |
274 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
275 |
- ) |
276 |
-" |
277 |
-DEPEND="${RDEPEND}" |
278 |
- |
279 |
-src_prepare() { |
280 |
- DOCS=( AUTHORS ChangeLog FEATURES NEWS README TODO ) |
281 |
- |
282 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=684621 |
283 |
- epatch "${FILESDIR}"/${PN}.m4-${PN}-1.1.26.patch |
284 |
- |
285 |
- epatch "${FILESDIR}"/${PN}-1.1.26-disable_static_modules.patch |
286 |
- |
287 |
- # use AC_PATH_TOOL for libgcrypt-config for sane cross-compile and multilib support |
288 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=725635 |
289 |
- epatch "${FILESDIR}"/${PN}-1.1.28-libgcrypt-config.patch |
290 |
- |
291 |
- # Python bindings are built/tested/installed manually. |
292 |
- epatch "${FILESDIR}"/${PN}-1.1.28-manual-python.patch |
293 |
- |
294 |
- eautoreconf |
295 |
- # If eautoreconf'd with new autoconf, then epunt_cxx is not necessary |
296 |
- # and it is propably otherwise too if upstream generated with new |
297 |
- # autoconf |
298 |
-# epunt_cxx |
299 |
-} |
300 |
- |
301 |
-multilib_src_configure() { |
302 |
- ECONF_SOURCE=${S} econf \ |
303 |
- $(use_enable static-libs static) \ |
304 |
- --with-html-dir="${EPREFIX}"/usr/share/doc/${PF} \ |
305 |
- --with-html-subdir=html \ |
306 |
- $(use_with crypt crypto) \ |
307 |
- $(multilib_is_native_abi && use_with python || echo --without-python) \ |
308 |
- $(use_with debug) \ |
309 |
- $(use_with debug mem-debug) |
310 |
-} |
311 |
- |
312 |
-multilib_src_compile() { |
313 |
- default |
314 |
- if use python && multilib_is_native_abi; then |
315 |
- python_copy_sources |
316 |
- python_foreach_impl libxslt_py_emake |
317 |
- fi |
318 |
-} |
319 |
- |
320 |
-multilib_src_test() { |
321 |
- default |
322 |
- use python && multilib_is_native_abi && python_foreach_impl libxslt_py_emake test |
323 |
-} |
324 |
- |
325 |
-multilib_src_install() { |
326 |
- # "default" does not work here - docs are installed by multilib_src_install_all |
327 |
- emake DESTDIR="${D}" install |
328 |
- |
329 |
- if use python && multilib_is_native_abi; then |
330 |
- python_foreach_impl libxslt_py_emake DESTDIR="${D}" install |
331 |
- python_foreach_impl python_optimize |
332 |
- mv "${ED}"/usr/share/doc/${PN}-python-${PV} "${ED}"/usr/share/doc/${PF}/python |
333 |
- fi |
334 |
- |
335 |
- prune_libtool_files --modules |
336 |
-} |
337 |
- |
338 |
-libxslt_py_emake() { |
339 |
- pushd "${BUILD_DIR}/python" > /dev/null || die |
340 |
- emake \ |
341 |
- PYTHON="${PYTHON}" \ |
342 |
- PYTHON_INCLUDES="${EPREFIX}/usr/include/${EPYTHON}" \ |
343 |
- PYTHON_LIBS="$(python-config --ldflags)" \ |
344 |
- PYTHON_SITE_PACKAGES="${EPREFIX}$(python_get_sitedir)" \ |
345 |
- pythondir="${EPREFIX}$(python_get_sitedir)" \ |
346 |
- PYTHON_VERSION=${EPYTHON/python} "$@" |
347 |
- popd > /dev/null |
348 |
-} |
349 |
|
350 |
diff --git a/dev-libs/libxslt/libxslt-1.1.28-r3.ebuild b/dev-libs/libxslt/libxslt-1.1.28-r3.ebuild |
351 |
deleted file mode 100644 |
352 |
index aff69fa..0000000 |
353 |
--- a/dev-libs/libxslt/libxslt-1.1.28-r3.ebuild |
354 |
+++ /dev/null |
355 |
@@ -1,111 +0,0 @@ |
356 |
-# Copyright 1999-2015 Gentoo Foundation |
357 |
-# Distributed under the terms of the GNU General Public License v2 |
358 |
-# $Id$ |
359 |
- |
360 |
-EAPI=5 |
361 |
- |
362 |
-PYTHON_COMPAT=( python2_7 ) |
363 |
-PYTHON_REQ_USE="xml" |
364 |
- |
365 |
-inherit autotools eutils python-r1 toolchain-funcs multilib-minimal |
366 |
- |
367 |
-DESCRIPTION="XSLT libraries and tools" |
368 |
-HOMEPAGE="http://www.xmlsoft.org/" |
369 |
-SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz" |
370 |
- |
371 |
-LICENSE="MIT" |
372 |
-SLOT="0" |
373 |
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
374 |
-IUSE="crypt debug python static-libs" |
375 |
- |
376 |
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" |
377 |
- |
378 |
-RDEPEND=">=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}] |
379 |
- crypt? ( >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] ) |
380 |
- python? ( |
381 |
- ${PYTHON_DEPS} |
382 |
- dev-libs/libxml2:2[python,${PYTHON_USEDEP}] ) |
383 |
- abi_x86_32? ( |
384 |
- !<=app-emulation/emul-linux-x86-baselibs-20131008-r20 |
385 |
- !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] |
386 |
- ) |
387 |
-" |
388 |
-DEPEND="${RDEPEND}" |
389 |
- |
390 |
-src_prepare() { |
391 |
- DOCS=( AUTHORS ChangeLog FEATURES NEWS README TODO ) |
392 |
- |
393 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=684621 |
394 |
- epatch "${FILESDIR}"/${PN}.m4-${PN}-1.1.26.patch |
395 |
- |
396 |
- epatch "${FILESDIR}"/${PN}-1.1.26-disable_static_modules.patch |
397 |
- |
398 |
- # use AC_PATH_TOOL for libgcrypt-config for sane cross-compile and multilib support |
399 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=725635 |
400 |
- epatch "${FILESDIR}"/${PN}-1.1.28-libgcrypt-config.patch |
401 |
- |
402 |
- eautoreconf |
403 |
- # If eautoreconf'd with new autoconf, then epunt_cxx is not necessary |
404 |
- # and it is propably otherwise too if upstream generated with new |
405 |
- # autoconf |
406 |
-# epunt_cxx |
407 |
- # But Prefix always needs elibtoolize if not eautoreconf'd. |
408 |
-# elibtoolize |
409 |
-} |
410 |
- |
411 |
-multilib_src_configure() { |
412 |
- libxslt_configure() { |
413 |
- ECONF_SOURCE=${S} econf \ |
414 |
- $(use_enable static-libs static) \ |
415 |
- --with-html-dir="${EPREFIX}"/usr/share/doc/${PF} \ |
416 |
- --with-html-subdir=html \ |
417 |
- $(use_with crypt crypto) \ |
418 |
- $(use_with debug) \ |
419 |
- $(use_with debug mem-debug) \ |
420 |
- "$@" |
421 |
- } |
422 |
- |
423 |
- libxslt_py_configure() { |
424 |
- mkdir -p "${BUILD_DIR}" || die # ensure python build dirs exist |
425 |
- run_in_build_dir libxslt_configure "--with-python=${PYTHON}" # odd build system |
426 |
- } |
427 |
- |
428 |
- libxslt_configure --without-python # build python bindings separately |
429 |
- |
430 |
- if multilib_is_native_abi && use python; then |
431 |
- python_parallel_foreach_impl libxslt_py_configure |
432 |
- fi |
433 |
-} |
434 |
- |
435 |
-multilib_src_compile() { |
436 |
- default |
437 |
- multilib_is_native_abi && use python && libxslt_foreach_py_emake all |
438 |
-} |
439 |
- |
440 |
-multilib_src_test() { |
441 |
- default |
442 |
- multilib_is_native_abi && use python && libxslt_foreach_py_emake test |
443 |
-} |
444 |
- |
445 |
-multilib_src_install() { |
446 |
- # "default" does not work here - docs are installed by multilib_src_install_all |
447 |
- emake DESTDIR="${D}" install |
448 |
- |
449 |
- if multilib_is_native_abi && use python; then |
450 |
- libxslt_foreach_py_emake DESTDIR="${D}" install |
451 |
- python_foreach_impl python_optimize |
452 |
- mv "${ED}"/usr/share/doc/${PN}-python-${PV} "${ED}"/usr/share/doc/${PF}/python |
453 |
- fi |
454 |
- |
455 |
- prune_libtool_files --modules |
456 |
-} |
457 |
- |
458 |
-libxslt_foreach_py_emake() { |
459 |
- libxslt_py_emake() { |
460 |
- pushd "${BUILD_DIR}/python" > /dev/null || die |
461 |
- emake "$@" |
462 |
- popd > /dev/null |
463 |
- } |
464 |
- local native_builddir=${BUILD_DIR} |
465 |
- python_foreach_impl libxslt_py_emake top_builddir="${native_builddir}" "$@" |
466 |
-} |