/[gentoo-x86]/app-misc/specto/specto-0.4.1-r1.ebuild
Gentoo

Contents of /app-misc/specto/specto-0.4.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Dec 27 16:51:04 2014 UTC (3 years, 8 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Convert to distutils-r1.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/specto/specto-0.4.1.ebuild,v 1.1 2012/05/20 15:26:37 xmw Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 )
8
9 inherit distutils-r1 eutils
10
11 DESCRIPTION="watch configurable events and trigger notifications"
12 HOMEPAGE="http://specto.sourceforge.net/"
13 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE="linguas_cs linguas_de linguas_es linguas_fr linguas_it
19 linguas_pt_BR linguas_ro linguas_sv linguas_tr"
20
21 RDEPEND="dev-python/gconf-python[${PYTHON_USEDEP}]
22 dev-python/dbus-python[${PYTHON_USEDEP}]
23 dev-python/libgnome-python[${PYTHON_USEDEP}]
24 dev-python/notify-python[${PYTHON_USEDEP}]
25 >=dev-python/pygtk-2.10[${PYTHON_USEDEP}]"
26 DEPEND=""
27
28 src_prepare() {
29 epatch "${FILESDIR}"/${P}-icon-theme.patch
30
31 sed -e "s:share/doc/specto:share/doc/${PF}:" \
32 -i setup.py spectlib/util.py || die
33
34 if [ -n "${LINGUAS}" ] ; then
35 sed -e "/^i18n_languages = /s: = .*: = \"${LINGUAS}\":" \
36 -i setup.py || die
37 fi
38
39 distutils-r1_src_prepare
40 }

  ViewVC Help
Powered by ViewVC 1.1.20