/[gentoo-x86]/app-admin/conkyforecast/conkyforecast-2.24.ebuild
Gentoo

Contents of /app-admin/conkyforecast/conkyforecast-2.24.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Jan 5 15:54:39 2012 UTC (2 years, 10 months ago) by xmw
Branch: MAIN
CVS Tags: HEAD
Version bump (thanks Jesse, bug 397569), remove old version

(Portage version: 2.1.10.41/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-admin/conkyforecast/conkyforecast-2.20.ebuild,v 1.1 2011/10/27 14:08:19 xmw Exp $
4
5 EAPI="3"
6 PYTHON_DEPEND="2"
7
8 inherit distutils
9
10 DESCRIPTION="Conky weather forecast script with support for language files"
11 HOMEPAGE="https://launchpad.net/~conky-companions"
12 SRC_URI="https://launchpad.net/~conky-companions/+archive/ppa/+files/${PN}_${PV}.tar.gz"
13
14 LICENSE="GPL-3"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE=""
18
19 RDEPEND="app-admin/conky"
20
21 S=${WORKDIR}/src
22
23 pkg_setup() {
24 python_set_active_version 2
25 python_pkg_setup
26 }
27
28 src_prepare() {
29 sed -i -e "s:/usr/bin/python:$(PYTHON -a):" conkyForecast || die
30 distutils_src_prepare
31 }
32
33 pkg_postinst() {
34 distutils_pkg_postinst
35
36 elog "You have to define a partner id and registration code for "
37 elog "the weather.com xoap. You need to copy the template from"
38 elog "/usr/share/conkyforecast/conkyForecast.config into you account"
39 elog "as ~/.conkyForecast.config and edit the respective fields."
40 elog
41 elog "More details can be found in the README file."
42 }

  ViewVC Help
Powered by ViewVC 1.1.20