Your message dated Fri, 21 Oct 2011 19:36:39 +0000
with message-id <[email protected]>
and subject line Bug#641506: fixed in python-tz 2011h-1
has caused the Debian Bug report #641506,
regarding Please provide py3k support
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.)
--
641506: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641506
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-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-1.debian.tar.gz
to main/p/python-tz/python-tz_2011h-1.debian.tar.gz
python-tz_2011h-1.dsc
to main/p/python-tz/python-tz_2011h-1.dsc
python-tz_2011h-1_all.deb
to main/p/python-tz/python-tz_2011h-1_all.deb
python3-tz_2011h-1_all.deb
to main/p/python-tz/python3-tz_2011h-1_all.deb
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.
Arnaud Fontaine <[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: Fri, 21 Oct 2011 14:53:37 +0900
Source: python-tz
Binary: python-tz python3-tz
Architecture: source all
Version: 2011h-1
Distribution: unstable
Urgency: low
Maintainer: Debian/Ubuntu Zope Team
<[email protected]>
Changed-By: Arnaud Fontaine <[email protected]>
Description:
python-tz - Python version of the Olson timezone database
python3-tz - Python3 version of the Olson timezone database
Closes: 579704 599047 617041 641506
Changes:
python-tz (2011h-1) unstable; urgency=low
.
* Team upload.
.
[ Arnaud Fontaine ]
* debian/watch:
- fix URL.
* debian/patches/tzdata:
- update following new upstream release.
- Add missing patch for tzfile.py. Thanks to Matt Giuca (Closes: #579704)
* Add Python3 support. Thanks to Stefano Rivera (Closes: #641506)
* Add debian/clean to get rid of egg-info/* to prevent FTBFS if
built twice.
.
[ Gediminas Paulauskas ]
* Switch to dh_python2 (Closes: #617041):
* Switch to source format 3.0 (quilt)
* debian/control:
- build-depend on python-all (not -dev)
- remove Build-Depends on python-central, python-van.pydeb and quilt
- add Vcs-Browser
* debian/patches/tzdata: also remove import of pkg_resources (Closes:
#599047)
* debian/copyright: rewrite in dep5 format.
Checksums-Sha1:
16e5133471eaeb8337276ce5751c5b23da869fc6 1459 python-tz_2011h-1.dsc
e3027f73f0c93bc4b0312a9e8d1e04e8706163be 5239 python-tz_2011h-1.debian.tar.gz
c3b5397fe3f3755726bcebce7430ac341188e589 46222 python-tz_2011h-1_all.deb
dbca378d455478f1c7594bdd29fe5ef7adb1a0ef 31066 python3-tz_2011h-1_all.deb
Checksums-Sha256:
acbedbd0cb9e29b2ef91dd5bb96ecffb8d8e8a70c8d9607e07f6f22bf573c7ae 1459
python-tz_2011h-1.dsc
db63a7f3f79e403f09daa9c75dd4688a22705b2472b8bcc024e2bb5eb0baf96d 5239
python-tz_2011h-1.debian.tar.gz
023c861d3fd7a2087bd492e65c5e938cdb8e982d0b84343bf26c546d234b28a4 46222
python-tz_2011h-1_all.deb
be191e89c5992e4a53ee5e5b5781d70e2708d593fa44388dee1f2c2594c40b33 31066
python3-tz_2011h-1_all.deb
Files:
578ff95b4364c3098233f1538f1d87b4 1459 python optional python-tz_2011h-1.dsc
afef197e606af23475d5fa7af276efbf 5239 python optional
python-tz_2011h-1.debian.tar.gz
e1aa1747967a97e8ac3766c190e37ef8 46222 python optional
python-tz_2011h-1_all.deb
728bb74db19c9476afbcb82c7bb30847 31066 python optional
python3-tz_2011h-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iEYEARECAAYFAk6hGugACgkQvfKiIF42GdNI0QCfZWWdxiHVF61F53XLsVxMVoGL
6o8AoIKmcv+ZWRrgc+V0/c5L0PNY2KMJ
=wOOO
-----END PGP SIGNATURE-----
--- End Message ---