# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI="3" PYTHON_DEPEND="2" SUPPORT_PYTHON_ABIS="1" RESTRICT_PYTHON_ABIS="3.*" inherit distutils bzr MY_P="/${P/_rc/rc}" DESCRIPTION="A plugin for Bazaar that aims to provide GTK+ interfaces to most Bazaar operations" HOMEPAGE="http://bazaar-vcs.org/bzr-gtk" SRC_URI="" EBZR_REPO_URI="lp:bzr-gtk" LICENSE="GPL-2" SLOT="0" KEYWORDS="" IUSE="gconf gnome-keyring gpg +sourceview libnotify nautilus" DEPEND=">=dev-vcs/bzr-1.6_rc1 >=dev-python/pygtk-2.8 nautilus? ( dev-python/nautilus-python ) >=dev-python/pycairo-1.0" RDEPEND="${DEPEND} gnome-keyring? ( dev-python/gnome-keyring-python ) gpg? ( app-crypt/seahorse ) sourceview? ( dev-python/pygtksourceview gconf? ( dev-python/gconf-python ) ) libnotify? ( dev-python/notify-python dev-vcs/bzr-dbus )" S="${WORKDIR}/${MY_P}" #TODO: src_test src_prepare() { # Credit generation does not work from an ebuild sed -e '/.*credits.pickle.*/d' -i "${S}"/setup.py } src_install() { distutils_src_install if use libnotify; then insinto /etc/xdg/autostart doins bzr-notify.desktop fi }