Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/synopsis: ChangeLog synopsis-0.12.ebuild
Date: Thu, 06 May 2010 10:33:56
Message-Id: 20100506103353.A818029638@corvid.gentoo.org
1 ssuominen 10/05/06 10:33:53
2
3 Modified: ChangeLog synopsis-0.12.ebuild
4 Log:
5 Fix building with GCC 4.5+ wrt #318429 by Kacper Kowalik. Force Python 2.x.
6 (Portage version: 2.2_rc67/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.13 dev-util/synopsis/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/synopsis/ChangeLog?rev=1.13&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/synopsis/ChangeLog?rev=1.13&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/synopsis/ChangeLog?r1=1.12&r2=1.13
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/dev-util/synopsis/ChangeLog,v
18 retrieving revision 1.12
19 retrieving revision 1.13
20 diff -u -r1.12 -r1.13
21 --- ChangeLog 20 Jun 2009 16:16:07 -0000 1.12
22 +++ ChangeLog 6 May 2010 10:33:53 -0000 1.13
23 @@ -1,6 +1,11 @@
24 # ChangeLog for dev-util/synopsis
25 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/dev-util/synopsis/ChangeLog,v 1.12 2009/06/20 16:16:07 ssuominen Exp $
27 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/synopsis/ChangeLog,v 1.13 2010/05/06 10:33:53 ssuominen Exp $
29 +
30 + 06 May 2010; Samuli Suominen <ssuominen@g.o> synopsis-0.12.ebuild,
31 + +files/synopsis-0.12-gcc45.patch:
32 + Fix building with GCC 4.5+ wrt #318429 by Kacper Kowalik. Force Python
33 + 2.x.
34
35 *synopsis-0.12 (20 Jun 2009)
36
37
38
39
40 1.2 dev-util/synopsis/synopsis-0.12.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/synopsis/synopsis-0.12.ebuild?rev=1.2&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/synopsis/synopsis-0.12.ebuild?rev=1.2&content-type=text/plain
44 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/synopsis/synopsis-0.12.ebuild?r1=1.1&r2=1.2
45
46 Index: synopsis-0.12.ebuild
47 ===================================================================
48 RCS file: /var/cvsroot/gentoo-x86/dev-util/synopsis/synopsis-0.12.ebuild,v
49 retrieving revision 1.1
50 retrieving revision 1.2
51 diff -u -r1.1 -r1.2
52 --- synopsis-0.12.ebuild 20 Jun 2009 16:16:07 -0000 1.1
53 +++ synopsis-0.12.ebuild 6 May 2010 10:33:53 -0000 1.2
54 @@ -1,26 +1,34 @@
55 -# Copyright 1999-2009 Gentoo Foundation
56 +# Copyright 1999-2010 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 -# $Header: /var/cvsroot/gentoo-x86/dev-util/synopsis/synopsis-0.12.ebuild,v 1.1 2009/06/20 16:16:07 ssuominen Exp $
59 +# $Header: /var/cvsroot/gentoo-x86/dev-util/synopsis/synopsis-0.12.ebuild,v 1.2 2010/05/06 10:33:53 ssuominen Exp $
60
61 -inherit distutils multilib toolchain-funcs
62 +EAPI=2
63 +PYTHON_DEPEND="2"
64 +inherit distutils eutils multilib python toolchain-funcs
65
66 DESCRIPTION="General source code documentation tool"
67 HOMEPAGE="http://synopsis.fresco.org/index.html"
68 SRC_URI="http://synopsis.fresco.org/download/${P}.tar.gz"
69
70 -RDEPEND="media-gfx/graphviz
71 - dev-libs/boehm-gc
72 - net-misc/omniORB"
73 -DEPEND="${RDEPEND}"
74 -
75 LICENSE="GPL-2 LGPL-2.1"
76 SLOT="0"
77 KEYWORDS="~amd64 ~ppc ~x86"
78 IUSE=""
79
80 -src_compile() {
81 +DEPEND="media-gfx/graphviz
82 + dev-libs/boehm-gc
83 + net-misc/omniORB"
84 +
85 +pkg_setup() {
86 + python_set_active_version 2
87 +}
88 +
89 +src_prepare() {
90 + epatch "${FILESDIR}"/${P}-gcc45.patch
91 +}
92 +
93 +src_configure() {
94 tc-export CC CXX
95 - ${python} setup.py config --libdir=/usr/$(get_libdir) \
96 + $(PYTHON) setup.py config --libdir=/usr/$(get_libdir) \
97 --with-gc-prefix=/usr || die
98 - distutils_src_compile
99 }