Gentoo Archives: gentoo-commits

From: "Ian Stakenvicius (axs)" <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/flowcanvas: ChangeLog flowcanvas-0.7.1.ebuild
Date: Fri, 01 Jun 2012 19:59:56
Message-Id: 20120601195946.8AF6620047@flycatcher.gentoo.org
1 axs 12/06/01 19:59:46
2
3 Modified: ChangeLog flowcanvas-0.7.1.ebuild
4 Log:
5 cleaned up ebuild, added logic to switch to python2 as required for this particular waf, bug 419039 , thanks to aballier
6
7 (Portage version: 2.1.10.49/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.15 x11-libs/flowcanvas/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/flowcanvas/ChangeLog?rev=1.15&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/flowcanvas/ChangeLog?rev=1.15&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/flowcanvas/ChangeLog?r1=1.14&r2=1.15
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-libs/flowcanvas/ChangeLog,v
19 retrieving revision 1.14
20 retrieving revision 1.15
21 diff -u -r1.14 -r1.15
22 --- ChangeLog 5 May 2012 03:52:25 -0000 1.14
23 +++ ChangeLog 1 Jun 2012 19:59:46 -0000 1.15
24 @@ -1,6 +1,10 @@
25 # ChangeLog for x11-libs/flowcanvas
26 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/flowcanvas/ChangeLog,v 1.14 2012/05/05 03:52:25 jdhore Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/flowcanvas/ChangeLog,v 1.15 2012/06/01 19:59:46 axs Exp $
29 +
30 + 01 Jun 2012; Ian Stakenvicius <axs@g.o> flowcanvas-0.7.1.ebuild:
31 + cleaned up ebuild, added logic to switch to python2 as required for this
32 + particular waf, bug 419039 , thanks to aballier
33
34 05 May 2012; Jeff Horelick <jdhore@g.o> flowcanvas-0.5.1.ebuild,
35 flowcanvas-0.6.0.ebuild, flowcanvas-0.6.4.ebuild, flowcanvas-0.7.1.ebuild:
36
37
38
39 1.6 x11-libs/flowcanvas/flowcanvas-0.7.1.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/flowcanvas/flowcanvas-0.7.1.ebuild?rev=1.6&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/flowcanvas/flowcanvas-0.7.1.ebuild?rev=1.6&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/flowcanvas/flowcanvas-0.7.1.ebuild?r1=1.5&r2=1.6
44
45 Index: flowcanvas-0.7.1.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/x11-libs/flowcanvas/flowcanvas-0.7.1.ebuild,v
48 retrieving revision 1.5
49 retrieving revision 1.6
50 diff -u -r1.5 -r1.6
51 --- flowcanvas-0.7.1.ebuild 5 May 2012 03:52:25 -0000 1.5
52 +++ flowcanvas-0.7.1.ebuild 1 Jun 2012 19:59:46 -0000 1.6
53 @@ -1,10 +1,10 @@
54 # Copyright 1999-2012 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/flowcanvas/flowcanvas-0.7.1.ebuild,v 1.5 2012/05/05 03:52:25 jdhore Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/flowcanvas/flowcanvas-0.7.1.ebuild,v 1.6 2012/06/01 19:59:46 axs Exp $
58
59 -EAPI=2
60 +EAPI=4
61
62 -inherit toolchain-funcs multilib eutils
63 +inherit waf-utils python eutils
64
65 DESCRIPTION="Gtkmm/Gnomecanvasmm widget for boxes and lines environments"
66 HOMEPAGE="http://wiki.drobilla.net/FlowCanvas"
67 @@ -20,29 +20,23 @@
68 >=dev-cpp/libgnomecanvasmm-2.6:2.6
69 media-gfx/graphviz"
70 DEPEND="${RDEPEND}
71 + =dev-lang/python-2*
72 virtual/pkgconfig
73 doc? ( app-doc/doxygen )"
74
75 +DOCS=( AUTHORS README ChangeLog )
76 +
77 +pkg_setup() {
78 + python_set_active_version 2
79 +}
80 +
81 src_prepare() {
82 epatch "${FILESDIR}/ldconfig2.patch"
83 }
84
85 src_configure() {
86 - tc-export CC CXX CPP AR RANLIB
87 - ./waf configure \
88 - --prefix=/usr \
89 - --libdir=/usr/$(get_libdir) \
90 + waf-utils_src_configure \
91 --htmldir=/usr/share/doc/${PF}/html \
92 $(use debug && echo "--debug") \
93 - $(use doc && echo "--docs") \
94 - || die
95 -}
96 -
97 -src_compile() {
98 - ./waf || die
99 -}
100 -
101 -src_install() {
102 - ./waf install --destdir="${D}" || die
103 - dodoc AUTHORS README ChangeLog || die
104 + $(use doc && echo "--doc")
105 }