diff options
author | Phillip Warner <pc_warner@yahoo.com> | 2010-05-13 00:22:22 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:22:22 +0200 |
commit | d81b94dc24d0ca4a04fde9f907d0737e309a6776 (patch) | |
tree | f914df19482f1174f383448c120474235a8fc6d6 /desktop/CurseTheWeather | |
parent | 9c747a18f7462f2e503fadeff1226164d86e826c (diff) |
desktop/CurseTheWeather: Updated for version 0.5
Diffstat (limited to 'desktop/CurseTheWeather')
-rw-r--r-- | desktop/CurseTheWeather/CurseTheWeather.SlackBuild | 7 | ||||
-rw-r--r-- | desktop/CurseTheWeather/CurseTheWeather.info | 10 | ||||
-rw-r--r-- | desktop/CurseTheWeather/README | 14 | ||||
-rw-r--r-- | desktop/CurseTheWeather/slack-desc | 4 |
4 files changed, 20 insertions, 15 deletions
diff --git a/desktop/CurseTheWeather/CurseTheWeather.SlackBuild b/desktop/CurseTheWeather/CurseTheWeather.SlackBuild index 3da1ad340b0e..c17c975dcc5a 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 6d0e637f8abf..dcf12d2047f3 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 c3b41705e6a3..65f6254240f6 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 dd4bf1c730bd..933573af2ef2 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 |