Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/expat/
Date: Sat, 09 Jul 2016 14:42:41
Message-Id: 1468075225.0905f87452499686c30270f737b728a88b059250.sping@gentoo
1 commit: 0905f87452499686c30270f737b728a88b059250
2 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 9 14:40:25 2016 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 9 14:40:25 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0905f874
7
8 dev-libs/expat: Remove 2.1.0-r5 (bug #583268)
9
10 Package-Manager: portage-2.2.28
11
12 dev-libs/expat/Manifest | 1 -
13 dev-libs/expat/expat-2.1.0-r5.ebuild | 94 ------------------------------------
14 2 files changed, 95 deletions(-)
15
16 diff --git a/dev-libs/expat/Manifest b/dev-libs/expat/Manifest
17 index 226ce40..b039f87 100644
18 --- a/dev-libs/expat/Manifest
19 +++ b/dev-libs/expat/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST expat-2.1.0.tar.gz 562616 SHA256 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86 SHA512 2a9ad2b44b87b84087979fe4114d661838df3b03dbdcb74d590cb74096bf35ce9d5a86617b0941a2655ea441a94537bcbcd78252da92342238823be36de2d09d WHIRLPOOL 147eb383fdb79116e2215982e9741939f80249a0bb690e93b00218fa335d483d88f82d9256632b458b13592252aeb100ec4ef830c72bb8eb5df7675cd15f41e1
22 DIST expat-2.1.1.tar.bz2 405103 SHA256 aff584e5a2f759dcfc6d48671e9529f6afe1e30b0cd6a4cec200cbe3f793de67 SHA512 088e2ef3434f2affd4fc79fe46f0e9826b9b4c3931ddc780cd18892f1cd1e11365169c6807f45916a56bb6abcc627dcd17a23f970be0bf464f048f5be2713628 WHIRLPOOL d003f427e3e80cd335994190495594d35696205196b1755ff90dcc07fd7cc1c4933f37592e54cdae5420cd91ae326c3b928ef8d5f5cfd84224e1069c51b6a9bb
23 DIST expat-2.2.0.tar.bz2 414352 SHA256 d9e50ff2d19b3538bd2127902a89987474e1a4db8e43a66a4d1a712ab9a504ff SHA512 2be1a6eea87b439374bfacb1fbb8e814fd8a085d5dfd3ca3be69d1af29b5dc93d36cbdec5f6843ca6d5910843c7ffbc498adc2a561b9dcece488edf3c6f8c7c8 WHIRLPOOL b1914e2c23170dabab6fce4fb0eb2511dc8dcde8db986a7cdf6b236d262fb756fb0955cb4c1fc7475a1ad3d9c005b632e42850dcf3af66f4cc87fe4ecfc3cb47
24
25 diff --git a/dev-libs/expat/expat-2.1.0-r5.ebuild b/dev-libs/expat/expat-2.1.0-r5.ebuild
26 deleted file mode 100644
27 index c0aca16..0000000
28 --- a/dev-libs/expat/expat-2.1.0-r5.ebuild
29 +++ /dev/null
30 @@ -1,94 +0,0 @@
31 -# Copyright 1999-2015 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -# $Id$
34 -
35 -EAPI=5
36 -inherit eutils libtool multilib toolchain-funcs multilib-minimal
37 -
38 -DESCRIPTION="Stream-oriented XML parser library"
39 -HOMEPAGE="http://expat.sourceforge.net/"
40 -SRC_URI="mirror://sourceforge/expat/${P}.tar.gz"
41 -
42 -LICENSE="MIT"
43 -SLOT="0"
44 -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"
45 -IUSE="elibc_FreeBSD examples static-libs unicode"
46 -RDEPEND="abi_x86_32? ( !<=app-emulation/emul-linux-x86-baselibs-20130224-r6
47 - !app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)] )"
48 -
49 -src_prepare() {
50 - epatch "${FILESDIR}"/${P}-xmlwfargs.patch
51 - epatch "${FILESDIR}"/${P}-mozilla-sanity-check-size.patch #555642
52 - elibtoolize
53 -}
54 -
55 -multilib_src_configure() {
56 - local myconf="$(use_enable static-libs static)"
57 -
58 - mkdir -p "${BUILD_DIR}"{u,w} || die
59 -
60 - ECONF_SOURCE="${S}" econf ${myconf}
61 -
62 - if use unicode; then
63 - pushd "${BUILD_DIR}"u >/dev/null
64 - CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}" econf ${myconf}
65 - popd >/dev/null
66 -
67 - pushd "${BUILD_DIR}"w >/dev/null
68 - CPPFLAGS="${CPPFLAGS} -DXML_UNICODE_WCHAR_T" ECONF_SOURCE="${S}" econf ${myconf}
69 - popd >/dev/null
70 - fi
71 -}
72 -
73 -multilib_src_compile() {
74 - emake
75 -
76 - if use unicode; then
77 - pushd "${BUILD_DIR}"u >/dev/null
78 - emake buildlib LIBRARY=libexpatu.la
79 - popd >/dev/null
80 -
81 - pushd "${BUILD_DIR}"w >/dev/null
82 - emake buildlib LIBRARY=libexpatw.la
83 - popd >/dev/null
84 - fi
85 -}
86 -
87 -multilib_src_install() {
88 - emake install DESTDIR="${D}"
89 -
90 - if use unicode; then
91 - pushd "${BUILD_DIR}"u >/dev/null
92 - emake installlib DESTDIR="${D}" LIBRARY=libexpatu.la
93 - popd >/dev/null
94 -
95 - pushd "${BUILD_DIR}"w >/dev/null
96 - emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la
97 - popd >/dev/null
98 -
99 - pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
100 - cp expat.pc expatu.pc
101 - sed -i -e '/^Libs/s:-lexpat:&u:' expatu.pc || die
102 - cp expat.pc expatw.pc
103 - sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
104 - popd >/dev/null
105 - fi
106 -
107 - if multilib_is_native_abi ; then
108 - # libgeom in /lib and ifconfig in /sbin require libexpat on FreeBSD since
109 - # we stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
110 - use elibc_FreeBSD && gen_usr_ldscript -a expat
111 - fi
112 -}
113 -
114 -multilib_src_install_all() {
115 - dodoc Changes README
116 - dohtml doc/*
117 -
118 - if use examples; then
119 - insinto /usr/share/doc/${PF}/examples
120 - doins examples/*.c
121 - fi
122 -
123 - prune_libtool_files
124 -}