Your message dated Thu, 03 May 2012 22:53:55 +0000
with message-id <e1sq4uj-0005pm...@franck.debian.org>
and subject line Bug#638303: fixed in prettytable 0.5-2
has caused the Debian Bug report #638303,
regarding prettytable: Addition of python3 package, migration to dh_python2/3
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 ow...@bugs.debian.org
immediately.)


-- 
638303: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638303
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: prettytable
Version: 0.5-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch



*** /tmp/tmpDmOGWT
In Ubuntu, the attached patch was applied to achieve the following:

  * Updates for Ubuntu MIR (LP: #825110).
    - debian/rules, debian/control: dh_python2 transition. 
    - debian/control: Bumped Standards-Version: 3.9.2, no changes.
  * Switched to source/format: 3.0 (quilt).
  * Added python3-prettytable package:
    - debian/rules, debian/control: dh_python3 enablement, added
      dependencies to support python3 package.
    - debian/control: added python3-prettytable package.
    - debian/rules: build and clean python2.x and python3 packages.
    - debian/prettytable-example.py: updated to be python3 compatible.

Thanks for considering the patch.

-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38-10-generic (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
=== modified file 'debian/changelog'

=== modified file 'debian/control'
--- debian/control      2009-05-27 09:14:57 +0000
+++ debian/control      2011-08-18 11:55:58 +0000
@@ -3,9 +3,9 @@
 Priority: optional
 Maintainer: Debian Python Modules Team 
<python-modules-team@lists.alioth.debian.org>
 Uploaders: Sandro Tosi <mo...@debian.org>
-Build-Depends: debhelper (>= 7), python, python-setuptools
-Build-Depends-Indep: python-support (>= 1.0.0)
-Standards-Version: 3.8.1
+Build-Depends: debhelper (>= 7.0.50~), python-all (>= 2.6.6-3~), python3-all 
(>= 3.1.3-3),
+ python-setuptools, python3-setuptools
+Standards-Version: 3.9.2
 Homepage: http://code.google.com/p/prettytable/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/prettytable/trunk/
 Vcs-Browser: 
http://svn.debian.org/viewsvn/python-modules/packages/prettytable/trunk/
@@ -20,3 +20,15 @@
  psql. PrettyTable allows for selection of which columns are to be
  printed, independent alignment of columns (left or right justified or
  centred) and printing of "sub-tables" by specifying a row range.
+
+Package: python3-prettytable
+Architecture: all
+Depends: ${python3:Depends}, ${misc:Depends}
+Description: Python3 library to represent tabular data in visually appealing 
ASCII tables
+ PrettyTable is a simple Python library designed to make it quick and
+ easy to represent tabular data in visually appealing ASCII tables. It
+ was inspired by the ASCII tables used in the PostgreSQL shell
+ psql. PrettyTable allows for selection of which columns are to be
+ printed, independent alignment of columns (left or right justified or
+ centred) and printing of "sub-tables" by specifying a row range.
+

=== modified file 'debian/prettytable-example.py'
--- debian/prettytable-example.py       2009-05-27 09:14:57 +0000
+++ debian/prettytable-example.py       2011-08-16 12:45:00 +0000
@@ -14,7 +14,7 @@
     x.add_row(["Sydney", 2058, 4336374, 1214.8])
     x.add_row(["Melbourne", 1566, 3806092, 646.9])
     x.add_row(["Perth", 5386, 1554769, 869.4])
-    print x
+    print(x)
 
 if __name__ == "__main__":
     main()

=== added file 'debian/python3-prettytable.examples'
--- debian/python3-prettytable.examples 1970-01-01 00:00:00 +0000
+++ debian/python3-prettytable.examples 2011-08-16 12:17:29 +0000
@@ -0,0 +1 @@
+debian/prettytable-example.py

=== modified file 'debian/rules'
--- debian/rules        2009-05-27 09:14:57 +0000
+++ debian/rules        2011-08-16 12:25:07 +0000
@@ -2,6 +2,30 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-
 %:
-       dh $@
+       dh $@ --with python2,python3
+
+override_dh_auto_install:
+       set -e && for pyvers in $(shell pyversions -vr); do \
+          python$$pyvers setup.py install --no-compile -O0 
--install-layout=deb \
+               --root $(CURDIR)/debian/python-prettytable; \
+           python$$pyvers $(CURDIR)/prettytable.py; \
+       done
+       2to3 -w $(CURDIR)/prettytable.py
+       set -e && for pyvers in $(shell py3versions -sv); do \
+           python$$pyvers setup.py install --no-compile -O0 
--install-layout=deb \
+               --root $(CURDIR)/debian/python3-prettytable; \
+           python$$pyvers $(CURDIR)/prettytable.py; \
+       done
+       mv $(CURDIR)/prettytable.py.bak $(CURDIR)/prettytable.py
+
+override_dh_auto_clean:
+       set -e && for pyvers in $(shell pyversions -vr); do \
+           python$$pyvers setup.py clean -a; \
+       done
+       set -e && for pyvers in $(shell py3versions -sv); do \
+           python$$pyvers setup.py clean -a; \
+       done
+       find . -name \*.pyc -exec rm {} \;
+       dh_clean
+

=== added directory 'debian/source'
=== added file 'debian/source/format'
--- debian/source/format        1970-01-01 00:00:00 +0000
+++ debian/source/format        2011-08-16 12:21:28 +0000
@@ -0,0 +1 @@
+3.0 (quilt)


--- End Message ---
--- Begin Message ---
Source: prettytable
Source-Version: 0.5-2

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

prettytable_0.5-2.debian.tar.gz
  to main/p/prettytable/prettytable_0.5-2.debian.tar.gz
prettytable_0.5-2.dsc
  to main/p/prettytable/prettytable_0.5-2.dsc
python-prettytable_0.5-2_all.deb
  to main/p/prettytable/python-prettytable_0.5-2_all.deb
python3-prettytable_0.5-2_all.deb
  to main/p/prettytable/python3-prettytable_0.5-2_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 638...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <mo...@debian.org> (supplier of updated prettytable 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 ftpmas...@debian.org)


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

Format: 1.8
Date: Tue, 01 May 2012 15:55:55 +0200
Source: prettytable
Binary: python-prettytable python3-prettytable
Architecture: source all
Version: 0.5-2
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team 
<python-modules-team@lists.alioth.debian.org>
Changed-By: Sandro Tosi <mo...@debian.org>
Description: 
 python-prettytable - library to represent tabular data in visually appealing 
ASCII tab
 python3-prettytable - library to represent tabular data in visually appealing 
ASCII tab
Closes: 638303
Changes: 
 prettytable (0.5-2) unstable; urgency=low
 .
   * debian/control
     - bump Standards-Version to 3.9.3 (no changes needed)
   * Provide python3 package; thanks to James Page for initial patch;
     Closes: #638303
   * debian/source/format
     - use 3.0 (quilt) source format
   * debian/copyright
     - move to DEP5 format
     - extend packaging copyright years
Checksums-Sha1: 
 9be044051b2d85ba58791ba5166ebf2fb57bc7c0 1536 prettytable_0.5-2.dsc
 b602caa80e72cc46c3ada635e32ea4baa558aff1 2990 prettytable_0.5-2.debian.tar.gz
 1208b0fec9e2fa39cf26dab6c27d97768fbe0574 8882 python-prettytable_0.5-2_all.deb
 a9c04929abd274cf9212bea498b0bdb1887b9655 8194 python3-prettytable_0.5-2_all.deb
Checksums-Sha256: 
 f1930955b9625077a234d44c52539de295a4a3cd059f3e494eddee12b0867574 1536 
prettytable_0.5-2.dsc
 18be4c08def36af455d9d819cc3f3524b75dbf97bb104b0c3c0afc7d9834e5c3 2990 
prettytable_0.5-2.debian.tar.gz
 68d1813bbc9c922e408d1eae860781f443c6a3ea0ed0a347640bd4c71b660f3d 8882 
python-prettytable_0.5-2_all.deb
 06833098e286ffa22d58e61399460f109e5e6a8d8693c083b413c61f7b55686d 8194 
python3-prettytable_0.5-2_all.deb
Files: 
 c000de19cef78ba3f51e7141d2e810ab 1536 python optional prettytable_0.5-2.dsc
 0adf52a095c453f8f4799974ce6c34c8 2990 python optional 
prettytable_0.5-2.debian.tar.gz
 8ca507e5d29308a193addabb1c475e6e 8882 python optional 
python-prettytable_0.5-2_all.deb
 734beecf1c8e0dee6713fbe544b04e84 8194 python optional 
python3-prettytable_0.5-2_all.deb

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

iEYEARECAAYFAk+f7MgACgkQAukwV0RN2VDj5gCglpdWKQucqpnAbvDhpqvJ4ac8
uu4AoIm65w8CMRfOpKcIbTdK9YFq7tvQ
=KiwF
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to