Your message dated Sat, 24 Sep 2011 03:11:32 +0000
with message-id <[email protected]>
and subject line Bug#616650: fixed in python-tz 2011h-0.1
has caused the Debian Bug report #616650,
regarding New upstream version 2011h is available
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
616650: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616650
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-tz
Version: 2010b-1
Severity: wishlist
Tags: patch

2011b includes Python3 support.

It isn't trivial to build python2 + python3 packages with debhelper yet,
but it's easy enough.

Here's an example approach using dh_python3 (and dh_python2, which
replaces the need for van.pydeb and the deprecated pycentral).

SR

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-tz depends on:
ii  python                  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-central          0.6.16+nmu1      register and build utility for Pyt
ii  tzdata                  2011b-2          time zone and daylight-saving time

python-tz recommends no packages.

python-tz suggests no packages.

-- no debconf information
Index: debian/control
===================================================================
--- debian/control	(revision 2156)
+++ debian/control	(working copy)
@@ -2,23 +2,42 @@
 Section: python
 Priority: optional
 Maintainer: Debian/Ubuntu Zope Team <[email protected]>
-Uploaders: Brian Sutherland <[email protected]>, Fabio Tranchitella <[email protected]>
-Build-Depends: debhelper (>= 7.0.50~), python-all-dev (>= 2.3.5-11), python-central (>= 0.5.6), python-setuptools (>= 0.6b3), python-van.pydeb (>= 1.3.0-4), quilt (>= 0.46-7)
+Uploaders:
+ Brian Sutherland <[email protected]>,
+ Fabio Tranchitella <[email protected]>
+Build-Depends:
+ debhelper (>= 7.0.50~),
+ python-all (>= 2.6.6-3~),
+ python-setuptools (>= 0.6b3),
+ python3-all,
+ python3-setuptools,
+ quilt (>= 0.46-7)
 Standards-Version: 3.8.3
 Homepage: http://pypi.python.org/pypi/pytz/
-XS-Python-Version: all
-XS-Vcs-Svn: svn://svn.debian.org/svn/pkg-zope/python-tz/trunk
+X-Python-Version: >= 2.3
+X-Python3-Version: >= 3.1
+Vcs-Svn: svn://svn.debian.org/svn/pkg-zope/python-tz/trunk
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-zope/python-tz/trunk
 
 Package: python-tz
 Architecture: all
-Depends: tzdata, ${pydeb:Depends}, ${python:Depends}, ${misc:Depends}
-Recommends: ${pydeb:Recommends}
-Provides: ${pydeb:Provides}, ${python:Provides}
-Suggests: ${pydeb:Suggests}
-XB-Python-Version: ${python:Versions}
+Depends: tzdata, ${misc:Depends}, ${python:Depends}
+Breaks: ${python:Breaks}
 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).
+
+Package: python3-tz
+Architecture: all
+Depends: tzdata, ${misc:Depends}, ${python3:Depends}
+Description: Python3 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).
+ .
+ This package contains the Python 3 version of the library.
Index: debian/test-pytz
===================================================================
--- debian/test-pytz	(revision 2156)
+++ debian/test-pytz	(working copy)
@@ -13,5 +13,5 @@
     tests += mod_tests
 
 if not errors:
-    print "Ran %s tests successfully." % tests
+    print("Ran %s tests successfully." % tests)
 sys.exit(errors)
Index: debian/watch
===================================================================
--- debian/watch	(revision 2156)
+++ debian/watch	(working copy)
@@ -1,2 +1,2 @@
 version=3
