From: | "Arfrever Frehtes Taifersar Arahesis (arfrever)" <arfrever@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-python/pygraphviz: ChangeLog pygraphviz-1.0-r1.ebuild |
Date: | Fri, 29 Oct 2010 21:40:17 |
Message-Id: | 20101029214013.D896820051@flycatcher.gentoo.org |
1 | arfrever 10/10/29 21:40:13 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pygraphviz-1.0-r1.ebuild |
5 | Log: |
6 | Don't require tests at run time (bug #341505). |
7 | |
8 | (Portage version: 2.2.0_alpha2_p1/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.7 dev-python/pygraphviz/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygraphviz/ChangeLog?rev=1.7&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygraphviz/ChangeLog?rev=1.7&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygraphviz/ChangeLog?r1=1.6&r2=1.7 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/ChangeLog,v |
20 | retrieving revision 1.6 |
21 | retrieving revision 1.7 |
22 | diff -u -r1.6 -r1.7 |
23 | --- ChangeLog 15 Sep 2010 19:51:05 -0000 1.6 |
24 | +++ ChangeLog 29 Oct 2010 21:40:13 -0000 1.7 |
25 | @@ -1,6 +1,13 @@ |
26 | # ChangeLog for dev-python/pygraphviz |
27 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/ChangeLog,v 1.6 2010/09/15 19:51:05 arfrever Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/ChangeLog,v 1.7 2010/10/29 21:40:13 arfrever Exp $ |
30 | + |
31 | +*pygraphviz-1.0-r1 (29 Oct 2010) |
32 | + |
33 | + 29 Oct 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@g.o> |
34 | + -pygraphviz-1.0.ebuild, +pygraphviz-1.0-r1.ebuild, |
35 | + +files/pygraphviz-1.0-avoid_tests.patch: |
36 | + Don't require tests at run time (bug #341505). |
37 | |
38 | *pygraphviz-1.0 (15 Sep 2010) |
39 | |
40 | |
41 | |
42 | |
43 | 1.1 dev-python/pygraphviz/pygraphviz-1.0-r1.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygraphviz/pygraphviz-1.0-r1.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/pygraphviz/pygraphviz-1.0-r1.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: pygraphviz-1.0-r1.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2010 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/pygraphviz-1.0-r1.ebuild,v 1.1 2010/10/29 21:40:13 arfrever Exp $ |
53 | |
54 | EAPI="3" |
55 | PYTHON_DEPEND="2" |
56 | SUPPORT_PYTHON_ABIS="1" |
57 | RESTRICT_PYTHON_ABIS="3.*" |
58 | |
59 | inherit distutils eutils |
60 | |
61 | DESCRIPTION="Python wrapper for the Graphviz Agraph data structure" |
62 | HOMEPAGE="http://networkx.lanl.gov/pygraphviz/ http://pypi.python.org/pypi/pygraphviz" |
63 | SRC_URI="http://networkx.lanl.gov/download/${PN}/${P}.tar.gz" |
64 | |
65 | LICENSE="BSD" |
66 | SLOT="0" |
67 | KEYWORDS="~amd64 ~ppc ~x86" |
68 | IUSE="examples" |
69 | |
70 | RDEPEND=">=media-gfx/graphviz-2.12" |
71 | DEPEND="${RDEPEND}" |
72 | |
73 | src_prepare() { |
74 | distutils_src_prepare |
75 | epatch "${FILESDIR}/${P}-setup.py.patch" |
76 | epatch "${FILESDIR}/${P}-avoid_tests.patch" |
77 | } |
78 | |
79 | src_test() { |
80 | testing() { |
81 | "$(PYTHON)" -c "import sys; sys.path.insert(0, '$(ls -d build-${PYTHON_ABI}/lib.*)'); import pygraphviz.tests; pygraphviz.tests.run()" |
82 | } |
83 | python_execute_function testing |
84 | } |
85 | |
86 | src_install() { |
87 | distutils_src_install |
88 | |
89 | if use examples; then |
90 | insinto /usr/share/doc/${PF} |
91 | doins -r examples || die "Installation of examples failed" |
92 | fi |
93 | |
94 | delete_tests() { |
95 | rm -fr "${ED}$(python_get_sitedir)/${PN}/tests" |
96 | } |
97 | python_execute_function -q delete_tests |
98 | } |