aboutsummaryrefslogtreecommitdiff
path: root/desktop/CurseTheWeather
diff options
context:
space:
mode:
authorPhillip Warner <pc_warner@yahoo.com>2010-05-13 00:22:22 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:22:22 +0200
commitd81b94dc24d0ca4a04fde9f907d0737e309a6776 (patch)
treef914df19482f1174f383448c120474235a8fc6d6 /desktop/CurseTheWeather
parent9c747a18f7462f2e503fadeff1226164d86e826c (diff)
desktop/CurseTheWeather: Updated for version 0.5
Diffstat (limited to 'desktop/CurseTheWeather')
-rw-r--r--desktop/CurseTheWeather/CurseTheWeather.SlackBuild7
-rw-r--r--desktop/CurseTheWeather/CurseTheWeather.info10
-rw-r--r--desktop/CurseTheWeather/README14
-rw-r--r--desktop/CurseTheWeather/slack-desc4
4 files changed, 20 insertions, 15 deletions
diff --git a/desktop/CurseTheWeather/CurseTheWeather.SlackBuild b/desktop/CurseTheWeather/CurseTheWeather.SlackBuild
index 3da1ad340b0e1..c17c975dcc5a5 100644
--- a/desktop/CurseTheWeather/CurseTheWeather.SlackBuild
+++ b/desktop/CurseTheWeather/CurseTheWeather.SlackBuild
@@ -25,10 +25,11 @@
# Modified by the SlackBuilds.org project.
PRGNAM=CurseTheWeather
-VERSION=0.4
-ARCH=i486 # This does nothing for the software
+VERSION=0.5
+ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -56,4 +57,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/desktop/CurseTheWeather/CurseTheWeather.info b/desktop/CurseTheWeather/CurseTheWeather.info
index 6d0e637f8abf5..dcf12d2047f33 100644
--- a/desktop/CurseTheWeather/CurseTheWeather.info
+++ b/desktop/CurseTheWeather/CurseTheWeather.info
@@ -1,8 +1,10 @@
PRGNAM="CurseTheWeather"
-VERSION="0.4"
+VERSION="0.5"
HOMEPAGE="http://opensource.hld.ca/trac.cgi/wiki/CurseTheWeather"
-DOWNLOAD="http://opensource.hld.ca/trac.cgi/export/313/trunk/ctw/dist/CurseTheWeather-0.4.tar.gz"
-MD5SUM="05882e98fa6b564d514ee71bc7d9f09f"
+DOWNLOAD="http://opensource.hld.ca/trac.cgi/export/316/trunk/ctw/dist/CurseTheWeather-0.5.tar.gz"
+MD5SUM="87ca7f06bab0ee2be429278df015f031"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
MAINTAINER="Phillip Warner"
EMAIL="pc_warner@yahoo.com"
-APPROVED="Michiel"
+APPROVED="dsomero"
diff --git a/desktop/CurseTheWeather/README b/desktop/CurseTheWeather/README
index c3b41705e6a3b..65f6254240f68 100644
--- a/desktop/CurseTheWeather/README
+++ b/desktop/CurseTheWeather/README
@@ -1,19 +1,21 @@
CurseTheWeather is a python application which displays the weather in a
terminal via a ncurses frontend (ctw). This frontend shows ascii-art weather
-icons along with the current weather conditions and 10 day forecast.
+icons along with the current weather conditions and 5 day forecast.
weatherfeed.py is the python module that grabs the weather data from
weather.com, and it can used by frontends other than ctw.
+** Please note ** CTW does not currently display a full 10 day forecast
+due to changes with weather.com.
** ctw and Transparency, Different Colors **
-If you are interested in changing the colors in ctw, or if you use
-transparency in your terminals and would like this to work with ctw, then
-simply modify initColors() in /usr/bin/ctw. For transparency, simply add:
-
-curses.use_default_colors()
+To modify transparency and color behavior in ctw simply modify
+initColors() in /usr/bin/ctw.
+To remove transparency, simply delete:
+ curses.use_default_colors()
at line 125 (just under "curses.start_color()").
+
Modifying the lines with "curses.init_pair" will allow you to modify the text
colors used.
diff --git a/desktop/CurseTheWeather/slack-desc b/desktop/CurseTheWeather/slack-desc
index dd4bf1c730bdd..933573af2ef26 100644
--- a/desktop/CurseTheWeather/slack-desc
+++ b/desktop/CurseTheWeather/slack-desc
@@ -11,9 +11,9 @@ CurseTheWeather:
CurseTheWeather: CurseTheWeather is a python application which displays the weather
CurseTheWeather: in a terminal via a ncurses frontend (ctw). This frontend shows
CurseTheWeather: ascii-art weather icons along with the current weather conditions
-CurseTheWeather: and 10 day forecast.
+CurseTheWeather: and 5 day forecast.
CurseTheWeather:
CurseTheWeather: weatherfeed.py is the python module that grabs the weather data from
CurseTheWeather: weather.com, and it can used by frontends other than ctw.
CurseTheWeather:
-CurseTheWeather: http://opensource.hld.ca/trac.cgi/wiki/CurseTheWeather
+CurseTheWeather: Homepage: http://opensource.hld.ca/trac.cgi/wiki/CurseTheWeather