summaryrefslogtreecommitdiff
blob: 7191662ceb3cf2685260b403b1f181c1bfe005c9 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit distutils

DESCRIPTION="Python bindings for Graphviz"
HOMEPAGE="http://yapgvb.sourceforge.net"
SRC_URI="mirror://sourceforge/yapgvb/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

RDEPEND=">=dev-lang/python-2.4
	>=media-gfx/graphviz-2.6"
DEPEND="${RDEPEND}
	dev-libs/boost"

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}"/boost_include_path.patch
}

src_install() {
	distutils_src_install
	insinto /etc/env.d
	doins "${FILESDIR}"/90graphviz
}