You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/specto/specto-0.4.1.ebuild

44 lines
1.1 KiB

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/specto/specto-0.4.1.ebuild,v 1.1 2012/05/20 15:26:37 xmw Exp $
EAPI="3"
PYTHON_DEPEND="2"
PYTHON_MODNAME="spectlib"
inherit distutils eutils
DESCRIPTION="watch configurable events and trigger notifications"
HOMEPAGE="http://specto.sourceforge.net/"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="linguas_cs linguas_de linguas_es linguas_fr linguas_it
linguas_pt_BR linguas_ro linguas_sv linguas_tr"
RDEPEND="dev-python/gconf-python
dev-python/dbus-python
dev-python/libgnome-python
dev-python/notify-python
>=dev-python/pygtk-2.10"
DEPEND=""
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_prepare() {
epatch "${FILESDIR}"/${P}-icon-theme.patch
sed -e "s:share/doc/specto:share/doc/${PF}:" \
-i setup.py spectlib/util.py || die
if [ -n "${LINGUAS}" ] ; then
sed -e "/^i18n_languages = /s: = .*: = \"${LINGUAS}\":" \
-i setup.py || die
fi
}