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/
Date: Tue, 30 Aug 2016 01:51:19
Message-Id: 1472521701.8d1c8b08b78866f23b15419a6b86aa47b0b485ab.radhermit@gentoo
1 commit: 8d1c8b08b78866f23b15419a6b86aa47b0b485ab
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 30 01:48:21 2016 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 30 01:48:21 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d1c8b08
7
8 dev-libs/libyaml: version bump to 0.1.7
9
10 dev-libs/libyaml/Manifest | 1 +
11 dev-libs/libyaml/libyaml-0.1.7.ebuild | 48 +++++++++++++++++++++++++++++++++++
12 2 files changed, 49 insertions(+)
13
14 diff --git a/dev-libs/libyaml/Manifest b/dev-libs/libyaml/Manifest
15 index 18724ad..ec49578 100644
16 --- a/dev-libs/libyaml/Manifest
17 +++ b/dev-libs/libyaml/Manifest
18 @@ -1 +1,2 @@
19 DIST yaml-0.1.6.tar.gz 503012 SHA256 7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749 SHA512 eef1f26fec0a305836b8c6a65def4e2864fe2415618e7490717d4e42f0fc51048727ab0e7e4a6c3a2783ae762fddd6b78091a76a6cd3a2710ae18e3dfb27cd44 WHIRLPOOL b3dc733ae79c2798ad80390fee90648ab65b32b9550d6b3d336138e3d664ee6fa50f71594747e49c7e0b9b72600cb4dd22aaac62970bbf50ae343be4a8c956ca
20 +DIST yaml-0.1.7.tar.gz 527518 SHA256 8088e457264a98ba451a90b8661fcb4f9d6f478f7265d48322a196cec2480729 SHA512 1ee5007dd10db137b5ee80f8117f07390ec04af98d087a5f5475dd2b38d87c699b79ab1676e6c7bfa263323fcdf8edd69fada2b0b7f9c57bef4e46cd65f1e975 WHIRLPOOL 2003d3892df783324dfaa6a04195baeccae341e38e0741b8d7c2b8b29f674264644c45f334517ce9d4a45fb907adaf8a5f36a85da832a7b783d759cc13b1acac
21
22 diff --git a/dev-libs/libyaml/libyaml-0.1.7.ebuild b/dev-libs/libyaml/libyaml-0.1.7.ebuild
23 new file mode 100644
24 index 00000000..6818521
25 --- /dev/null
26 +++ b/dev-libs/libyaml/libyaml-0.1.7.ebuild
27 @@ -0,0 +1,48 @@
28 +# Copyright 1999-2016 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +# $Id$
31 +
32 +EAPI=6
33 +
34 +inherit eutils libtool
35 +
36 +MY_P="${P/lib}"
37 +
38 +DESCRIPTION="YAML 1.1 parser and emitter written in C"
39 +HOMEPAGE="http://pyyaml.org/wiki/LibYAML"
40 +SRC_URI="http://pyyaml.org/download/${PN}/${MY_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 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
45 +IUSE="doc examples test static-libs"
46 +
47 +S="${WORKDIR}/${MY_P}"
48 +
49 +src_prepare() {
50 + default
51 +
52 + # conditionally remove tests
53 + if ! use test; then
54 + sed -i -e 's: tests::g' Makefile* || die
55 + fi
56 +
57 + elibtoolize # for FreeMiNT
58 +}
59 +
60 +src_configure() {
61 + econf $(use_enable static-libs static)
62 +}
63 +
64 +src_install() {
65 + default
66 +
67 + prune_libtool_files
68 + use doc && dodoc -r doc/html
69 +
70 + if use examples ; then
71 + docompress -x /usr/share/doc/${PF}/examples
72 + insinto /usr/share/doc/${PF}/examples
73 + doins tests/example-*.c
74 + fi
75 +}