debian/0000755000000000000000000000000011772352416007176 5ustar debian/copyright0000644000000000000000000000572011772351727011141 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: weather Upstream-Contact: Jeremy Stanley Source: http://fungi.yuggoth.org/weather/src/ Files: * Copyright: Copyright (c) 2006-2012 Jeremy Stanley License: ISC ================= Weather License ================= . The weather project employs the ISC license, a permissive free software license written by the Internet Systems Consortium and functionally equivalent to the 2-clause BSD license. Initially used for the ISC's own software releases, it has since become the preferred license of many other projects. . The correlation data provided is augmented by manual research but built primarily by aggregating sources within the USA Public Domain (U.S. Census Bureau Gazetteer and publications of the National Oceanic and Atmospheric Administration's National Climatic Data Center and National Weather Service including its National Centers for Environmental Prediction and Office of Science and Technology/Systems Engineering Center Geographic Information Systems Map Group). Copies of the original external data sources have been provided with this software for reference, but are not covered by the copyright or permission notices which follow. . Copyright Notice ---------------- Copyright (c) 2006-2012 Jeremy Stanley . Permission Notice ----------------- Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. . Disclaimer ---------- The software is provided "as is" and the author disclaims all warranties with regard to this software including all implied warranties of merchantability and fitness. In no event shall the author be liable for any special, direct, indirect, or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of this software. Files: Gaz_*_national.zip Comment: USA Census Bureau Copyright: none License: public-domain Copyright protection is not available for any work of the United States Government per Title 17 USC section 105. http://www.census.gov/geo/www/gazetteer/gazetteer2010.html Files: *.dbx COOP-ACT.TXT metar.tbl nsd_cccc.txt zonecatalog.curr.tar Comment: USA NOAA's NCDC and NWS (incl. NCEP and OST/SEC GIS Map Group) Copyright: none License: public-domain Copyright protection is not available for any work of the United States Government per Title 17 USC section 105. http://www.weather.gov/geodata/catalog/wsom/html/cntyzone.htm http://weather.noaa.gov/data/nsd_cccc.txt http://weather.noaa.gov/pub/data/zonecatalog.curr.tar http://www.nco.ncep.noaa.gov/pmb/codes/nwprod/dictionaries/metar.tbl ftp://ftp.ncdc.noaa.gov/pub/data/inventories/COOP-ACT.TXT debian/weather-util.links0000644000000000000000000000015211574474163012654 0ustar usr/bin/weather usr/bin/weather-util usr/share/man/man1/weather.1.gz usr/share/man/man1/weather-util.1.gz debian/rules0000755000000000000000000000037511771765101010261 0ustar #!/usr/bin/make -f %: dh --with=python2 $@ override_dh_auto_build: dh_auto_build # uncomment the following line to rebuild location correlation sets #./weather --build-sets for f in airports places stations zctas zones;do gzip -9c $$f>$$f.gz;done debian/watch0000644000000000000000000000010511574474163010227 0ustar version=3 http://fungi.yuggoth.org/weather/src/weather-(.*)\.tar\.gz debian/weather-util.manpages0000644000000000000000000000002611574474163013327 0ustar weather.1 weatherrc.5 debian/patches/0000755000000000000000000000000011771753411010624 5ustar debian/patches/pypath.patch0000644000000000000000000000151711771753411013156 0ustar Description: Make weather module private Configure the weather script to find its Python module named weather in a private /usr/share/weather-util directory, to avoid polluting the global module search path for other scripts. Forwarded: not-needed Author: Jeremy Stanley Last-Update: 2012-06-24 Index: weather-2.0/weather =================================================================== --- weather-2.0.orig/weather 2012-06-24 19:13:09.000000000 +0000 +++ weather-2.0/weather 2012-06-24 19:13:28.000000000 +0000 @@ -9,7 +9,7 @@ """Wrapper utility using the weather.py module.""" # added so distributors can consistently specify a private module location -private_module_path = None +private_module_path = "/usr/share/weather-util" if private_module_path: import sys sys.path.insert(1, private_module_path) debian/patches/fhs.patch0000644000000000000000000000133011771663773012435 0ustar Description: FHS compliant paths by default Configure default file locations compliant with Filesystem Hierarchy Standard and Debian Python Policy section 9.1.1. Forwarded: not-needed Author: Jeremy Stanley Last-Update: 2012-06-24 Index: weather-2.0/weatherrc =================================================================== --- weather-2.0.orig/weatherrc 2012-06-24 19:13:09.000000000 +0000 +++ weather-2.0/weatherrc 2012-06-24 19:13:28.000000000 +0000 @@ -6,5 +6,5 @@ [default] description = default settings -#cachedir = ~/.weather -#setpath = .:~/.weather:/var/lib/weather-util:/usr/share/weather-util +cachedir = ~/.weather +setpath = .:~/.weather:/var/lib/weather-util:/usr/share/weather-util debian/patches/shebang.patch0000644000000000000000000000113211771664015013252 0ustar Description: Explicit shebang Use an explicit file path for the shebang line per Debian Python Policy section 1.4.2. Forwarded: not-needed Author: Jeremy Stanley Last-Update: 2012-06-24 Index: weather-2.0/weather =================================================================== --- weather-2.0.orig/weather 2012-06-24 19:13:09.000000000 +0000 +++ weather-2.0/weather 2012-06-24 19:13:28.000000000 +0000 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python # distributions may wish to edit the above to refer to a specific interpreter # path, such as #!/usr/bin/python debian/patches/series0000644000000000000000000000004511771752767012055 0ustar fhs.patch pypath.patch shebang.patch debian/compat0000644000000000000000000000000211574474163010400 0ustar 7 debian/changelog0000644000000000000000000000354311772203651011051 0ustar weather-util (2.0-1) unstable; urgency=low * New upstream release (closes: #663486) * Updated to latest standards version (3.9.3) * Updated debian/copyright Format field * Added new public-domain files to debian/copyright * Patched weatherrc with FHS-compliant paths * Built additional weather-util-data package * Switched from deprecated python-support to dh_python2 * Made weather.py private to reduce global module pollution -- Jeremy Stanley Tue, 26 Jun 2012 00:48:37 +0000 weather-util (1.5-1) unstable; urgency=low * New upstream release (closes: #573509, #573510) * Updated to latest standards version (3.8.4) * Switched to dpkg-source 3.0 (quilt) format * Updated debian/copyright for DEP-5 rev. 135 * Patched weather executable with an explicit shebang * Switched from python-central to python-support * Replaced debian/rules with rules.tiny from debhelper 7 -- Jeremy Stanley Fri, 19 Mar 2010 13:56:08 +0000 weather-util (1.4-1) unstable; urgency=low * New upstream release (closes: #379102) * Rebuild to move files to /usr/share/pyshared (closes: #490514) * Symlink executable and manpage for weather as weather-util * Update to Debian Policy Standards Version 3.8.0 * Make control and rules conform to Debian Python Policy 0.4.1 * Switch to machine-interpretable copyright format * Refactor rules targets for simplification -- Jeremy Stanley Mon, 14 Jul 2008 03:16:48 +0000 weather-util (1.2-1) unstable; urgency=low * New upstream release * Debian Policy Standards Version 3.7.2 * Uses python-central per new Python Policy -- Jeremy Stanley Fri, 30 Jun 2006 21:09:27 +0000 weather-util (1.1-1) unstable; urgency=low * Initial release (closes: #364317) -- Jeremy Stanley Sat, 22 Apr 2006 17:39:26 +0000 debian/control0000644000000000000000000000355011771761240010602 0ustar Source: weather-util Section: utils Priority: extra Maintainer: Jeremy Stanley Homepage: http://fungi.yuggoth.org/weather/ Build-Depends-Indep: debhelper (>= 7.0.50~), python (>= 2.6.6-3~) Standards-Version: 3.9.3 Package: weather-util Architecture: all Depends: ${misc:Depends}, python (>= 2.6.6-3~) Recommends: weather-util-data Description: command-line tool to obtain weather conditions and forecasts This utility is intended to provide quick access to current weather conditions and forecasts. Presently, it is capable of providing data for localities throughout the United States of America and some select locations globally by retrieving and processing METAR data from the National Oceanic and Atmospheric Administration and forecasts from the National Weather Service. . The weather-util-data package is recommended to enable searches for nearby sources of weather data--otherwise you have to look up and build configuration for all the data source URIs yourself. Package: weather-util-data Architecture: all Depends: ${misc:Depends} Description: optional correlation data for weather-util search feature This package provides precomputed lookup tables used by the weather utility in the weather-util package when performing searches for proximal weather data. The included tables consist of great arc positional correlations between IATA/FAA (International Air Transport Association and USA Federal Aviation Agency) airport codes, ICAO (International Civil Aviation Organization) weather station codes, NWS (USA National Weather Service) alert/forecast zones, FIPS (USA Federal Information Processing Systems) location codes, USA Census Bureau Gazeteer place names and ZCTAs (USA Census ZIP Code Tabulation Areas). These tables can also be automatically rebuilt from updated public sources using the weather utility in the weather-util package. debian/weather-util-data.install0000644000000000000000000000011311771721116014076 0ustar airports.gz places.gz stations.gz zctas.gz zones.gz usr/share/weather-util debian/weather-util.docs0000644000000000000000000000002011771677126012461 0ustar FAQ NEWS README debian/source/0000755000000000000000000000000011653160334010470 5ustar debian/source/format0000644000000000000000000000001411574474163011710 0ustar 3.0 (quilt) debian/source/options0000644000000000000000000000023611771707211012111 0ustar # don't store changes on autogenerated files extend-diff-ignore = "(^|/)(airports|correlate.log|places|qa.log|stations|weather.pyc|zctas|zones)(|_old|\.gz)$" debian/weather-util.install0000644000000000000000000000010011771755437013200 0ustar weather usr/bin weather.py usr/share/weather-util weatherrc etc