diff --git a/app-admin/conkyforecast/Manifest b/app-admin/conkyforecast/Manifest new file mode 100644 index 000000000..4ce73ad73 --- /dev/null +++ b/app-admin/conkyforecast/Manifest @@ -0,0 +1,3 @@ +DIST conkyforecast_2.15.tar.gz 11016353 RMD160 69b6770c8f575a3fcf462e997bff5b3fd1b6ca36 SHA1 9efc8004abcdbb6e149b91eb07a6dfa98fe28276 SHA256 b393dc6c7ec830a03ae9975a631067e9e632394c24fd512af4a2a5aab688b69b +EBUILD conkyforecast-2.15.ebuild 1146 RMD160 66d5c46ab6bd888514180e7cbbbe7607e278a964 SHA1 1846174867738b56da8ade4f19ecd61b7faae121 SHA256 860c06b823c4c527eff7085b53e02fb8ee3f329c1d1355720f60af5338056062 +MISC metadata.xml 261 RMD160 fd6c87fa63054c379e842b826f994dce900bb013 SHA1 471683d4ccc2d0934e4f154b51de1be0435f508b SHA256 c4a2402d01197b6c1a7476c5b2b1ec7552b4acbc7dd51c7d775c4100c6324c8d diff --git a/app-admin/conkyforecast/conkyforecast-2.15.ebuild b/app-admin/conkyforecast/conkyforecast-2.15.ebuild new file mode 100644 index 000000000..64e8cf0e7 --- /dev/null +++ b/app-admin/conkyforecast/conkyforecast-2.15.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/conkyforecast/conkyforecast-2.15.ebuild,v 1.1 2010/12/22 15:08:22 xmw Exp $ + +EAPI=3 + +PYTHON_DEPEND="2" + +inherit distutils python + +DESCRIPTION="Conky weather forecast script with support for language files" +HOMEPAGE="https://launchpad.net/~conkyhardcore" +SRC_URI="https://launchpad.net/~conkyhardcore/+archive/ppa/+files/${PN}_${PV}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="app-admin/conky" + +S=${WORKDIR}/src + +pkg_config() { + python_set_active_version 2 + python_pkg_setup +} + +src_prepare() { + sed -i -e "s:/usr/bin/python:$(PYTHON -a):" conkyForecast || die "sed'ing in src_prepare die" + distutils_src_prepare +} + +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" + elog "as ~/.conkyForecast.config and edit the respective fields." + elog + elog "More details can be found in the README file." +} diff --git a/app-admin/conkyforecast/metadata.xml b/app-admin/conkyforecast/metadata.xml new file mode 100644 index 000000000..234b4095d --- /dev/null +++ b/app-admin/conkyforecast/metadata.xml @@ -0,0 +1,9 @@ + + + + no-herd + + daks12@gmail.com + Dmitry 'daks' Fomenko + +