1 |
commit: bddd492d58c6e7af4937d79b8460a5da3a9f46de |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 5 05:00:14 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Aug 6 19:43:51 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bddd492d |
7 |
|
8 |
dev-libs/libxslt: drop Python (2.7 only) bindings |
9 |
|
10 |
Nothing requires libxslt's Python bindings, |
11 |
and they only exist for Python 2.7. |
12 |
|
13 |
Let's drop them instead, after discussion |
14 |
on IRC. |
15 |
|
16 |
Closes: https://bugs.gentoo.org/702346 |
17 |
Closes: https://bugs.gentoo.org/685638 |
18 |
Package-Manager: Portage-3.0.1, Repoman-2.3.23 |
19 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
20 |
|
21 |
dev-libs/libxslt/libxslt-1.1.34-r1.ebuild | 63 +++++++++++++++++++++++++++++++ |
22 |
1 file changed, 63 insertions(+) |
23 |
|
24 |
diff --git a/dev-libs/libxslt/libxslt-1.1.34-r1.ebuild b/dev-libs/libxslt/libxslt-1.1.34-r1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..8bc2516fb94 |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/libxslt/libxslt-1.1.34-r1.ebuild |
29 |
@@ -0,0 +1,63 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit libtool multilib-minimal toolchain-funcs |
36 |
+ |
37 |
+DESCRIPTION="XSLT libraries and tools" |
38 |
+HOMEPAGE="http://www.xmlsoft.org/" |
39 |
+SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="MIT" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
44 |
+ |
45 |
+IUSE="crypt debug examples static-libs elibc_Darwin" |
46 |
+ |
47 |
+BDEPEND=">=virtual/pkgconfig-1" |
48 |
+RDEPEND=" |
49 |
+ >=dev-libs/libxml2-2.9.10:2[${MULTILIB_USEDEP}] |
50 |
+ crypt? ( >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] ) |
51 |
+" |
52 |
+DEPEND="${RDEPEND}" |
53 |
+ |
54 |
+MULTILIB_CHOST_TOOLS=( |
55 |
+ /usr/bin/xslt-config |
56 |
+) |
57 |
+ |
58 |
+MULTILIB_WRAPPED_HEADERS=( |
59 |
+ /usr/include/libxslt/xsltconfig.h |
60 |
+) |
61 |
+ |
62 |
+src_prepare() { |
63 |
+ default |
64 |
+ |
65 |
+ DOCS=( AUTHORS ChangeLog FEATURES NEWS README TODO ) |
66 |
+ |
67 |
+ # Prefix always needs elibtoolize if not eautoreconf'd. |
68 |
+ elibtoolize |
69 |
+} |
70 |
+ |
71 |
+multilib_src_configure() { |
72 |
+ ECONF_SOURCE="${S}" econf \ |
73 |
+ --with-html-dir="${EPREFIX}"/usr/share/doc/${PF} \ |
74 |
+ --with-html-subdir=html \ |
75 |
+ --without-python \ |
76 |
+ $(use_with crypt crypto) \ |
77 |
+ $(use_with debug) \ |
78 |
+ $(use_with debug mem-debug) \ |
79 |
+ $(use_enable static-libs static) \ |
80 |
+ "$@" |
81 |
+} |
82 |
+ |
83 |
+multilib_src_install() { |
84 |
+ # "default" does not work here - docs are installed by multilib_src_install_all |
85 |
+ emake DESTDIR="${D}" install |
86 |
+} |
87 |
+ |
88 |
+multilib_src_install_all() { |
89 |
+ einstalldocs |
90 |
+ |
91 |
+ find "${ED}" -type f -name "*.la" -delete || die |
92 |
+} |