debian/0000755000000000000000000000000012214370000007153 5ustar debian/rules0000755000000000000000000000251012152723014010241 0ustar #!/usr/bin/make -f PACKAGE = pywapi SRC_VERSION := $(shell dpkg-parsechangelog | sed -ne 's/^Version: \(\([0-9]\+\):\)\?\(.*\)-.*/\3/p') SVN_REVISION := $(shell echo $(SRC_VERSION) | awk -F"~" '{ print $$2 }' | sed 's/svn//' ) TARBALL = $(PACKAGE)_$(SRC_VERSION).orig.tar.gz PYTHON2=$(shell pyversions -vr) PYTHON3=$(shell py3versions -vr) %: dh $@ --with python2,python3 build-python%: python$* setup.py build override_dh_auto_build: $(PYTHON3:%=build-python%) dh_auto_build install-python%: python$* setup.py install --root=$(CURDIR)/debian/tmp --install-layout=deb override_dh_auto_install: $(PYTHON3:%=install-python%) dh_auto_install override_dh_auto_clean: dh_auto_clean rm -rf build rm -rf *.egg-info override_dh_installdocs: dh_installdocs --all README override_dh_installexamples: dh_installexamples --all examples/* # Adapted from http://wiki.debian.org/SandroTosi/Svn_get-orig-source get-orig-source: rm -rf get-orig-source $(TARBALL) mkdir get-orig-source svn export -r $(SVN_REVISION) http://python-weather-api.googlecode.com/svn/trunk \ get-orig-source/$(PACKAGE)-$(SRC_VERSION).orig GZIP='--best --no-name' tar czf $(TARBALL) -C get-orig-source $(PACKAGE)-$(SRC_VERSION).orig rm -rf get-orig-source echo " "$(TARBALL)" created; move it to the right destination to build the package" .PHONY: get-orig-source debian/copyright0000644000000000000000000000322412151431374011123 0ustar This package was debianized by Runa Sandvik on Fri, 04 Sep 2009 17:48:40 +0200. It was downloaded from http://code.google.com/p/python-weather-api/ and the author is Eugene Kaznacheev . Copyright: Copyright (c) 2009 Eugene Kaznacheev Copyright (c) 2013 Joshua Tasker License: The code is licensed under the MIT license. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. The Debian packaging is: Copyright (C) 2009 Runa Sandvik and is licensed under the GPL version 3, see `/usr/share/common-licenses/GPL-3'. debian/changelog0000644000000000000000000000240412214367416011046 0ustar pywapi (0.3.6-1) unstable; urgency=low * New upstream bugfix release. -- Andrew Starr-Bochicchio Thu, 12 Sep 2013 12:42:51 -0400 pywapi (0.3.3~svn147-1) unstable; urgency=low * New upstream snapshot. - Fixes Python3 compatibility issues (Closes: #710312). * Add Joshua Tasker to debian/copyright. * Add dependency on python{3}-unidecode. * Add get-orig-source target to debian/rules. -- Andrew Starr-Bochicchio Sun, 02 Jun 2013 16:07:25 -0400 pywapi (0.3.2-1) unstable; urgency=low [ Jakub Wilk ] * Use canonical URIs for Vcs-* fields. [ Andrew Starr-Bochicchio ] * New upstream release (LP: #1154858). * Fix broken debian/watch file. Thanks to Bart Martens. * Transition to dh_python2. * Move to source format 3.0 (quilt). * Build Python3 package. * Bump Standards-Version to 3.9.4, no changes needed. * Add myself to the Uploaders field. * Update description to reflect that Weather.com is now supported and that the Google Weather service has been discontinued. -- Andrew Starr-Bochicchio Sat, 25 May 2013 13:51:11 -0400 pywapi (0.2.2-1) unstable; urgency=low * Initial release (Closes: #544747) -- Runa Sandvik Fri, 04 Sep 2009 17:48:40 +0200 debian/python3-pywapi.install0000644000000000000000000000002012150174254013462 0ustar usr/lib/python3 debian/python-pywapi.install0000644000000000000000000000002112150174254013400 0ustar usr/lib/python2* debian/watch0000644000000000000000000000055412147763667010246 0ustar version=3 opts=uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,\ downloadurlmangle=s%.*/([^/]*)/downloads/detail\?name=([^=&]*).*%http://$1.googlecode.com/files/$2%,filenamemangle=s/.*name=([^&]+).*/$1/ \ http://code.google.com/p/python-weather-api/downloads/list?can=1 .*=pywapi-(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)|zip).* debian/compat0000644000000000000000000000000211250250216010356 0ustar 7 debian/control0000644000000000000000000000267412152723014010577 0ustar Source: pywapi Section: python Priority: optional Maintainer: Debian Python Modules Team Uploaders: Runa Sandvik , Andrew Starr-Bochicchio Build-Depends: debhelper (>= 7), python-all, python3-all Standards-Version: 3.9.4 X-Python-Version: >=2.5 X-Python3-Version: >= 3.2 Homepage: http://code.google.com/p/python-weather-api/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/pywapi/trunk/ Vcs-Browser: http://anonscm.debian.org/viewvc/python-modules/packages/pywapi/trunk/ Package: python-pywapi Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-unidecode Description: Python wrapper around different weather APIs The module provides a Python wrapper around the Yahoo! Weather, Weather.com and National Oceanic and Atmospheric Administration (NOAA) APIs. Fetch weather reports using zip code, location id, city name, state, country etc. . This is the Python 2 version of the package. Package: python3-pywapi Architecture: all Depends: ${misc:Depends}, ${python3:Depends}, python3-unidecode Description: Python wrapper around different weather APIs (Python 3) The module provides a Python wrapper around the Yahoo! Weather, Weather.com and National Oceanic and Atmospheric Administration (NOAA) APIs. Fetch weather reports using zip code, location id, city name, state, country etc. . This is the Python 3 version of the package. debian/source/0000755000000000000000000000000012214367457010501 5ustar debian/source/format0000644000000000000000000000001412150166171011674 0ustar 3.0 (quilt)