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