Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-python/networkx: metadata.xml ChangeLog networkx-0.99.ebuild
Date: Sat, 28 Feb 2009 19:40:28
Message-Id: E1LdV2w-0001lb-Ps@stork.gentoo.org
1 bicatali 09/02/28 19:40:26
2
3 Added: metadata.xml ChangeLog networkx-0.99.ebuild
4 Log:
5 Initial import, see bug #120794. Thanks ibm, Marek and Tim Cera for their contributions
6 (Portage version: 2.2_rc23/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 dev-python/networkx/metadata.xml
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/networkx/metadata.xml?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/networkx/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 NetworkX is a Python-based package for the creation, manipulation, and
22 study of the structure, dynamics, and functions of complex networks.
23
24 The structure of a graph or network is encoded in the edges (connections,
25 links, ties, arcs, bonds) between nodes (vertices, sites, actors). If
26 unqualified, by graph we mean a simple undirected graph, i.e. no
27 self-loops and no multiple edges are allowed. By a network we usually
28 mean a graph with weights (fields, properties) on nodes and/or edges.
29
30 The potential audience for NetworkX includes: mathematicians, physicists,
31 biologists, computer scientists, social scientists.
32 </longdescription>
33 </pkgmetadata>
34
35
36
37 1.1 dev-python/networkx/ChangeLog
38
39 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/networkx/ChangeLog?rev=1.1&view=markup
40 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/networkx/ChangeLog?rev=1.1&content-type=text/plain
41
42 Index: ChangeLog
43 ===================================================================
44 # ChangeLog for dev-python/networkx
45 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
46 # $Header: /var/cvsroot/gentoo-x86/dev-python/networkx/ChangeLog,v 1.1 2009/02/28 19:40:26 bicatali Exp $
47
48 *networkx-0.99 (28 Feb 2009)
49
50 28 Feb 2009; S├ębastien Fabbro <bicatali@g.o>
51 +files/networkx-0.99-setup.py.patch, +metadata.xml, +networkx-0.99.ebuild:
52 Initial import, see bug #120794. Thanks ibm, Marek and Tim Cera for their
53 contributions
54
55
56
57
58 1.1 dev-python/networkx/networkx-0.99.ebuild
59
60 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/networkx/networkx-0.99.ebuild?rev=1.1&view=markup
61 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-python/networkx/networkx-0.99.ebuild?rev=1.1&content-type=text/plain
62
63 Index: networkx-0.99.ebuild
64 ===================================================================
65 # Copyright 1999-2009 Gentoo Foundation
66 # Distributed under the terms of the GNU General Public License v2
67 # $Header: /var/cvsroot/gentoo-x86/dev-python/networkx/networkx-0.99.ebuild,v 1.1 2009/02/28 19:40:26 bicatali Exp $
68
69 EAPI=2
70 NEED_PYTHON=2.4
71 inherit eutils distutils
72
73 DESCRIPTION="Python tools to manipulate graphs and complex networks"
74 HOMEPAGE="http://networkx.lanl.gov"
75 SRC_URI="http://networkx.lanl.gov/download/networkx/${P}.tar.gz"
76
77 SLOT="0"
78 KEYWORDS="~amd64 ~x86"
79 LICENSE="LGPL-2.1"
80 IUSE="examples"
81
82 DEPEND="dev-python/setuptools"
83 RDEPEND=""
84
85 src_prepare() {
86 epatch "${FILESDIR}"/${P}-setup.py.patch
87 }
88
89 src_install() {
90 distutils_src_install
91 if use examples; then
92 insinto /usr/share/doc/${PF}
93 doins -r examples || die
94 fi
95 }