Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxslt/
Date: Tue, 28 Mar 2017 23:22:45
Message-Id: 1490743326.34782632c86d0bcea94658ad0ecb75c92be1edb1.leio@gentoo
1 commit: 34782632c86d0bcea94658ad0ecb75c92be1edb1
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 28 23:22:06 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 28 23:22:06 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34782632
7
8 dev-libs/libxslt: remove old
9
10 Package-Manager: Portage-2.3.4, Repoman-2.3.1
11
12 dev-libs/libxslt/libxslt-1.1.29.ebuild | 128 ---------------------------------
13 1 file changed, 128 deletions(-)
14
15 diff --git a/dev-libs/libxslt/libxslt-1.1.29.ebuild b/dev-libs/libxslt/libxslt-1.1.29.ebuild
16 deleted file mode 100644
17 index 55dd9707901..00000000000
18 --- a/dev-libs/libxslt/libxslt-1.1.29.ebuild
19 +++ /dev/null
20 @@ -1,128 +0,0 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=6
25 -PYTHON_COMPAT=( python2_7 )
26 -PYTHON_REQ_USE="xml"
27 -
28 -inherit autotools eutils python-r1 toolchain-funcs multilib-minimal
29 -
30 -DESCRIPTION="XSLT libraries and tools"
31 -HOMEPAGE="http://www.xmlsoft.org/"
32 -SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
33 -
34 -LICENSE="MIT"
35 -SLOT="0"
36 -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
37 -
38 -IUSE="crypt debug examples python static-libs"
39 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
40 -
41 -RDEPEND="
42 - >=dev-libs/libxml2-2.9.1-r5:2[${MULTILIB_USEDEP}]
43 - crypt? ( >=dev-libs/libgcrypt-1.5.3:0=[${MULTILIB_USEDEP}] )
44 - python? (
45 - ${PYTHON_DEPS}
46 - dev-libs/libxml2:2[python,${PYTHON_USEDEP}] )
47 -"
48 -DEPEND="${RDEPEND}"
49 -
50 -MULTILIB_CHOST_TOOLS=(
51 - /usr/bin/xslt-config
52 -)
53 -
54 -MULTILIB_WRAPPED_HEADERS=(
55 - /usr/include/libxslt/xsltconfig.h
56 -)
57 -
58 -src_prepare() {
59 - default
60 -
61 - DOCS=( AUTHORS ChangeLog FEATURES NEWS README TODO )
62 -
63 - # https://bugzilla.gnome.org/show_bug.cgi?id=684621
64 - eapply "${FILESDIR}"/${PN}.m4-${PN}-1.1.26.patch
65 -
66 - # Simplify python setup
67 - eapply "${FILESDIR}"/${PN}-1.1.28-simplify-python.patch
68 - eapply "${FILESDIR}"/${PN}-1.1.28-disable-static-modules.patch
69 -
70 - mv configure.{in,ac} || die
71 -
72 - eautoreconf
73 - # If eautoreconf'd with new autoconf, then epunt_cxx is not necessary
74 - # and it is propably otherwise too if upstream generated with new
75 - # autoconf
76 -# epunt_cxx
77 - # But Prefix always needs elibtoolize if not eautoreconf'd.
78 -# elibtoolize
79 -}
80 -
81 -multilib_src_configure() {
82 - libxslt_configure() {
83 - ECONF_SOURCE="${S}" econf \
84 - --with-html-dir="${EPREFIX}"/usr/share/doc/${PF} \
85 - --with-html-subdir=html \
86 - $(use_with crypt crypto) \
87 - $(use_with debug) \
88 - $(use_with debug mem-debug) \
89 - $(use_enable static-libs static) \
90 - "$@"
91 - }
92 -
93 - libxslt_py_configure() {
94 - mkdir -p "${BUILD_DIR}" || die # ensure python build dirs exist
95 - run_in_build_dir libxslt_configure --with-python
96 - }
97 -
98 - libxslt_configure --without-python # build python bindings separately
99 -
100 - if multilib_is_native_abi && use python; then
101 - python_foreach_impl libxslt_py_configure
102 - fi
103 -}
104 -
105 -multilib_src_compile() {
106 - default
107 - multilib_is_native_abi && use python && libxslt_foreach_py_emake all
108 -}
109 -
110 -multilib_src_test() {
111 - default
112 - multilib_is_native_abi && use python && libxslt_foreach_py_emake test
113 -}
114 -
115 -multilib_src_install() {
116 - # "default" does not work here - docs are installed by multilib_src_install_all
117 - emake DESTDIR="${D}" install
118 -
119 - if multilib_is_native_abi && use python; then
120 - libxslt_foreach_py_emake \
121 - DESTDIR="${D}" \
122 - docsdir="${EPREFIX}"/usr/share/doc/${PF}/python \
123 - EXAMPLE_DIR="${EPREFIX}"/usr/share/doc/${PF}/python/examples \
124 - install
125 - python_foreach_impl python_optimize
126 - fi
127 -}
128 -
129 -multilib_src_install_all() {
130 - einstalldocs
131 -
132 - if ! use examples; then
133 - rm -rf "${ED}"/usr/share/doc/${PF}/examples
134 - rm -rf "${ED}"/usr/share/doc/${PF}/python/examples
135 - fi
136 -
137 - prune_libtool_files --modules
138 -}
139 -
140 -libxslt_foreach_py_emake() {
141 - libxslt_py_emake() {
142 - pushd "${BUILD_DIR}/python" > /dev/null || die
143 - emake "$@"
144 - popd > /dev/null
145 - }
146 - local native_builddir=${BUILD_DIR}
147 - python_foreach_impl libxslt_py_emake top_builddir="${native_builddir}" "$@"
148 -}