Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxslt/
Date: Mon, 29 Aug 2022 19:06:26
Message-Id: 1661799363.77ae592c410a8257d4f598ebe769989efe075e42.sam@gentoo
1 commit: 77ae592c410a8257d4f598ebe769989efe075e42
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 29 18:51:08 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 29 18:56:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77ae592c
7
8 dev-libs/libxslt: drop 1.1.36
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-libs/libxslt/Manifest | 1 -
13 dev-libs/libxslt/libxslt-1.1.36.ebuild | 124 ---------------------------------
14 2 files changed, 125 deletions(-)
15
16 diff --git a/dev-libs/libxslt/Manifest b/dev-libs/libxslt/Manifest
17 index f244ecce79d0..2dfb0498704b 100644
18 --- a/dev-libs/libxslt/Manifest
19 +++ b/dev-libs/libxslt/Manifest
20 @@ -1,3 +1,2 @@
21 DIST libxslt-1.1.35.tar.xz 1827548 BLAKE2B 9667a93e61f50098a512c1351bce2ee937fc5d29488d010b525122d28ffedc73e0930402f3df2d378161a031dc016a15f0f03bdc343f0c4aa5d0b5c454f8002d SHA512 9dd4a699235f50ae9b75b25137e387471635b4b2da0a4e4380879cd49f1513470fcfbfd775269b066eac513a1ffa6860c77ec42747168e2348248f09f60c8c96
22 -DIST libxslt-1.1.36.tar.xz 1591356 BLAKE2B 7cdb38b52295477dcf4c9fdecfb64bc8e770b37787b3f4522d6156838725f4ee506b6d58ec18d17adeb22c78aa62d0685e77ad23e72901d1083de4efef1ae0df SHA512 8a524d32fca18e8b108c1b300d1381c01a71a87dc72a09bc13613772c2836b1350d8caa0625782c6cadf953f7a15ce805718a754cef894ee77b20442fc10f5c8
23 DIST libxslt-1.1.37.tar.xz 1588572 BLAKE2B 096d93dd7178bf4483207514b1435f5bf426eea4952ffab7cc00c3e85aa736534c4acb5377af9647aa77a0cd793205194509d997a7bb5cae692f65e326566cd8 SHA512 a4e477d2bb918b7d01945e2c7491c3a4aae799dc1602bbd13de55c8a5052e210a20bc45115347eae44473c8b1d03dbc5e4a2aa18c2218f1fdfd376d87cd501ca
24
25 diff --git a/dev-libs/libxslt/libxslt-1.1.36.ebuild b/dev-libs/libxslt/libxslt-1.1.36.ebuild
26 deleted file mode 100644
27 index 6f198ac22606..000000000000
28 --- a/dev-libs/libxslt/libxslt-1.1.36.ebuild
29 +++ /dev/null
30 @@ -1,124 +0,0 @@
31 -# Copyright 1999-2022 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=8
35 -
36 -# Note: Please bump this in sync with dev-libs/libxml2.
37 -
38 -PYTHON_COMPAT=( python3_{8..11} )
39 -inherit autotools python-r1 multilib-minimal
40 -
41 -DESCRIPTION="XSLT libraries and tools"
42 -HOMEPAGE="https://gitlab.gnome.org/GNOME/libxslt"
43 -if [[ ${PV} == 9999 ]] ; then
44 - EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/libxslt"
45 - inherit git-r3
46 -else
47 - inherit gnome.org
48 - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
49 -fi
50 -
51 -LICENSE="MIT"
52 -SLOT="0"
53 -IUSE="crypt debug examples python static-libs"
54 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
55 -
56 -BDEPEND=">=virtual/pkgconfig-1"
57 -RDEPEND="
58 - >=dev-libs/libxml2-2.9.11:2[${MULTILIB_USEDEP}]
59 - crypt? ( >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] )
60 - python? ( ${PYTHON_DEPS} )
61 -"
62 -DEPEND="${RDEPEND}"
63 -
64 -MULTILIB_CHOST_TOOLS=(
65 - /usr/bin/xslt-config
66 -)
67 -
68 -MULTILIB_WRAPPED_HEADERS=(
69 - /usr/include/libxslt/xsltconfig.h
70 -)
71 -
72 -DOCS=( AUTHORS FEATURES NEWS README TODO )
73 -
74 -src_prepare() {
75 - default
76 -
77 - if [[ ${PV} == 9999 ]] ; then
78 - eautoreconf
79 - else
80 - # Prefix always needs elibtoolize if not eautoreconf'd.
81 - #elibtoolize
82 -
83 - # Temporarily for Python 3.10 fix (version used for
84 - # dist tarballs fails w/ "3.1" error)
85 - # See https://gitlab.gnome.org/GNOME/libxslt/-/issues/72.
86 - eautoreconf
87 - fi
88 -}
89 -
90 -multilib_src_configure() {
91 - libxslt_configure() {
92 - ECONF_SOURCE="${S}" econf \
93 - --without-python \
94 - $(use_with crypt crypto) \
95 - $(use_with debug) \
96 - $(use_with debug mem-debug) \
97 - $(use_enable static-libs static) \
98 - "$@"
99 - }
100 -
101 - # Build Python bindings separately
102 - libxslt_configure --without-python
103 -
104 - if multilib_is_native_abi && use python ; then
105 - NATIVE_BUILD_DIR="${BUILD_DIR}"
106 - python_foreach_impl run_in_build_dir libxslt_configure --with-python
107 - fi
108 -}
109 -
110 -libxslt_py_emake() {
111 - pushd "${BUILD_DIR}"/python >/dev/null || die
112 -
113 - emake top_builddir="${NATIVE_BUILD_DIR}" "$@"
114 -
115 - popd >/dev/null || die
116 -}
117 -
118 -multilib_src_compile() {
119 - default
120 -
121 - if multilib_is_native_abi && use python ; then
122 - python_foreach_impl run_in_build_dir libxslt_py_emake all
123 - fi
124 -}
125 -
126 -multilib_src_test() {
127 - default
128 -
129 - if multilib_is_native_abi && use python ; then
130 - python_foreach_impl run_in_build_dir libxslt_py_emake test
131 - fi
132 -}
133 -
134 -multilib_src_install() {
135 - # "default" does not work here - docs are installed by multilib_src_install_all
136 - emake DESTDIR="${D}" install
137 -
138 - if multilib_is_native_abi && use python; then
139 - python_foreach_impl run_in_build_dir libxslt_py_emake \
140 - DESTDIR="${D}" \
141 - install
142 - fi
143 -}
144 -
145 -multilib_src_install_all() {
146 - einstalldocs
147 -
148 - if ! use examples ; then
149 - rm -rf "${ED}"/usr/share/doc/${PF}/tutorial{,2} || die
150 - rm -rf "${ED}"/usr/share/doc/${PF}/python/examples || die
151 - fi
152 -
153 - find "${ED}" -type f -name "*.la" -delete || die
154 -}