diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-02-28 19:40:27 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-02-28 19:40:27 +0000 |
commit | 39f3328081c2e4bc2f763826c2a4d7765aa2d7bf (patch) | |
tree | bce7eb6d9ed3712b493936342434a7d83ddf3fc0 /dev-python/networkx | |
parent | Remove old -5.7 development versions (diff) | |
download | historical-39f3328081c2e4bc2f763826c2a4d7765aa2d7bf.tar.gz historical-39f3328081c2e4bc2f763826c2a4d7765aa2d7bf.tar.bz2 historical-39f3328081c2e4bc2f763826c2a4d7765aa2d7bf.zip |
Initial import, see bug #120794. Thanks ibm, Marek and Tim Cera for their contributions
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'dev-python/networkx')
-rw-r--r-- | dev-python/networkx/ChangeLog | 11 | ||||
-rw-r--r-- | dev-python/networkx/Manifest | 5 | ||||
-rw-r--r-- | dev-python/networkx/files/networkx-0.99-setup.py.patch | 48 | ||||
-rw-r--r-- | dev-python/networkx/metadata.xml | 18 | ||||
-rw-r--r-- | dev-python/networkx/networkx-0.99.ebuild | 31 |
5 files changed, 113 insertions, 0 deletions
diff --git a/dev-python/networkx/ChangeLog b/dev-python/networkx/ChangeLog new file mode 100644 index 000000000000..4d1f6eb4a4cb --- /dev/null +++ b/dev-python/networkx/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-python/networkx +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/networkx/ChangeLog,v 1.1 2009/02/28 19:40:26 bicatali Exp $ + +*networkx-0.99 (28 Feb 2009) + + 28 Feb 2009; SĂ©bastien Fabbro <bicatali@gentoo.org> + +files/networkx-0.99-setup.py.patch, +metadata.xml, +networkx-0.99.ebuild: + Initial import, see bug #120794. Thanks ibm, Marek and Tim Cera for their + contributions + diff --git a/dev-python/networkx/Manifest b/dev-python/networkx/Manifest new file mode 100644 index 000000000000..ac699fbf9384 --- /dev/null +++ b/dev-python/networkx/Manifest @@ -0,0 +1,5 @@ +AUX networkx-0.99-setup.py.patch 1604 RMD160 06123b650e1730afffbb3b0e8ecfc7c4bd603e13 SHA1 8ad5386d6fe6e592fc8e95be2c7a16a91ee16767 SHA256 b657875355632e4b7df9300ad24d8f93b89103935f6f97f793305a0d001ddb68 +DIST networkx-0.99.tar.gz 533877 RMD160 4450a016e1841fed525598f017a4dfae3d099b5d SHA1 8d1f1da45ac20302d73853e14da9c24cada81a8d SHA256 8b65557c6048a2bc4d5fb0fe539139d3656d9c86367c89297ad40e12e90766ad +EBUILD networkx-0.99.ebuild 743 RMD160 e9da9f2ac3cbb6f845142284c6282cd3eee01c07 SHA1 8ac9d4f779f3dd2bf67aff5248015f758a8406ae SHA256 fa34de9f0ebecaea0ddc770446dc168c9cfe31d2c1e752b82904f7bfff64f088 +MISC ChangeLog 468 RMD160 b6246a9ca8fd756e488be4b70ee016182e252b5e SHA1 9e2c3de020e32c10090727ecb1f8d310c2832f85 SHA256 2356c5d2b02ecabf7102ad538453f4c8617cee5061a40e2f8c60be69c3664d4e +MISC metadata.xml 841 RMD160 dae70ba81f3e473999ba6264dc2e0fc912c356a4 SHA1 72b8ec644ce7451c62afff557a16407907075073 SHA256 fe860e662a39de346362597cad729255eb99cabae42f122b308a6e62afadeed7 diff --git a/dev-python/networkx/files/networkx-0.99-setup.py.patch b/dev-python/networkx/files/networkx-0.99-setup.py.patch new file mode 100644 index 000000000000..7f3c1e34cc22 --- /dev/null +++ b/dev-python/networkx/files/networkx-0.99-setup.py.patch @@ -0,0 +1,48 @@ +--- setup.py.orig 2008-11-19 21:40:27.000000000 +0800 ++++ setup.py 2008-11-19 21:41:15.000000000 +0800 +@@ -37,27 +37,6 @@ + "networkx.tests", + ] + +-docdirbase = 'share/doc/networkx-%s' % version +-# add basic documentation +-data = [(docdirbase, glob("*.txt"))] +-# add examples +-for d in ['advanced', +- 'algorithms', +- 'basic', +- 'drawing', +- 'graph', +- 'multigraph', +- 'pygraphviz', +- 'readwrite', +- 'ubigraph']: +- dd=os.path.join(docdirbase,'examples',d) +- pp=os.path.join('examples',d) +- data.append((dd,glob(os.path.join(pp,"*.py")))) +- data.append((dd,glob(os.path.join(pp,"*.bz2")))) +- data.append((dd,glob(os.path.join(pp,"*.gz")))) +- data.append((dd,glob(os.path.join(pp,"*.mbox")))) +- data.append((dd,glob(os.path.join(pp,"*.edgelist")))) +- + # add the tests + package_data = {'': ['tests/*.py'], + '': ['tests/*.txt'], +@@ -77,7 +56,6 @@ + url = url, + download_url = download_url, + packages = packages, +- data_files = data, + package_data = package_data, + classifiers = classifiers, + ) +--- setup_egg.py.orig 2009-02-27 20:24:39.512919106 +0000 ++++ setup_egg.py 2009-02-27 20:24:53.280745898 +0000 +@@ -34,7 +34,6 @@ + url = url, + download_url = download_url, + packages = packages, +- data_files = data, + classifiers = classifiers, + package_data = package_data, + # include_package_data = True, diff --git a/dev-python/networkx/metadata.xml b/dev-python/networkx/metadata.xml new file mode 100644 index 000000000000..7b3621756423 --- /dev/null +++ b/dev-python/networkx/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +<longdescription lang="en"> + NetworkX is a Python-based package for the creation, manipulation, and + study of the structure, dynamics, and functions of complex networks. + + The structure of a graph or network is encoded in the edges (connections, + links, ties, arcs, bonds) between nodes (vertices, sites, actors). If + unqualified, by graph we mean a simple undirected graph, i.e. no + self-loops and no multiple edges are allowed. By a network we usually + mean a graph with weights (fields, properties) on nodes and/or edges. + + The potential audience for NetworkX includes: mathematicians, physicists, + biologists, computer scientists, social scientists. +</longdescription> +</pkgmetadata> diff --git a/dev-python/networkx/networkx-0.99.ebuild b/dev-python/networkx/networkx-0.99.ebuild new file mode 100644 index 000000000000..f5745cab7bd0 --- /dev/null +++ b/dev-python/networkx/networkx-0.99.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/networkx/networkx-0.99.ebuild,v 1.1 2009/02/28 19:40:26 bicatali Exp $ + +EAPI=2 +NEED_PYTHON=2.4 +inherit eutils distutils + +DESCRIPTION="Python tools to manipulate graphs and complex networks" +HOMEPAGE="http://networkx.lanl.gov" +SRC_URI="http://networkx.lanl.gov/download/networkx/${P}.tar.gz" + +SLOT="0" +KEYWORDS="~amd64 ~x86" +LICENSE="LGPL-2.1" +IUSE="examples" + +DEPEND="dev-python/setuptools" +RDEPEND="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-setup.py.patch +} + +src_install() { + distutils_src_install + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples || die + fi +} |