summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2010-08-24 23:27:59 +0000
committerMichael Weber <xmw@gentoo.org>2010-08-24 23:27:59 +0000
commita9e89c48ad091124eb3dc67427ecacc5d4461af6 (patch)
tree0a973bd14f8c3c3843a50953464a34bc71a02738 /app-admin
parentStable on amd64 wrt bug #334343 (diff)
downloadgentoo-2-a9e89c48ad091124eb3dc67427ecacc5d4461af6.tar.gz
gentoo-2-a9e89c48ad091124eb3dc67427ecacc5d4461af6.tar.bz2
gentoo-2-a9e89c48ad091124eb3dc67427ecacc5d4461af6.zip
Initial import of conkyforecast
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/conkyforecast/ChangeLog11
-rw-r--r--app-admin/conkyforecast/conkyforecast-2.12.ebuild41
-rw-r--r--app-admin/conkyforecast/metadata.xml9
3 files changed, 61 insertions, 0 deletions
diff --git a/app-admin/conkyforecast/ChangeLog b/app-admin/conkyforecast/ChangeLog
new file mode 100644
index 000000000000..525eb60349bb
--- /dev/null
+++ b/app-admin/conkyforecast/ChangeLog
@@ -0,0 +1,11 @@
+# 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 $
+
+*conkyforecast-2.12 (24 Aug 2010)
+
+ 24 Aug 2010; Michael Weber (xmw) <xmw@gentoo.org>
+ +conkyforecast-2.12.ebuild, +metadata.xml:
+ Initial commit for conkyforecast. Fixes bug #255948, thanks to Hans Meier
+ for the report and Christopher Robin Elmersson for the initial ebuilds
+
diff --git a/app-admin/conkyforecast/conkyforecast-2.12.ebuild b/app-admin/conkyforecast/conkyforecast-2.12.ebuild
new file mode 100644
index 000000000000..a70953b860c4
--- /dev/null
+++ b/app-admin/conkyforecast/conkyforecast-2.12.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.12.ebuild,v 1.1 2010/08/24 23:27:59 xmw Exp $
+
+EAPI=2
+
+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
+ 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 000000000000..32c2cb560368
--- /dev/null
+++ b/app-admin/conkyforecast/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+<email>xmw@gentoo.org</email>
+<name>Michael Weber</name>
+</maintainer>
+</pkgmetadata>