1 |
arfrever 10/06/30 01:03:35 |
2 |
|
3 |
Modified: ChangeLog pygraphviz-0.99.1.ebuild |
4 |
Log: |
5 |
Set SUPPORT_PYTHON_ABIS. |
6 |
(Portage version: HEAD/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.4 dev-python/pygraphviz/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygraphviz/ChangeLog?rev=1.4&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygraphviz/ChangeLog?rev=1.4&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygraphviz/ChangeLog?r1=1.3&r2=1.4 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/ChangeLog,v |
18 |
retrieving revision 1.3 |
19 |
retrieving revision 1.4 |
20 |
diff -u -r1.3 -r1.4 |
21 |
--- ChangeLog 1 Jun 2010 15:15:36 -0000 1.3 |
22 |
+++ ChangeLog 30 Jun 2010 01:03:35 -0000 1.4 |
23 |
@@ -1,6 +1,10 @@ |
24 |
# ChangeLog for dev-python/pygraphviz |
25 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/ChangeLog,v 1.3 2010/06/01 15:15:36 josejx Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/ChangeLog,v 1.4 2010/06/30 01:03:35 arfrever Exp $ |
28 |
+ |
29 |
+ 30 Jun 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
30 |
+ pygraphviz-0.99.1.ebuild: |
31 |
+ Set SUPPORT_PYTHON_ABIS. |
32 |
|
33 |
01 Jun 2010; Joseph Jezak <josejx@g.o> pygraphviz-0.99.1.ebuild: |
34 |
Marked ~ppc for bug #317225. |
35 |
|
36 |
|
37 |
|
38 |
1.4 dev-python/pygraphviz/pygraphviz-0.99.1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygraphviz/pygraphviz-0.99.1.ebuild?rev=1.4&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygraphviz/pygraphviz-0.99.1.ebuild?rev=1.4&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygraphviz/pygraphviz-0.99.1.ebuild?r1=1.3&r2=1.4 |
43 |
|
44 |
Index: pygraphviz-0.99.1.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/pygraphviz-0.99.1.ebuild,v |
47 |
retrieving revision 1.3 |
48 |
retrieving revision 1.4 |
49 |
diff -u -r1.3 -r1.4 |
50 |
--- pygraphviz-0.99.1.ebuild 1 Jun 2010 15:15:36 -0000 1.3 |
51 |
+++ pygraphviz-0.99.1.ebuild 30 Jun 2010 01:03:35 -0000 1.4 |
52 |
@@ -1,13 +1,16 @@ |
53 |
# Copyright 1999-2010 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/pygraphviz-0.99.1.ebuild,v 1.3 2010/06/01 15:15:36 josejx Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/pygraphviz-0.99.1.ebuild,v 1.4 2010/06/30 01:03:35 arfrever Exp $ |
57 |
|
58 |
-EAPI=2 |
59 |
-NEED_PYTHON="2.4" |
60 |
-inherit eutils distutils |
61 |
+EAPI="3" |
62 |
+PYTHON_DEPEND="2" |
63 |
+SUPPORT_PYTHON_ABIS="1" |
64 |
+RESTRICT_PYTHON_ABIS="3.*" |
65 |
+ |
66 |
+inherit distutils eutils |
67 |
|
68 |
DESCRIPTION="Python bindings for the agraph library in the graphviz package." |
69 |
-HOMEPAGE="http://networkx.lanl.gov/pygraphviz/" |
70 |
+HOMEPAGE="http://networkx.lanl.gov/pygraphviz/ http://pypi.python.org/pypi/pygraphviz" |
71 |
SRC_URI="http://networkx.lanl.gov/download/${PN}/${P}.tar.gz" |
72 |
|
73 |
LICENSE="BSD" |
74 |
@@ -19,17 +22,20 @@ |
75 |
DEPEND="${RDEPEND}" |
76 |
|
77 |
src_prepare() { |
78 |
- epatch "${FILESDIR}"/${P}-setup.py.patch |
79 |
+ distutils_src_prepare |
80 |
+ epatch "${FILESDIR}/${P}-setup.py.patch" |
81 |
} |
82 |
|
83 |
src_test() { |
84 |
- cd build/lib* |
85 |
- PYTHONPATH=. ${python} -c "import pygraphviz; pygraphviz.test()" \ |
86 |
- || die "tests failed" |
87 |
+ testing() { |
88 |
+ "$(PYTHON)" -c "import sys; sys.path.insert(0, '$(ls -d build-${PYTHON_ABI}/lib.*)'); import pygraphviz; pygraphviz.test()" |
89 |
+ } |
90 |
+ python_execute_function testing |
91 |
} |
92 |
|
93 |
src_install() { |
94 |
distutils_src_install |
95 |
+ |
96 |
if use examples; then |
97 |
insinto /usr/share/doc/${PF} |
98 |
doins -r examples || die |