# Template file for 'xdot'
pkgname=xdot
version="$(date -u +%Y%m%d)"
revision=1
build_style=python-module
makedepends="git"
fulldepends="graphviz pygtk python-distribute xbps-triggers>=0.46"
short_desc="Interactive viewer for Graphviz dot files"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="https://code.google.com/p/jrfonseca/wiki/XDot"
long_desc="
 xdot is an interactive viewer for graphs written in Graphviz's dot language.

 It uses internally the graphviz's xdot output format as an intermediate
 format, and PyGTK and Cairo for rendering.

 xdot can be used either as a standalone application from command line, or as
 a library embedded in your python application."

noarch=yes
nofetch=yes
noextract=yes
pycompile_module="xdot.py"

do_fetch() {
	local url="https://code.google.com/p/jrfonseca.xdot"
	msg_normal "Fetching source from $url ...\n"
	git clone ${url} xdot-${version}
}
