blob: ec8669e5c1a56a387c174c6371de193721127309 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}
|