ports/147003: [NEW PORT] astro/weather: An utility to provide current weather conditions and forecasts

Sunpoet Po-Chuan Hsieh sunpoet at sunpoet.net
Wed May 26 05:07:39 UTC 2010


>Number:         147003
>Category:       ports
>Synopsis:       [NEW PORT] astro/weather: An utility to provide current weather conditions and forecasts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 26 05:07:38 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 8.1-PRERELEASE amd64
>Organization:
SUNPOET.net
>Environment:
System: FreeBSD bonjour.sunpoet.net 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Wed May 19 00:13:00 CST 2010
>Description:
This command-line utility is intended to provide quick access to current
weather conditions and forecasts. Presently, it is capable of returning data
for localities throughout the USA by retrieving and formatting decoded METARs
(Meteorological Aerodrome Reports) from NOAA (the USA National Oceanic and
Atmospheric Administration) and forecasts from NWS (the USA National Weather
Service). The tool is written to function in the same spirit as other command-
line informational utilities like cal(1), calendar(1) and dict(1). It can
retrieve arbitrary weather data via specific command-line switches (station
ID, city, state), or aliases can be configured system wide and on a per-user
basis. It can be freely used and redistributed under the terms of a BSD-like
License. 

WWW:	http://fungi.yuggoth.org/weather/

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- weather-1.5.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	weather
#	weather/pkg-descr
#	weather/Makefile
#	weather/pkg-plist
#	weather/distinfo
#
echo c - weather
mkdir -p weather > /dev/null 2>&1
echo x - weather/pkg-descr
sed 's/^X//' >weather/pkg-descr << '75c5ff3736b88408194db084571f1fe0'
XThis command-line utility is intended to provide quick access to current
Xweather conditions and forecasts. Presently, it is capable of returning data
Xfor localities throughout the USA by retrieving and formatting decoded METARs
X(Meteorological Aerodrome Reports) from NOAA (the USA National Oceanic and
XAtmospheric Administration) and forecasts from NWS (the USA National Weather
XService). The tool is written to function in the same spirit as other command-
Xline informational utilities like cal(1), calendar(1) and dict(1). It can
Xretrieve arbitrary weather data via specific command-line switches (station
XID, city, state), or aliases can be configured system wide and on a per-user
Xbasis. It can be freely used and redistributed under the terms of a BSD-like
XLicense. 
X
XWWW:	http://fungi.yuggoth.org/weather/
75c5ff3736b88408194db084571f1fe0
echo x - weather/Makefile
sed 's/^X//' >weather/Makefile << '257f39dc7a00ef8033497dea8e566ec9'
X# New ports collection makefile for:	weather
X# Date created:		2010-05-25
X# Whom:			Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	weather
XPORTVERSION=	1.5
XCATEGORIES=	astro python
XMASTER_SITES=	http://fungi.yuggoth.org/weather/src/ \
X		http://sunpoet.net/distfiles/
X
XMAINTAINER=	sunpoet at sunpoet.net
XCOMMENT=	An utility to provide current weather conditions and forecasts
X
XUSE_PYTHON=	-2.6
X
XMAN1=		weather.1
XMAN5=		weatherrc.5
X
Xpost-patch:
X	@${REINPLACE_CMD} -e '1 s/python/${PYTHON_VERSION}/' ${WRKSRC}/weather
X
Xdo-build:
X	@${WRKSRC}/weather --version
X
Xdo-install:
X	@${INSTALL_SCRIPT} ${WRKSRC}/weather ${PREFIX}/bin/
X	@${INSTALL_DATA} ${WRKSRC}/weather.py ${WRKSRC}/weather.pyc ${PYTHON_SITELIBDIR}/
X	@${INSTALL_MAN} ${WRKSRC}/weather.1 ${MANPREFIX}/man/man1/
X	@${INSTALL_MAN} ${WRKSRC}/weatherrc.5 ${MANPREFIX}/man/man5/
X
X.include <bsd.port.mk>
257f39dc7a00ef8033497dea8e566ec9
echo x - weather/pkg-plist
sed 's/^X//' >weather/pkg-plist << '12fdc88d91545b7c07c0eecc5892b0f1'
X at comment $FreeBSD$
Xbin/weather
X%%PYTHON_SITELIBDIR%%/weather.py
X%%PYTHON_SITELIBDIR%%/weather.pyc
12fdc88d91545b7c07c0eecc5892b0f1
echo x - weather/distinfo
sed 's/^X//' >weather/distinfo << 'ca57ad4eaeb25ecccef233045b3d6092'
XMD5 (weather-1.5.tar.gz) = 87c7f59bd34a2f62e38a11b81160cd6b
XSHA256 (weather-1.5.tar.gz) = 4a88936ada82a7027d97e33edc9aea50222ee5a3092566bf82fc77952222711b
XSIZE (weather-1.5.tar.gz) = 16533
ca57ad4eaeb25ecccef233045b3d6092
exit
--- weather-1.5.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list