summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/python-graph/python-graph-1.8.0.ebuild')
-rw-r--r--dev-python/python-graph/python-graph-1.8.0.ebuild31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/python-graph/python-graph-1.8.0.ebuild b/dev-python/python-graph/python-graph-1.8.0.ebuild
new file mode 100644
index 0000000..ec8669e
--- /dev/null
+++ b/dev-python/python-graph/python-graph-1.8.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+PYTHON_DEPEND="2:2.6 3"
+
+inherit python distutils
+
+DESCRIPTION="python-graph is a library for working with graphs in Python."
+HOMEPAGE="http://code.google.com/p/python-graph/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="pydot"
+
+RDEPEND="virtual/python
+ pydot? ( media-gfx/pydot )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+
+S="${S}/core"
+
+src_prepare() {
+ if use pydot; then
+ cp ${S}/../dot/pygraph/readwrite/dot.py ${S}/pygraph/readwrite/
+ fi
+ distutils_src_prepare
+}