# Copyright 2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header$ inherit distutils SRC_URI="mirror://sourceforge/${PN}/${PF}.tar.gz" DESCRIPTION="UML 2.0 modeling tool for GNOME" HOMEPAGE="http://gaphor.sf.net/" LICENSE="GPL-2" SLOT="0" IUSE="" KEYWORDS="~x86" # diacanvas must be built with Python bindings (autodetected) DEPEND=">=dev-lang/python-2.2 >=dev-python/gnome-python-2.0 >=x11-libs/diacanvas-0.13.0" # Additional docs not covered by distutils DOCS="AUTHORS COPYING INSTALL NEWS TODO" src_compile() { rm -rf data/plugins/pynsource/pynsource-1.4a } # hack around funky introspective absolute path src_install () { # Base class distutils_src_install # Fix icon absolute path verlist=`find ${D}/usr/lib/python*/site-packages/${PN}/version.py` for ver in $verlist; do echo "DATA_DIR=\"/usr/share/${PN}\"" >> $ver done } # Skipping units tests since they're graphical and user-level