Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/mxml/
Date: Tue, 30 Jul 2019 16:38:25
Message-Id: 1564504684.bc96157e28e86b0a4d38a586a81c1be0986a2b4f.juippis@gentoo
1 commit: bc96157e28e86b0a4d38a586a81c1be0986a2b4f
2 Author: Conrad Kostecki <conrad <AT> kostecki <DOT> com>
3 AuthorDate: Mon Jul 29 15:03:29 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Tue Jul 30 16:38:04 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc96157e
7
8 dev-libs/mxml: drop old version
9
10 Package-Manager: Portage-2.3.69, Repoman-2.3.16
11 Signed-off-by: Conrad Kostecki <conrad <AT> kostecki.com>
12 Closes: https://github.com/gentoo/gentoo/pull/12571
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 dev-libs/mxml/Manifest | 1 -
16 dev-libs/mxml/mxml-2.12.ebuild | 60 ------------------------------------------
17 2 files changed, 61 deletions(-)
18
19 diff --git a/dev-libs/mxml/Manifest b/dev-libs/mxml/Manifest
20 index 9874fdfd13f..d8a015f7970 100644
21 --- a/dev-libs/mxml/Manifest
22 +++ b/dev-libs/mxml/Manifest
23 @@ -1,2 +1 @@
24 -DIST mxml-2.12.tar.gz 9112072 BLAKE2B 29e63abdd567c76209ca41adf608bd752863cdb2911d5bda482a2c6ac50ccdae2179941a3899d7e58480bab8903fee8a6c431619072d2861acd01f18d0eeb9e5 SHA512 49233a0087f3ef73a01ef71bb79511af36bb72027e3d9f6df919385e9ff0b03a489a3ccc590941bc4af1f558f82b2ed9bf8ff641863300a7791ce6dddfd56e77
25 DIST mxml-3.0.tar.gz 9266886 BLAKE2B d5d3481cfd1d015c620ef897bfc21e839ad2a70f5ffd58973f8435e0e6a66abd477f8fcaacfab05ce608314fed27241702becb60b49b8492560bcc9418b317f5 SHA512 3c540348022226b122ce014f183368cda6631600a11d8f4d43c99c62fba2f3ca4b23dff4122082f63915b59a46a5475d1d12d0081f9315c65f5c044ac3c751d6
26
27 diff --git a/dev-libs/mxml/mxml-2.12.ebuild b/dev-libs/mxml/mxml-2.12.ebuild
28 deleted file mode 100644
29 index 1944085d252..00000000000
30 --- a/dev-libs/mxml/mxml-2.12.ebuild
31 +++ /dev/null
32 @@ -1,60 +0,0 @@
33 -# Copyright 1999-2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="7"
37 -
38 -inherit autotools
39 -
40 -DESCRIPTION="A small XML parsing library that you can use to read XML data files or strings"
41 -HOMEPAGE="https://github.com/michaelrsweet/mxml
42 - https://www.msweet.org/mxml/"
43 -SRC_URI="https://github.com/michaelrsweet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ~ppc64 ~sparc x86"
46 -LICENSE="Mini-XML"
47 -SLOT="0"
48 -IUSE="static-libs threads"
49 -
50 -BDEPEND="virtual/pkgconfig"
51 -
52 -src_prepare() {
53 - default
54 -
55 - # Respect users CFLAGS
56 - sed -e 's/-Os -g//' -i configure.ac || die
57 -
58 - # Don't run always tests
59 - # Enable verbose compiling
60 - sed -e '/ALLTARGETS/s/testmxml//g' -e '/.SILENT:/d' -i Makefile.in || die
61 -
62 - # Build only static-libs, when requested by user, also build docs without static-libs in that case
63 - if ! use static-libs; then
64 - local mysedopts=(
65 - -e '/^install:/s/install-libmxml.a//g'
66 - -e '/^mxml.xml:/s/-static//g'
67 - -e '/^mxml.epub:/s/-static//g'
68 - -e '/^valgrind/s/-static//g'
69 - -e 's/.\/mxmldoc-static/LD_LIBRARY_PATH="." .\/mxmldoc/g'
70 - )
71 - sed "${mysedopts[@]}" -i Makefile.in || die
72 - fi
73 -
74 - eautoconf
75 -}
76 -
77 -src_configure() {
78 - local myeconfopts=(
79 - $(use_enable threads)
80 - --with-docdir=/usr/share/doc/${PF}
81 - )
82 -
83 - econf "${myeconfopts[@]}"
84 -}
85 -
86 -src_test() {
87 - emake testmxml
88 -}
89 -
90 -src_install() {
91 - emake DSTROOT="${ED}" install
92 -}