1 |
arfrever 10/10/10 15:47:17 |
2 |
|
3 |
Modified: ChangeLog graphviz-2.26.3-r2.ebuild |
4 |
Log: |
5 |
Use Python 2 (bug #321665). |
6 |
|
7 |
(Portage version: 2.2_rc91_p7/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.224 media-gfx/graphviz/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphviz/ChangeLog?rev=1.224&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphviz/ChangeLog?rev=1.224&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphviz/ChangeLog?r1=1.223&r2=1.224 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v |
19 |
retrieving revision 1.223 |
20 |
retrieving revision 1.224 |
21 |
diff -u -r1.223 -r1.224 |
22 |
--- ChangeLog 5 Sep 2010 13:38:58 -0000 1.223 |
23 |
+++ ChangeLog 10 Oct 2010 15:47:17 -0000 1.224 |
24 |
@@ -1,6 +1,10 @@ |
25 |
# ChangeLog for media-gfx/graphviz |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.223 2010/09/05 13:38:58 maekke Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.224 2010/10/10 15:47:17 arfrever Exp $ |
29 |
+ |
30 |
+ 10 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
31 |
+ graphviz-2.26.3-r2.ebuild: |
32 |
+ Use Python 2 (bug #321665). |
33 |
|
34 |
*graphviz-2.26.3-r2 (05 Sep 2010) |
35 |
|
36 |
|
37 |
|
38 |
|
39 |
1.2 media-gfx/graphviz/graphviz-2.26.3-r2.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphviz/graphviz-2.26.3-r2.ebuild?rev=1.2&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphviz/graphviz-2.26.3-r2.ebuild?rev=1.2&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/graphviz/graphviz-2.26.3-r2.ebuild?r1=1.1&r2=1.2 |
44 |
|
45 |
Index: graphviz-2.26.3-r2.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.26.3-r2.ebuild,v |
48 |
retrieving revision 1.1 |
49 |
retrieving revision 1.2 |
50 |
diff -u -r1.1 -r1.2 |
51 |
--- graphviz-2.26.3-r2.ebuild 5 Sep 2010 13:38:58 -0000 1.1 |
52 |
+++ graphviz-2.26.3-r2.ebuild 10 Oct 2010 15:47:17 -0000 1.2 |
53 |
@@ -1,8 +1,10 @@ |
54 |
# Copyright 1999-2010 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.26.3-r2.ebuild,v 1.1 2010/09/05 13:38:58 maekke Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.26.3-r2.ebuild,v 1.2 2010/10/10 15:47:17 arfrever Exp $ |
58 |
|
59 |
EAPI=3 |
60 |
+PYTHON_DEPEND="python? 2" |
61 |
+ |
62 |
inherit eutils autotools multilib python |
63 |
|
64 |
DESCRIPTION="Open Source Graph Visualization Software" |
65 |
@@ -95,6 +97,13 @@ |
66 |
# - dot, dotty, gvpr, lefty, lneato, tools/* :) |
67 |
# Lefty needs Xaw and X to build |
68 |
|
69 |
+pkg_setup() { |
70 |
+ if use python; then |
71 |
+ python_set_active_version 2 |
72 |
+ python_pkg_setup |
73 |
+ fi |
74 |
+} |
75 |
+ |
76 |
src_prepare() { |
77 |
# ToDo: Do the same thing for examples and/or |
78 |
# write a patch for a configuration-option |