Gentoo Archives: gentoo-commits

From: Patrick McLean <chutzpah@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libyaml/
Date: Tue, 02 Jun 2020 00:25:26
Message-Id: 1591057517.1071b95989fba944ffc6855615bccb8964594154.chutzpah@gentoo
1 commit: 1071b95989fba944ffc6855615bccb8964594154
2 Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com>
3 AuthorDate: Mon Jun 1 22:57:23 2020 +0000
4 Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 2 00:25:17 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1071b959
7
8 dev-libs/libyaml-0.2.5: Version bump
9
10 Copyright: Sony Interactive Entertainment Inc.
11 Package-Manager: Portage-2.3.100, Repoman-2.3.22
12 Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>
13
14 dev-libs/libyaml/Manifest | 1 +
15 dev-libs/libyaml/libyaml-0.2.5.ebuild | 45 +++++++++++++++++++++++++++++++++++
16 2 files changed, 46 insertions(+)
17
18 diff --git a/dev-libs/libyaml/Manifest b/dev-libs/libyaml/Manifest
19 index 7ea69671ac8..46772dd3785 100644
20 --- a/dev-libs/libyaml/Manifest
21 +++ b/dev-libs/libyaml/Manifest
22 @@ -1 +1,2 @@
23 DIST libyaml-0.2.2.tar.gz 79465 BLAKE2B fd37cac256b40b0c5daa32584d271448e5e1c196a7fa7eeda753fb962c7d916b3c415425170d70db67c3f114b27d03fdd67fb4e380c04027198a601e1bd5a094 SHA512 455494591014a97c4371a1f372ad09f0d6e487e4f1d3419c98e9cd2f16d43a0cf9a0787d7250bebee8b8d400df4626f5acd81e90139e54fa574a66ec84964c06
24 +DIST libyaml-0.2.5.tar.gz 85055 BLAKE2B 71d1a002b8969db96af9e942bf67944acfdf2e740744b1abceacfd1c3bc54d8936d7048760aa81f1cf22518241e9f45ecf95c76d6ac41eefbdf04eb40e16a618 SHA512 a0f01e3fc616b65b18a4aa17692ee8ea1a84dc6387d1cf02ac7ef7ab7f46b9744c2aac0a047ff69d6c2da1d2a2d7b355c877da0db57e34d95cd4f37213ab6e7e
25
26 diff --git a/dev-libs/libyaml/libyaml-0.2.5.ebuild b/dev-libs/libyaml/libyaml-0.2.5.ebuild
27 new file mode 100644
28 index 00000000000..91cf1a6a176
29 --- /dev/null
30 +++ b/dev-libs/libyaml/libyaml-0.2.5.ebuild
31 @@ -0,0 +1,45 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit autotools libtool
38 +
39 +DESCRIPTION="YAML 1.1 parser and emitter written in C"
40 +HOMEPAGE="https://github.com/yaml/libyaml"
41 +SRC_URI="https://github.com/yaml/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 +
43 +LICENSE="MIT"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
46 +IUSE="doc static-libs test"
47 +RESTRICT="!test? ( test )"
48 +
49 +DEPEND="doc? ( app-doc/doxygen )"
50 +
51 +src_prepare() {
52 + default
53 +
54 + # conditionally remove tests
55 + if ! use test; then
56 + sed -i -e 's: tests::g' Makefile* || die
57 + fi
58 +
59 + elibtoolize # for FreeMiNT
60 + eautoreconf
61 +}
62 +
63 +src_configure() {
64 + econf $(use_enable static-libs static)
65 +}
66 +
67 +src_compile() {
68 + emake
69 + use doc && emake html
70 +}
71 +
72 +src_install() {
73 + use doc && HTML_DOCS=( doc/html/. )
74 + default
75 + find "${D}" -name '*.la' -delete || die
76 +}