From cfee469b9758115230065b69346c71fd70e3eb89 Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Sat, 1 Jan 2011 21:00:42 +0000 Subject: Fix deprecation warning. Use Python 2. (Portage version: 2.2.0_alpha11_p6/cvs/Linux x86_64) --- app-admin/conkyforecast/ChangeLog | 8 ++++++-- app-admin/conkyforecast/conkyforecast-2.12.ebuild | 13 +++++++------ 2 files changed, 13 insertions(+), 8 deletions(-) (limited to 'app-admin/conkyforecast') diff --git a/app-admin/conkyforecast/ChangeLog b/app-admin/conkyforecast/ChangeLog index 525eb60349bb..d86a34440fa9 100644 --- a/app-admin/conkyforecast/ChangeLog +++ b/app-admin/conkyforecast/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-admin/conkyforecast -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/conkyforecast/ChangeLog,v 1.1 2010/08/24 23:27:59 xmw Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/conkyforecast/ChangeLog,v 1.2 2011/01/01 21:00:42 arfrever Exp $ + + 01 Jan 2011; Arfrever Frehtes Taifersar Arahesis + conkyforecast-2.12.ebuild: + Fix deprecation warning. Use Python 2. *conkyforecast-2.12 (24 Aug 2010) diff --git a/app-admin/conkyforecast/conkyforecast-2.12.ebuild b/app-admin/conkyforecast/conkyforecast-2.12.ebuild index a70953b860c4..ee4457e5274e 100644 --- a/app-admin/conkyforecast/conkyforecast-2.12.ebuild +++ b/app-admin/conkyforecast/conkyforecast-2.12.ebuild @@ -1,12 +1,11 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/conkyforecast/conkyforecast-2.12.ebuild,v 1.1 2010/08/24 23:27:59 xmw Exp $ - -EAPI=2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/conkyforecast/conkyforecast-2.12.ebuild,v 1.2 2011/01/01 21:00:42 arfrever Exp $ +EAPI="3" PYTHON_DEPEND="2" -inherit distutils python +inherit distutils DESCRIPTION="Conky weather forecast script with support for language files" HOMEPAGE="https://launchpad.net/~conkyhardcore" @@ -21,7 +20,7 @@ RDEPEND="app-admin/conky" S=${WORKDIR}/src -pkg_config() { +pkg_setup() { python_set_active_version 2 python_pkg_setup } @@ -32,6 +31,8 @@ src_prepare() { } pkg_postinst() { + distutils_pkg_postinst + elog "You have to define a partner id and registration code for " elog "the weather.com xoap. You need to copy the template from" elog "/usr/share/conkyforecast/conkyForecast.config into you account" -- cgit v1.2.3-65-gdbad