# 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://openusability.org/download.php/68/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="" DEPEND=">=dev-lang/python-2.4 >=gnome-base/gconf-2.12.0" RDEPEND=">=dev-lang/python-2.4 >=dev-python/pygtk-2.8.0 >=dev-python/gnome-python-2.12.0 >=dev-python/gnome-python-extras-2.12.0 >=gnome-extra/yelp-2.12.0" src_unpack() { unpack ${A} cd ${WORKDIR}; mv scribes-0.2 scribes-0.2.1 cd ${S} # Remove gconf installation and dependency checking from setup.py # installation script. epatch ${FILESDIR}/${P}.patch } src_compile() { distutils_src_compile } src_install() { distutils_src_install dodoc README AUTHORS COPYING TODO TRANSLATORS } pkg_postinst() { distutils_pkg_postinst gnome2_pkg_postinst } pkg_postrm() { distutils_pkg_postrm gnome2_pkg_postrm }