diff options
Diffstat (limited to 'dev-python/networkx/networkx-1.0.1.ebuild')
-rw-r--r-- | dev-python/networkx/networkx-1.0.1.ebuild | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/networkx/networkx-1.0.1.ebuild b/dev-python/networkx/networkx-1.0.1.ebuild new file mode 100644 index 000000000000..78e4bc5030c7 --- /dev/null +++ b/dev-python/networkx/networkx-1.0.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/networkx/networkx-1.0.1.ebuild,v 1.1 2010/01/15 19:21:41 bicatali Exp $ + +EAPI=2 +inherit 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="examples? ( + dev-python/pygraphviz + dev-python/matplotlib + dev-python/pyyaml + dev-python/pyparsing + sci-libs/scipy )" + +src_install() { + distutils_src_install + rm "${D}"usr/share/doc/${PF}/{LICENSE,INSTALL}.txt + use examples || rm -r "${D}"usr/share/doc/${PF}/examples +} |