Gentoo Archives: gentoo-commits

From: "Patrice Clement (monsieurp)" <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/syck: syck-0.55-r5.ebuild ChangeLog
Date: Sat, 29 Nov 2014 22:43:16
Message-Id: 20141129224311.BA99BB2E8@oystercatcher.gentoo.org
1 monsieurp 14/11/29 22:43:11
2
3 Modified: ChangeLog
4 Added: syck-0.55-r5.ebuild
5 Log:
6 Replace einstall with emake install and revbump the ebuild. See #521434.
7
8 (Portage version: 2.2.8-r2/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.33 dev-libs/syck/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/syck/ChangeLog?rev=1.33&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/syck/ChangeLog?rev=1.33&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/syck/ChangeLog?r1=1.32&r2=1.33
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/syck/ChangeLog,v
20 retrieving revision 1.32
21 retrieving revision 1.33
22 diff -u -r1.32 -r1.33
23 --- ChangeLog 10 Aug 2014 20:39:40 -0000 1.32
24 +++ ChangeLog 29 Nov 2014 22:43:11 -0000 1.33
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/syck
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/syck/ChangeLog,v 1.32 2014/08/10 20:39:40 slyfox Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/syck/ChangeLog,v 1.33 2014/11/29 22:43:11 monsieurp Exp $
30 +
31 +*syck-0.55-r5 (29 Nov 2014)
32 +
33 + 29 Nov 2014; Patrice Clement <monsieurp@g.o> +syck-0.55-r5.ebuild,
34 + syck-0.55-r4.ebuild:
35 + Replace einstall with emake install and revbump the ebuild. See #521434.
36
37 10 Aug 2014; Sergei Trofimovich <slyfox@g.o> syck-0.55-r4.ebuild:
38 QA: drop trailing '.' from DESCRIPTION
39
40
41
42 1.1 dev-libs/syck/syck-0.55-r5.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/syck/syck-0.55-r5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/syck/syck-0.55-r5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: syck-0.55-r5.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/dev-libs/syck/syck-0.55-r5.ebuild,v 1.1 2014/11/29 22:43:11 monsieurp Exp $
52
53 EAPI="3"
54 PYTHON_DEPEND="python? 2"
55 SUPPORT_PYTHON_ABIS="1"
56 RESTRICT_PYTHON_ABIS="3.* *-jython"
57
58 inherit distutils eutils flag-o-matic
59
60 DESCRIPTION="Syck is an extension for reading and writing YAML swiftly in popular scripting languages"
61 HOMEPAGE="http://whytheluckystiff.net/syck/"
62 SRC_URI="http://rubyforge.org/frs/download.php/4492/${P}.tar.gz"
63
64 LICENSE="BSD"
65 SLOT="0"
66 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
67 IUSE="php python"
68
69 DEPEND="python? ( !dev-python/pysyck )"
70 RDEPEND="${DEPEND}"
71 PDEPEND="php? ( dev-php/pecl-syck
72 !=dev-libs/syck-0.55-r1 )"
73
74 DISTUTILS_SETUP_FILES=("ext/python|setup.py")
75 PYTHON_MODNAME="yaml2xml.py ydump.py ypath.py"
76
77 pkg_setup() {
78 use python && python_pkg_setup
79 }
80
81 src_prepare() {
82 epatch "${FILESDIR}/syck-0.55-64bit.patch"
83 }
84
85 src_configure() {
86 append-flags -fPIC
87 econf
88 }
89
90 src_compile() {
91 emake
92 use python && distutils_src_compile
93 }
94
95 src_install() {
96 emake DESTDIR=${D} install
97 use python && distutils_src_install
98 }
99
100 pkg_postinst() {
101 use python && distutils_pkg_postinst
102 }
103
104 pkg_postrm() {
105 use python && distutils_pkg_postrm
106 }