Gentoo Archives: gentoo-commits

From: "Stefan Briesenick (sbriesen)" <sbriesen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libyaml: ChangeLog libyaml-0.1.4.ebuild
Date: Tue, 27 Dec 2011 22:24:27
Message-Id: 20111227222415.1414E2004B@flycatcher.gentoo.org
1 sbriesen 11/12/27 22:24:15
2
3 Modified: ChangeLog
4 Added: libyaml-0.1.4.ebuild
5 Log:
6 version bump. switching to EAPI=4, adding USE=static-libs.
7
8 (Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.18 dev-libs/libyaml/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libyaml/ChangeLog?rev=1.18&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libyaml/ChangeLog?rev=1.18&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libyaml/ChangeLog?r1=1.17&r2=1.18
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libyaml/ChangeLog,v
20 retrieving revision 1.17
21 retrieving revision 1.18
22 diff -u -r1.17 -r1.18
23 --- ChangeLog 18 Nov 2011 03:07:01 -0000 1.17
24 +++ ChangeLog 27 Dec 2011 22:24:14 -0000 1.18
25 @@ -1,6 +1,11 @@
26 # ChangeLog for dev-libs/libyaml
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libyaml/ChangeLog,v 1.17 2011/11/18 03:07:01 naota Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libyaml/ChangeLog,v 1.18 2011/12/27 22:24:14 sbriesen Exp $
30 +
31 +*libyaml-0.1.4 (27 Dec 2011)
32 +
33 + 27 Dec 2011; Stefan Briesenick <sbriesen@g.o> +libyaml-0.1.4.ebuild:
34 + version bump. switching to EAPI=4, adding USE=static-libs.
35
36 18 Nov 2011; Naohiro Aota <naota@g.o> libyaml-0.1.3.ebuild:
37 Add ~x86-fbsd
38
39
40
41 1.1 dev-libs/libyaml/libyaml-0.1.4.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libyaml/libyaml-0.1.4.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libyaml/libyaml-0.1.4.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libyaml-0.1.4.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libyaml/libyaml-0.1.4.ebuild,v 1.1 2011/12/27 22:24:14 sbriesen Exp $
51
52 EAPI=4
53
54 inherit eutils
55
56 MY_P="${P/lib}"
57
58 DESCRIPTION="YAML 1.1 parser and emitter written in C"
59 HOMEPAGE="http://pyyaml.org/wiki/LibYAML"
60 SRC_URI="http://pyyaml.org/download/${PN}/${MY_P}.tar.gz"
61
62 LICENSE="MIT"
63 SLOT="0"
64 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
65 IUSE="doc examples test static-libs"
66
67 S="${WORKDIR}/${MY_P}"
68
69 DOCS="README"
70
71 src_prepare() {
72 # conditionally remove tests
73 if use test; then
74 sed -i -e 's: tests::g' Makefile*
75 fi
76 }
77
78 src_configure() {
79 econf $(use_enable static-libs static)
80 }
81
82 src_install() {
83 default
84 use doc && dohtml -r doc/html/.
85 if use examples ; then
86 docompress -x /usr/share/doc/${PF}/examples
87 insinto /usr/share/doc/${PF}/examples
88 doins tests/example-*.c
89 fi
90 }