-http://pypi.python.org/pypi/pytz http://pypi.python.org/packages/source/p/pytz/pytz-(.*).tar.gz#md5=.*
+http://pypi.python.org/packages/source/p/pytz/pytz-(.+).zip
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 2156)
+++ debian/changelog	(working copy)
@@ -1,3 +1,10 @@
+python-tz (2011b-1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Python3 support.
+
+ -- Stefano Rivera <[email protected]>  Sun, 06 Mar 2011 11:25:51 +0200
+
 python-tz (2010b-1) unstable; urgency=low
 
   * New upstream release.
Index: debian/copyright
===================================================================
--- debian/copyright	(revision 2156)
+++ debian/copyright	(working copy)
@@ -39,7 +39,7 @@
 
 And the automatic generation code license is:
 
-Copyright (c) 2003-2008 Stuart Bishop <[email protected]>
+Copyright (c) 2003-2009 Stuart Bishop <[email protected]>
 
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of this software and associated documentation files (the "Software"),
Index: debian/rules
===================================================================
--- debian/rules	(revision 2156)
+++ debian/rules	(working copy)
@@ -1,11 +1,43 @@
 #!/usr/bin/make -f
 
+PYVERS :=  $(shell pyversions -r)
+PY3VERS := $(shell py3versions -r)
+
 %:
-	dh --with pydeb --with python-central --with quilt $@
+	dh $@ --with python2,python3,quilt
 
+override_dh_auto_build:
+	set -e; \
+	for py in $(PYVERS) $(PY3VERS); do \
+		$$py setup.py build; \
+	done
+
+override_dh_auto_test:
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	set -e; \
+	for py in $(PYVERS) $(PY3VERS); do \
+		PYTHONPATH=. $$py debian/test-pytz; \
+	done
+endif
+
+override_dh_auto_install:
+	set -e; \
+	for py in $(PYVERS); do \
+		$$py setup.py install --skip-build --root debian/python-tz --install-layout=deb; \
+	done
+	set -e; \
+	for py in $(PY3VERS); do \
+		$$py setup.py install --skip-build --root debian/python3-tz --install-layout=deb; \
+	done
+
+override_dh_clean:
+	dh_clean
+	rm -rf build
+	rm -f *.egg-info/*
+
 override_dh_install:
 	dh_install
 	# install our testing package
 	install -D debian/test-pytz debian/python-tz/usr/lib/python-tz/test-pytz.py
 	# remove zoneinfo, our patch to pytz makes it use the one from tzdata
-	rm -rf debian/python-tz/usr/lib/python*/*-packages/pytz/zoneinfo
+	rm -rf debian/python*-tz/usr/lib/python*/*-packages/pytz/zoneinfo

--- End Message ---
--- Begin Message ---
Source: python-tz
Source-Version: 2011h-0.1

We believe that the bug you reported is fixed in the latest version of
python-tz, which is due to be installed in the Debian FTP archive:

python-tz_2011h-0.1.diff.gz
  to main/p/python-tz/python-tz_2011h-0.1.diff.gz
python-tz_2011h-0.1.dsc
  to main/p/python-tz/python-tz_2011h-0.1.dsc
python-tz_2011h-0.1_all.deb
  to main/p/python-tz/python-tz_2011h-0.1_all.deb
python-tz_2011h.orig.tar.gz
  to main/p/python-tz/python-tz_2011h.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Yaroslav Halchenko <[email protected]> (supplier of updated python-tz 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 13 Sep 2011 20:04:04 -0400
Source: python-tz
Binary: python-tz
Architecture: source all
Version: 2011h-0.1
Distribution: unstable
Urgency: low
Maintainer: Debian/Ubuntu Zope Team 
<[email protected]>
Changed-By: Yaroslav Halchenko <[email protected]>
Description: 
 python-tz  - Python version of the Olson timezone database
Closes: 616650
Changes: 
 python-tz (2011h-0.1) unstable; urgency=low
 .
   * Non-maintainer upload
   * New upstream release (Closes: #616650)
Checksums-Sha1: 
 05ed06c0fbad2141f091f4326bae222e57c344e6 1362 python-tz_2011h-0.1.dsc
 46d8c71eb06631bc50fc1671b7a071758655a236 238991 python-tz_2011h.orig.tar.gz
 491c35d5e43d959bb2fc81f55976477658691283 4529 python-tz_2011h-0.1.diff.gz
 c9bdf7663eb463238b4e943bde4f6ac481183855 46718 python-tz_2011h-0.1_all.deb
Checksums-Sha256: 
 ce6e0746fa629a2a8e69f445003b3781d4ab8dc67f6417a0f39b9b837dbd3148 1362 
python-tz_2011h-0.1.dsc
 f8de361a3c65533958ca4b6374353d0fd50108882c4e348c68e0d65e6ee3f064 238991 
python-tz_2011h.orig.tar.gz
 60ecec9b8d930ede8c93f488c76ac5233e11747a40494f8b070c2a7901aaae34 4529 
python-tz_2011h-0.1.diff.gz
 3bfb1b2cfb4747580ae5a638e14c28536013752b474ac0e00e0a85ad261ba1e9 46718 
python-tz_2011h-0.1_all.deb
Files: 
 97ac5dfcfa3f0f3592e6c50ff2f24b01 1362 python optional python-tz_2011h-0.1.dsc
 37248de48c28e1ae4ffb5ee47a298e4c 238991 python optional 
python-tz_2011h.orig.tar.gz
 227f3b62ea51e0f6ff41993157549d13 4529 python optional 
python-tz_2011h-0.1.diff.gz
 6bb7149dd0384ec74bc3aeb865100070 46718 python optional 
python-tz_2011h-0.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk5wDGMACgkQjRFFY3XAJMjd5wCfYmtT8wKfER29j2xuygybytI4
EfMAnRVTZilEZWZVJbP9aydQnb7rSSVB
=fjjk
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to