1 |
bicatali 09/02/27 20:49:23 |
2 |
|
3 |
Added: metadata.xml ChangeLog pygraphviz-0.99.1.ebuild |
4 |
Log: |
5 |
Initial import, closing bug #253415, thanks Robert Morris |
6 |
(Portage version: 2.2_rc23/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-python/pygraphviz/metadata.xml |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygraphviz/metadata.xml?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygraphviz/metadata.xml?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: metadata.xml |
15 |
=================================================================== |
16 |
<?xml version="1.0" encoding="UTF-8"?> |
17 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 |
<pkgmetadata> |
19 |
<herd>python</herd> |
20 |
<longdescription lang="en"> |
21 |
Pygraphviz is a Python interface to the Graphviz graph layout and |
22 |
visualization package. |
23 |
With Pygraphviz you can create, edit, read, write, and draw graphs using |
24 |
Python to access the Graphviz graph data structure and layout algorithms. |
25 |
</longdescription> |
26 |
</pkgmetadata> |
27 |
|
28 |
|
29 |
|
30 |
1.1 dev-python/pygraphviz/ChangeLog |
31 |
|
32 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygraphviz/ChangeLog?rev=1.1&view=markup |
33 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygraphviz/ChangeLog?rev=1.1&content-type=text/plain |
34 |
|
35 |
Index: ChangeLog |
36 |
=================================================================== |
37 |
# ChangeLog for dev-python/pygraphviz |
38 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
39 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/ChangeLog,v 1.1 2009/02/27 20:49:23 bicatali Exp $ |
40 |
|
41 |
*pygraphviz-0.99.1 (27 Feb 2009) |
42 |
|
43 |
27 Feb 2009; Sébastien Fabbro <bicatali@g.o> |
44 |
+files/pygraphviz-0.99.1-setup.py.patch, +metadata.xml, |
45 |
+pygraphviz-0.99.1.ebuild: |
46 |
Initial import, closing bug #253415, thanks Robert Morris |
47 |
|
48 |
|
49 |
|
50 |
|
51 |
1.1 dev-python/pygraphviz/pygraphviz-0.99.1.ebuild |
52 |
|
53 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygraphviz/pygraphviz-0.99.1.ebuild?rev=1.1&view=markup |
54 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/pygraphviz/pygraphviz-0.99.1.ebuild?rev=1.1&content-type=text/plain |
55 |
|
56 |
Index: pygraphviz-0.99.1.ebuild |
57 |
=================================================================== |
58 |
# Copyright 1999-2009 Gentoo Foundation |
59 |
# Distributed under the terms of the GNU General Public License v2 |
60 |
# $Header: /var/cvsroot/gentoo-x86/dev-python/pygraphviz/pygraphviz-0.99.1.ebuild,v 1.1 2009/02/27 20:49:23 bicatali Exp $ |
61 |
|
62 |
EAPI=2 |
63 |
NEED_PYTHON="2.4" |
64 |
inherit distutils |
65 |
|
66 |
DESCRIPTION="Python bindings for the agraph library in the graphviz package." |
67 |
HOMEPAGE="http://networkx.lanl.gov/pygraphviz/" |
68 |
SRC_URI="http://networkx.lanl.gov/download/${PN}/${P}.tar.gz" |
69 |
|
70 |
LICENSE="BSD" |
71 |
SLOT="0" |
72 |
KEYWORDS="~amd64 ~x86" |
73 |
IUSE="examples" |
74 |
|
75 |
RDEPEND=">=media-gfx/graphviz-2.12" |
76 |
DEPEND="${RDEPEND}" |
77 |
|
78 |
src_prepare() { |
79 |
epatch "${FILESDIR}"/${P}-setup.py.patch |
80 |
} |
81 |
|
82 |
src_test() { |
83 |
cd build/lib* |
84 |
PYTHONPATH=. ${python} -c "import pygraphviz; pygraphviz.test()" \ |
85 |
|| die "tests failed" |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
distutils_src_install |
90 |
if use examples; then |
91 |
insinto /usr/share/doc/${PF} |
92 |
doins -r examples || die |
93 |
fi |
94 |
} |