Your message dated Mon, 31 Mar 2014 13:00:06 +0000
with message-id <[email protected]>
and subject line Bug#738327: fixed in python-iso8601 0.1.10-0.1
has caused the Debian Bug report #738327,
regarding please add support for python3 inpython-iso8601
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.)


-- 
738327: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=738327
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-iso8601
Version: 0.1.8-0.1
Severity: wishlist
Tags: patch

Dear Benjamin,

On some of OpenStack packages, I wish to add support for Python3, however
the lack of Python3 support in python-iso8601 is currently a blocker.

Attached to this bug repport, you will find a debdiff which adds support
for Python3. Unfortunately, this has been done using Debhelper, because
I don't really know CDBS. If there's a way to do it with CDBS and you
wish to continue using it, then great. Otherwise, you can apply the
attached patch if you find it ok.

If you don't have time to do this work, let me know if I can NMU the
Python3 support, as per the attached patch.

Cheers,

Thomas Goirand (zigo)
diff -Nru python-iso8601-0.1.8/debian/changelog python-iso8601-0.1.8/debian/changelog
--- python-iso8601-0.1.8/debian/changelog	2013-12-18 06:29:45.000000000 +0800
+++ python-iso8601-0.1.8/debian/changelog	2014-02-09 16:03:39.000000000 +0800
@@ -1,3 +1,12 @@
+python-iso8601 (0.1.8-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Added support for Python 3.x.
+  * Upgraded to debhelper and compat 9.
+  * Standards-Version: is now 3.9.5.
+
+ -- Thomas Goirand <[email protected]>  Sun, 09 Feb 2014 15:55:50 +0800
+
 python-iso8601 (0.1.8-1) unstable; urgency=low
 
   * New upstream version. (Closes: #732284)
diff -Nru python-iso8601-0.1.8/debian/compat python-iso8601-0.1.8/debian/compat
--- python-iso8601-0.1.8/debian/compat	2013-12-18 06:29:45.000000000 +0800
+++ python-iso8601-0.1.8/debian/compat	2014-02-09 15:56:28.000000000 +0800
@@ -1 +1 @@
-7
+9
diff -Nru python-iso8601-0.1.8/debian/control python-iso8601-0.1.8/debian/control
--- python-iso8601-0.1.8/debian/control	2013-12-18 06:30:26.000000000 +0800
+++ python-iso8601-0.1.8/debian/control	2014-02-09 16:04:35.000000000 +0800
@@ -2,19 +2,36 @@
 Section: python
 Priority: extra
 Maintainer: Benjamin Mako Hill <[email protected]>
-Build-Depends: cdbs, debhelper (>= 7.0.50~), python-all
+Build-Depends: debhelper (>= 9),
+               python-all (>= 2.6.6-3~),
+               python-pytest,
+               python-setuptools,
+               python3-all (>= 3.2),
+               python3-setuptools
 Build-Depends-Indep: python-support (>=0.90)
-Standards-Version: 3.9.4
+Standards-Version: 3.9.5
 Homepage: https://code.google.com/p/pyiso8601
 
 Package: python-iso8601
 Architecture: all
-Depends: ${python:Depends}, ${misc:Depends}
+Depends: ${misc:Depends}, ${python:Depends}
 Provides: ${python:Provides}
-Description: python module to parse ISO 8601 dates
+Description: python module to parse ISO 8601 dates - Python 2.x
  Many file formats and standards use the ISO 8601 date format
  (e.g. 2007-01-14T20:34:22+00:00) to store dates in a neutral,
  unambiguous manner. This simple Python module parses the most common
  forms encountered and returns Python datetime objects.
+ .
+ This package provides the Python 2.x module.
 
-
+Package: python3-iso8601
+Architecture: all
+Depends: ${misc:Depends}, ${python3:Depends}
+Provides: ${python3:Provides}
+Description: python module to parse ISO 8601 dates - Python 3.x
+ Many file formats and standards use the ISO 8601 date format
+ (e.g. 2007-01-14T20:34:22+00:00) to store dates in a neutral,
+ unambiguous manner. This simple Python module parses the most common
+ forms encountered and returns Python datetime objects.
+ .
+ This package provides the Python 3.x module.
diff -Nru python-iso8601-0.1.8/debian/copyright python-iso8601-0.1.8/debian/copyright
--- python-iso8601-0.1.8/debian/copyright	2013-12-18 06:29:45.000000000 +0800
+++ python-iso8601-0.1.8/debian/copyright	2014-02-09 15:59:54.000000000 +0800
@@ -40,4 +40,3 @@
 The Debian packaging is:
 
     Copyright (C) 2011 Benjamin Mako Hill <[email protected]>
-
diff -Nru python-iso8601-0.1.8/debian/rules python-iso8601-0.1.8/debian/rules
--- python-iso8601-0.1.8/debian/rules	2013-12-18 07:08:14.000000000 +0800
+++ python-iso8601-0.1.8/debian/rules	2014-02-09 16:05:22.000000000 +0800
@@ -1,9 +1,17 @@
 #!/usr/bin/make -f
 
-DEB_PYTHON_SYSTEM=pysupport
+PYTHONS:=$(shell pyversions -vr)
+PYTHON3S:=$(shell py3versions -vr)
 
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/python-distutils.mk
+%:
+	dh $@ --buildsystem=python_distutils --with python2,python3
 
-clean::
-	rm -rf iso8601.egg-info
+override_dh_auto_install:
+	set -e && for pyvers in $(PYTHONS); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python-iso8601; \
+        done
+	set -e && for pyvers in $(PYTHON3S); do \
+		python$$pyvers setup.py install --install-layout=deb \
+			--root $(CURDIR)/debian/python3-iso8601; \
+	done

--- End Message ---
--- Begin Message ---
Source: python-iso8601
Source-Version: 0.1.10-0.1

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

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.
Thomas Goirand <[email protected]> (supplier of updated python-iso8601 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: SHA256

Format: 1.8
Date: Wed, 12 Mar 2014 14:15:58 +0000
Source: python-iso8601
Binary: python-iso8601 python3-iso8601
Architecture: source all
Version: 0.1.10-0.1
Distribution: unstable
Urgency: medium
Maintainer: Benjamin Mako Hill <[email protected]>
Changed-By: Thomas Goirand <[email protected]>
Description: 
 python-iso8601 - python module to parse ISO 8601 dates - Python 2.x
 python3-iso8601 - python module to parse ISO 8601 dates - Python 3.x
Closes: 738327 740311
Changes: 
 python-iso8601 (0.1.10-0.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * New upstream release (Closes: #740311).
   * Added Python3 support (Closes: #738327).
   * Switch away from python-support which is deprecated, use dh short style
     and python-setuptools instead.
   * Running the unit tests using pytest.
   * debian/copyright in parseable format 1.0.
Checksums-Sha1: 
 153c658f635967de7fe10676b30b02e795a82f93 1974 python-iso8601_0.1.10-0.1.dsc
 523f48ec579c49c0c1496c094282b684e07d4b36 8405 python-iso8601_0.1.10.orig.tar.gz
 db758b68771e132dd17513f0df4f8e56e2322b96 2724 
python-iso8601_0.1.10-0.1.debian.tar.xz
 788bffe0c68cd6afc2b1fbd2cd973e595f31d2d5 12042 
python-iso8601_0.1.10-0.1_all.deb
 dbd9d3571b2206664935c07c5527b1640ef4305f 9016 
python3-iso8601_0.1.10-0.1_all.deb
Checksums-Sha256: 
 b610c720fbd4b61fa405639513457952f8f82cb94ec63a58c790d739a6e2a46f 1974 
python-iso8601_0.1.10-0.1.dsc
 e712ff3a18604833f5073e836aad795b21170b19bbef70947c441ed89d0ac0e1 8405 
python-iso8601_0.1.10.orig.tar.gz
 f15b6970e2b9ccef169d514acd139a26d8c53099ebf9c368b112ea250bc6fa14 2724 
python-iso8601_0.1.10-0.1.debian.tar.xz
 cf0f44b1cc9d30ca9729c347ccdb05eb14a8ef1709877132f59f9e743957d8d6 12042 
python-iso8601_0.1.10-0.1_all.deb
 29d0f097acf4b5083357dc6c95ec3aa3c9ef168ec271813bde34fe39f07aa128 9016 
python3-iso8601_0.1.10-0.1_all.deb
Files: 
 7c26cd1ce256bea47456dd65bd879e61 1974 python extra 
python-iso8601_0.1.10-0.1.dsc
 23acb1029acfef9c32069c6c851c3a41 8405 python extra 
python-iso8601_0.1.10.orig.tar.gz
 c9815c5ee687603e60bd2848ebda4fbc 2724 python extra 
python-iso8601_0.1.10-0.1.debian.tar.xz
 2dcf688912abc79e05abea05e75e367e 12042 python extra 
python-iso8601_0.1.10-0.1_all.deb
 0e4f0c503c536f148a93546c2904e989 9016 python extra 
python3-iso8601_0.1.10-0.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJTNSpVAAoJENQWrRWsa0P+/dsP/A5U/q06i78LOFhXIM5H+RaV
Qmcs+wuOozzxNdeiAwdCs8X/a55PeGB702Jfx5tKGPWea5Dby2OgXbuwePZuJdKe
vJAQRAN3hqUX/rKjG/uajkbfU8t8hIZcyo54c67IAv9xbLYqqJfM0VeJ4Aqd2CoJ
m9d6bQAJWixwP5ESH4i2lPT22M7Zr6tFRUnz9+2pl7ByNHJC6y4CVE4m0y8Eikai
7r2EvW8kLJJ8/e3zt4Msv+KgfNzZY/GJzmdqSR5dEHq7TSIFvEWtCpaAd9LU1HHg
smJLk7kR5aeVFOCsvYl4v7LUPO9f7rQCddRQKyF/rew0/3RJPz6Pzq8482VkvwKZ
/GjdwKal0bK9cWUvAYTlaeexzqJsCvw650yfG2Tm9xKY+pPdw/mLtM6FTFV+N3hi
t5SCUe5nfMsMgmSxB7fRlWPhA7q0S8VqyYgU8GNn5cQw8wXbLD+/W0k9aFSYLNCm
KvGtmGghoX1Kqdg3mXE+w/6TPjioK3sD/fRl15+X/a9Efmbh2zOOQokXdviKkJE6
lgGLgmia+c6H2WaAi3farS+gLZL2MS+BhwxpYwaC7xLdWUBF7jAgUiUSOJwJ5qhp
mLhjMsQ0+5BNOsyqj8EWmnWbbi+QWdzgL4L3I+Mg6MxY0HPANNS/1mhc4r+G9ZYN
tK36FHs0MsQBvCUOlc8T
=GrTd
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to