Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libyaml/files/, dev-libs/libyaml/
Date: Tue, 03 Sep 2019 05:21:53
Message-Id: 1567487685.08106a2cc3378f0a26d6901fdf09652aa54b53f4.radhermit@gentoo
1 commit: 08106a2cc3378f0a26d6901fdf09652aa54b53f4
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 3 05:14:45 2019 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 3 05:14:45 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08106a2c
7
8 dev-libs/libyaml: remove old
9
10 Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>
11
12 dev-libs/libyaml/Manifest | 2 -
13 .../files/libyaml-0.1.7-mingw-no-undefined.patch | 32 ---------------
14 dev-libs/libyaml/libyaml-0.1.7-r1.ebuild | 48 ----------------------
15 dev-libs/libyaml/libyaml-0.1.7.ebuild | 47 ---------------------
16 dev-libs/libyaml/libyaml-0.2.1.ebuild | 43 -------------------
17 5 files changed, 172 deletions(-)
18
19 diff --git a/dev-libs/libyaml/Manifest b/dev-libs/libyaml/Manifest
20 index 838b0d45305..7ea69671ac8 100644
21 --- a/dev-libs/libyaml/Manifest
22 +++ b/dev-libs/libyaml/Manifest
23 @@ -1,3 +1 @@
24 -DIST libyaml-0.2.1.tar.gz 601443 BLAKE2B 4940d1f0a698a985502d6e1c4d3d064061462642829aecc75a820bebcb7b7e4ae5d62777162063650d24962c93da6449bca791811d0438222d897388ec07c2ea SHA512 f91297c37dbbf03aaff718947474381a4a6a4ee1a39171d7fc32c3710ce55321028f3485ea1fcd52b962da36ed021c0b7ec05718296dca636329a19aecc809b8
25 DIST libyaml-0.2.2.tar.gz 79465 BLAKE2B fd37cac256b40b0c5daa32584d271448e5e1c196a7fa7eeda753fb962c7d916b3c415425170d70db67c3f114b27d03fdd67fb4e380c04027198a601e1bd5a094 SHA512 455494591014a97c4371a1f372ad09f0d6e487e4f1d3419c98e9cd2f16d43a0cf9a0787d7250bebee8b8d400df4626f5acd81e90139e54fa574a66ec84964c06
26 -DIST yaml-0.1.7.tar.gz 527518 BLAKE2B 80bb082e22e7f8275924aaa4f8e95eefdc94e929690ddefdba61f50d57d01428990687d2c7bcc5b277888825b8bc0619c572594dae64ce00013adde685f9a8d9 SHA512 1ee5007dd10db137b5ee80f8117f07390ec04af98d087a5f5475dd2b38d87c699b79ab1676e6c7bfa263323fcdf8edd69fada2b0b7f9c57bef4e46cd65f1e975
27
28 diff --git a/dev-libs/libyaml/files/libyaml-0.1.7-mingw-no-undefined.patch b/dev-libs/libyaml/files/libyaml-0.1.7-mingw-no-undefined.patch
29 deleted file mode 100644
30 index 5e0ef524941..00000000000
31 --- a/dev-libs/libyaml/files/libyaml-0.1.7-mingw-no-undefined.patch
32 +++ /dev/null
33 @@ -1,32 +0,0 @@
34 ---- a/include/yaml.h
35 -+++ b/include/yaml.h
36 -@@ -26,7 +26,9 @@ extern "C" {
37 -
38 - /** The public API declaration. */
39 -
40 --#ifdef _WIN32
41 -+#if defined(__MINGW32__)
42 -+# define YAML_DECLARE(type) type
43 -+#elif defined(WIN32)
44 - # if defined(YAML_DECLARE_STATIC)
45 - # define YAML_DECLARE(type) type
46 - # elif defined(YAML_DECLARE_EXPORT)
47 ---- a/src/Makefile.am
48 -+++ b/src/Makefile.am
49 -@@ -1,4 +1,4 @@
50 - AM_CPPFLAGS = -I$(top_srcdir)/include
51 - lib_LTLIBRARIES = libyaml.la
52 - libyaml_la_SOURCES = yaml_private.h api.c reader.c scanner.c parser.c loader.c writer.c emitter.c dumper.c
53 --libyaml_la_LDFLAGS = -release $(YAML_LT_RELEASE) -version-info $(YAML_LT_CURRENT):$(YAML_LT_REVISION):$(YAML_LT_AGE)
54 -+libyaml_la_LDFLAGS = -no-undefined -release $(YAML_LT_RELEASE) -version-info $(YAML_LT_CURRENT):$(YAML_LT_REVISION):$(YAML_LT_AGE)
55 ---- a/src/Makefile.in
56 -+++ b/src/Makefile.in
57 -@@ -312,7 +312,7 @@ top_srcdir = @top_srcdir@
58 - AM_CPPFLAGS = -I$(top_srcdir)/include
59 - lib_LTLIBRARIES = libyaml.la
60 - libyaml_la_SOURCES = yaml_private.h api.c reader.c scanner.c parser.c loader.c writer.c emitter.c dumper.c
61 --libyaml_la_LDFLAGS = -release $(YAML_LT_RELEASE) -version-info $(YAML_LT_CURRENT):$(YAML_LT_REVISION):$(YAML_LT_AGE)
62 -+libyaml_la_LDFLAGS = -no-undefined -release $(YAML_LT_RELEASE) -version-info $(YAML_LT_CURRENT):$(YAML_LT_REVISION):$(YAML_LT_AGE)
63 - all: all-am
64 -
65 - .SUFFIXES:
66
67 diff --git a/dev-libs/libyaml/libyaml-0.1.7-r1.ebuild b/dev-libs/libyaml/libyaml-0.1.7-r1.ebuild
68 deleted file mode 100644
69 index 8e168bc585d..00000000000
70 --- a/dev-libs/libyaml/libyaml-0.1.7-r1.ebuild
71 +++ /dev/null
72 @@ -1,48 +0,0 @@
73 -# Copyright 1999-2018 Gentoo Foundation
74 -# Distributed under the terms of the GNU General Public License v2
75 -
76 -EAPI=6
77 -
78 -inherit libtool
79 -
80 -MY_P="${P/lib}"
81 -
82 -DESCRIPTION="YAML 1.1 parser and emitter written in C"
83 -HOMEPAGE="http://pyyaml.org/wiki/LibYAML"
84 -SRC_URI="http://pyyaml.org/download/${PN}/${MY_P}.tar.gz"
85 -
86 -LICENSE="MIT"
87 -SLOT="0"
88 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
89 -IUSE="doc static-libs test"
90 -
91 -S="${WORKDIR}/${MY_P}"
92 -PATCHES=(
93 - "${FILESDIR}/${PN}-0.1.7-mingw-no-undefined.patch"
94 -)
95 -
96 -src_prepare() {
97 - default
98 -
99 - # conditionally remove tests
100 - if ! use test; then
101 - sed -i -e 's: tests::g' Makefile* || die
102 - fi
103 -
104 - elibtoolize # for FreeMiNT
105 -}
106 -
107 -src_configure() {
108 - econf $(use_enable static-libs static)
109 -}
110 -
111 -src_install() {
112 - use doc && HTML_DOCS=( doc/html/. )
113 - default
114 -
115 - find "${D}" -name '*.la' -delete || die
116 -
117 - docinto examples
118 - dodoc tests/example-*.c
119 - docompress -x /usr/share/doc/${PF}/examples
120 -}
121
122 diff --git a/dev-libs/libyaml/libyaml-0.1.7.ebuild b/dev-libs/libyaml/libyaml-0.1.7.ebuild
123 deleted file mode 100644
124 index b41eaa33016..00000000000
125 --- a/dev-libs/libyaml/libyaml-0.1.7.ebuild
126 +++ /dev/null
127 @@ -1,47 +0,0 @@
128 -# Copyright 1999-2017 Gentoo Foundation
129 -# Distributed under the terms of the GNU General Public License v2
130 -
131 -EAPI=6
132 -
133 -inherit eutils libtool
134 -
135 -MY_P="${P/lib}"
136 -
137 -DESCRIPTION="YAML 1.1 parser and emitter written in C"
138 -HOMEPAGE="http://pyyaml.org/wiki/LibYAML"
139 -SRC_URI="http://pyyaml.org/download/${PN}/${MY_P}.tar.gz"
140 -
141 -LICENSE="MIT"
142 -SLOT="0"
143 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
144 -IUSE="doc examples test static-libs"
145 -
146 -S="${WORKDIR}/${MY_P}"
147 -
148 -src_prepare() {
149 - default
150 -
151 - # conditionally remove tests
152 - if ! use test; then
153 - sed -i -e 's: tests::g' Makefile* || die
154 - fi
155 -
156 - elibtoolize # for FreeMiNT
157 -}
158 -
159 -src_configure() {
160 - econf $(use_enable static-libs static)
161 -}
162 -
163 -src_install() {
164 - default
165 -
166 - prune_libtool_files
167 - use doc && dodoc -r doc/html
168 -
169 - if use examples ; then
170 - docompress -x /usr/share/doc/${PF}/examples
171 - insinto /usr/share/doc/${PF}/examples
172 - doins tests/example-*.c
173 - fi
174 -}
175
176 diff --git a/dev-libs/libyaml/libyaml-0.2.1.ebuild b/dev-libs/libyaml/libyaml-0.2.1.ebuild
177 deleted file mode 100644
178 index dc16d59c679..00000000000
179 --- a/dev-libs/libyaml/libyaml-0.2.1.ebuild
180 +++ /dev/null
181 @@ -1,43 +0,0 @@
182 -# Copyright 1999-2018 Gentoo Foundation
183 -# Distributed under the terms of the GNU General Public License v2
184 -
185 -EAPI=6
186 -
187 -inherit libtool
188 -
189 -DESCRIPTION="YAML 1.1 parser and emitter written in C"
190 -HOMEPAGE="https://github.com/yaml/libyaml"
191 -SRC_URI="https://github.com/yaml/${PN}/archive/dist-${PV}.tar.gz -> ${P}.tar.gz"
192 -
193 -LICENSE="MIT"
194 -SLOT="0"
195 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
196 -IUSE="doc static-libs test"
197 -
198 -S=${WORKDIR}/${PN}-dist-${PV}
199 -
200 -src_prepare() {
201 - default
202 -
203 - # conditionally remove tests
204 - if ! use test; then
205 - sed -i -e 's: tests::g' Makefile* || die
206 - fi
207 -
208 - elibtoolize # for FreeMiNT
209 -}
210 -
211 -src_configure() {
212 - econf $(use_enable static-libs static)
213 -}
214 -
215 -src_install() {
216 - use doc && HTML_DOCS=( doc/html/. )
217 - default
218 -
219 - find "${D}" -name '*.la' -delete || die
220 -
221 - docinto examples
222 - dodoc tests/example-*.c
223 - docompress -x /usr/share/doc/${PF}/examples
224 -}