--- python-tz-2006p.orig/pytz.egg-info/SOURCES.txt +++ python-tz-2006p/pytz.egg-info/SOURCES.txt @@ -2,6 +2,7 @@ LICENSE.txt MANIFEST.in README.txt +setup.cfg setup.py pytz/__init__.py pytz/reference.py --- python-tz-2006p.orig/setup.py +++ python-tz-2006p/setup.py @@ -30,7 +30,8 @@ packages = ['pytz'] for dirpath, dirname, filenames in os.walk(os.path.join('pytz','zoneinfo')): - packages.append('.'.join(dirpath.split(os.sep))) + if not dirpath.endswith('.arch-ids'): + packages.append('.'.join(dirpath.split(os.sep))) setup ( name='pytz', --- python-tz-2006p.orig/debian/docs +++ python-tz-2006p/debian/docs @@ -0,0 +1,3 @@ +CHANGES.txt +README.txt +PKG-INFO --- python-tz-2006p.orig/debian/control +++ python-tz-2006p/debian/control @@ -0,0 +1,23 @@ +Source: python-tz +Section: python +Priority: extra +Maintainer: Brian Sutherland +Build-Depends-Indep: debhelper (>= 5.0.37.1), python-all-dev (>= 2.3.5-9), python-central (>= 0.4.17), python-setuptools (>= 0.6b3) +Standards-Version: 3.7.2 +XS-Python-Version: all + +Package: python-tz +Architecture: all +Depends: ${python:Depends} +Provides: ${python:Provides} +Conflicts: python2.3-tz (<< 2006g-1), python2.4-tz (<< 2006g-1) +Replaces: python2.3-tz (<< 2006g-1), python2.4-tz (<< 2006g-1) +XB-Python-Version: ${python:Versions} +Description: Python version of the Olson timezone database + python-tz brings the Olson tz database into Python. This library allows + accurate and cross platform timezone calculations using Python 2.3 or higher. + It also solves the issue of ambiguous times at the end of daylight savings, + which you can read more about in the Python Library Reference + (datetime.tzinfo). + . + Homepage: http://pytz.sourceforge.net/ --- python-tz-2006p.orig/debian/rules +++ python-tz-2006p/debian/rules @@ -0,0 +1,77 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +PYVERS=$(shell pyversions -vr debian/control) +PYMOD=pytz +PACKAGE=python-tz +DEB_UPSTREAM_VERSION=$(shell dpkg-parsechangelog \ + | grep ^Version: | cut -d ' ' -f 2 | cut -d '-' -f 1) + +build: $(PYVERS:%=build-python%) + touch $@ +build-python%: + dh_testdir + python$* setup.py build + touch $@ + +.PHONY: clean +clean: + dh_testdir + dh_testroot + rm -f build-python?.? + rm -rf build + $(MAKE) -f debian/rules $(PYVERS:%=clean-python%) + find -name '*.pyc' -exec rm {} \; + dh_clean + +clean-python%: + python$* setup.py clean + +.PHONY: install +install: + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + # Workaround dh_python/dh_pycentral breakage + echo python:Provides=$(foreach pv,$(shell pyversions -s),$(pv)-tz)|sed 's/ /, /g' >> debian/python-tz.substvars + $(MAKE) -f debian/rules $(PYVERS:%=install-python%) + +install-python%: + python$* setup.py install --no-compile --single-version-externally-managed --root=debian/$(PACKAGE) + # Remove python and module version from .egg-info + mv debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD)-$(DEB_UPSTREAM_VERSION)-py$*.egg-info \ + debian/$(PACKAGE)/usr/lib/python$*/site-packages/$(PYMOD).egg-info + +.PHONY: binary-common +binary-common: + dh_testdir + dh_testroot + dh_installchangelogs CHANGES.txt + dh_installdocs + dh_installexamples + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_pycentral + dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +.PHONY: binary-indep +binary-indep: install + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +.PHONY: binary-arch +binary-arch: install + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +.PHONY: binary +binary: binary-indep binary-arch --- python-tz-2006p.orig/debian/watch +++ python-tz-2006p/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/pytz/pytz-(.*)\.tar\.gz --- python-tz-2006p.orig/debian/changelog +++ python-tz-2006p/debian/changelog @@ -0,0 +1,56 @@ +python-tz (2006p-0.1) unstable; urgency=low + + * NMU. + * New upstream version, matching the version of the tzdata package. + + -- Matthias Klose Sun, 7 Jan 2007 11:42:00 +0100 + +python-tz (2006g-1) unstable; urgency=low + + * New upstream version. + * Update to new python policy using python-central (Closes: #373361) + + -- Brian Sutherland Wed, 14 Jun 2006 17:54:32 +0200 + +python-tz (2005r-1) unstable; urgency=low + + * New upstream version. + * Update watchfile to use qa.debian.org's re-director. + * Bump standards version to 3.6.2. + + -- Brian Sutherland Sun, 1 Jan 2006 20:29:56 +0100 + +python-tz (2005m-1) unstable; urgency=low + + * New upstream version. + + -- Brian Sutherland Thu, 15 Sep 2005 14:45:50 +0200 + +python-tz (2005k-1) unstable; urgency=low + + * New upsteam version. + * Debian specific patch removing extraneous she-bangs removed as it was + accepted upstream. + + -- Brian Sutherland Mon, 5 Sep 2005 00:34:10 +0200 + +python-tz (2005i-2) unstable; urgency=low + + * Build python2.4 library so that the zope3-lib can depend on it, see + #317742. + * Replaces zope3-lib. + * Patch setup.py to ignore .arch-ids directories. + + -- Brian Sutherland Fri, 29 Jul 2005 00:01:54 +0200 + +python-tz (2005i-1) unstable; urgency=low + + * New upstream release + + -- Brian Sutherland Tue, 31 May 2005 18:02:23 +0200 + +python-tz (2005a-1) unstable; urgency=low + + * Initial Release. + + -- Brian Sutherland Tue, 8 Feb 2005 02:14:33 +0100 --- python-tz-2006p.orig/debian/compat +++ python-tz-2006p/debian/compat @@ -0,0 +1 @@ +4 --- python-tz-2006p.orig/debian/copyright +++ python-tz-2006p/debian/copyright @@ -0,0 +1,60 @@ +This package was debianized by Brian Sutherland on +Tue, 8 Feb 2005 02:14:33 +0100. + +It was downloaded from http://sourceforge.net/projects/pytz/. + +Copyright: + +Upstream Author: Stuart Bishop + +This package is the result of an automatic generation from the Olsen database +(available from ftp://elsie.nci.nih.gov/pub). This means that there are two +licenses involved, that of the original distribution and the automatic +generation code. Fortunately both are BSD style. + +Both are included here as they are quite different from the standard BSD style +license distributed with Debian. + + +License: + +The files of the original database distribution contain this license text: + +/* +** Copyright (c) 1989 The Regents of the University of California. +** All rights reserved. +** +** Redistribution and use in source and binary forms are permitted +** provided that the above copyright notice and this paragraph are +** duplicated in all such forms and that any documentation, +** advertising materials, and other materials related to such +** distribution and use acknowledge that the software was developed +** by the University of California, Berkeley. The name of the +** University may not be used to endorse or promote products derived +** from this software without specific prior written permission. +** THIS SOFTWARE IS PROVIDED ``AS IS' AND WITHOUT ANY EXPRESS OR +** IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED +** WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. +*/ + +And the automatic generation code license is: + +Copyright (c) 2003-2005 Stuart Bishop + +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.