# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils distutils gnome2 DESCRIPTION="Text Editor for GNOME" HOMEPAGE="http://scribes.sourceforge.net/" RESTRICT="primaryuri" SRC_URI="http://www.openusability.org/download.php/58/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND=">=dev-lang/python-2.4 >=gnome-base/gconf-2.10.0" RDEPEND=">=dev-lang/python-2.4 >=dev-python/pygtk-2.6.2 >=dev-python/gnome-python-2.10.0 >=dev-python/gnome-python-extras-2.10.0 >=gnome-extra/yelp-2.10.0" src_unpack() { unpack ${A} cd ${S} # Remove gconf installation from setup.py installation script. epatch ${FILESDIR}/scribes_gconf.patch } src_compile() { distutils_src_compile } src_install() { distutils_src_install dodoc README AUTHORS COPYING TODO } pkg_postinst() { distutils_pkg_postinst gnome2_pkg_postinst } pkg_postrm() { distutils_pkg_postrm gnome2_pkg_postrm }