diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-01-01 21:00:42 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-01-01 21:00:42 +0000 |
commit | cfee469b9758115230065b69346c71fd70e3eb89 (patch) | |
tree | be913d8ba5d0a67b34eb74100c0b0ddf221c8aba /app-admin/conkyforecast | |
parent | Stable on amd64 wrt bug #349258 (diff) | |
download | gentoo-2-cfee469b9758115230065b69346c71fd70e3eb89.tar.gz gentoo-2-cfee469b9758115230065b69346c71fd70e3eb89.tar.bz2 gentoo-2-cfee469b9758115230065b69346c71fd70e3eb89.zip |
Fix deprecation warning. Use Python 2.
(Portage version: 2.2.0_alpha11_p6/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/conkyforecast')
-rw-r--r-- | app-admin/conkyforecast/ChangeLog | 8 | ||||
-rw-r--r-- | app-admin/conkyforecast/conkyforecast-2.12.ebuild | 13 |
2 files changed, 13 insertions, 8 deletions
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 <arfrever@gentoo.org> + 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" |