summaryrefslogtreecommitdiff
blob: 182b5f0961a4370902a20a8b77d9eb409c95a832 (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
}