[Python-modules-commits] r31985 - in packages/python-pkginfo/trunk/debian (4 files)

zyga-guest at users.alioth.debian.org zyga-guest at users.alioth.debian.org
Tue Mar 10 11:01:12 UTC 2015


    Date: Tuesday, March 10, 2015 @ 11:01:12
  Author: zyga-guest
Revision: 31985

* New upstream release 
* debian/patches/fix-tests-on-python3.4: drop, applied upstream
* debian/patches/fix-configparser-import: ditto
* NOTE: Tests fail https://bugs.launchpad.net/pkginfo/+bug/1430255 so
  postponing further work 

Modified:
  packages/python-pkginfo/trunk/debian/changelog
Deleted:
  packages/python-pkginfo/trunk/debian/patches/fix-configparser-import
  packages/python-pkginfo/trunk/debian/patches/fix-tests-on-python3.4
  packages/python-pkginfo/trunk/debian/patches/series

Modified: packages/python-pkginfo/trunk/debian/changelog
===================================================================
--- packages/python-pkginfo/trunk/debian/changelog	2015-03-10 10:38:34 UTC (rev 31984)
+++ packages/python-pkginfo/trunk/debian/changelog	2015-03-10 11:01:12 UTC (rev 31985)
@@ -1,8 +1,13 @@
-python-pkginfo (1.1-3) UNRELEASED; urgency=medium
+python-pkginfo (1.2.1-1) UNRELEASED; urgency=medium
 
+  * New upstream release 
   * debian/watch: use the new pypi redirector
+  * debian/patches/fix-tests-on-python3.4: drop, applied upstream
+  * debian/patches/fix-configparser-import: ditto
+  * NOTE: Tests fail https://bugs.launchpad.net/pkginfo/+bug/1430255 so
+    postponing further work 
 
- -- Zygmunt Krynicki <zygmunt.krynicki at canonical.com>  Tue, 10 Mar 2015 11:38:06 +0100
+ -- Zygmunt Krynicki <zygmunt.krynicki at canonical.com>  Tue, 10 Mar 2015 11:42:58 +0100
 
 python-pkginfo (1.1-2) unstable; urgency=medium
 

Deleted: packages/python-pkginfo/trunk/debian/patches/fix-configparser-import
===================================================================
--- packages/python-pkginfo/trunk/debian/patches/fix-configparser-import	2015-03-10 10:38:34 UTC (rev 31984)
+++ packages/python-pkginfo/trunk/debian/patches/fix-configparser-import	2015-03-10 11:01:12 UTC (rev 31985)
@@ -1,23 +0,0 @@
-Description: Fix configparser import to work on python3
- This patch fixes the way the ConfigParser class is imported to work
- on both the python2.x stdlib and python3.x stdlib. 
-Author: Zygmunt Krynicki <zygmunt.krynicki at canonical.com>
-Bug-Ubuntu: https://bugs.launchpad.net/pkginfo/+bug/1367434 
-Forwarded: yes 
-Last-Update: 2014-09-09
-
---- python-pkginfo-1.1.orig/pkginfo/commandline.py
-+++ python-pkginfo-1.1/pkginfo/commandline.py
-@@ -16,7 +16,11 @@ o a "develop" checkout:  in ths case,  '
- o an installed package:  in this case, 'path' should be the importable name
-   of the package.
- """
--from ConfigParser import ConfigParser
-+import sys
-+if sys.version_info[0] == 3:
-+    from configparser import ConfigParser
-+else:
-+    from ConfigParser import ConfigParser
- from csv import writer
- import optparse
- import os

Deleted: packages/python-pkginfo/trunk/debian/patches/fix-tests-on-python3.4
===================================================================
--- packages/python-pkginfo/trunk/debian/patches/fix-tests-on-python3.4	2015-03-10 10:38:34 UTC (rev 31984)
+++ packages/python-pkginfo/trunk/debian/patches/fix-tests-on-python3.4	2015-03-10 11:01:12 UTC (rev 31985)
@@ -1,19 +0,0 @@
-Description: Fix tests failing on python3.4
- This patch corrects tests that contained hard-coded check for python3.3
- where the (presumed) intent was to just test for >= 3.3.
-
-Bug-Ubuntu: https://bugs.launchpad.net/pkginfo/+bug/1367436
-Forwarded: yes 
-Last-Update: 2014-09-09
-
---- python-pkginfo-1.1.orig/pkginfo/tests/test_installed.py
-+++ python-pkginfo-1.1/pkginfo/tests/test_installed.py
-@@ -41,7 +41,7 @@ class InstalledTests(unittest.TestCase):
-         installed = self._makeOne(wsgiref)
-         self.assertEqual(installed.package, wsgiref)
-         self.assertEqual(installed.package_name, 'wsgiref')
--        if sys.version_info[:2] == (3, 3):
-+        if sys.version_info[:2] >= (3, 3):
-             self.assertEqual(installed.metadata_version, None)
-         else:
-             self.assertEqual(installed.metadata_version, '1.0')

Deleted: packages/python-pkginfo/trunk/debian/patches/series
===================================================================
--- packages/python-pkginfo/trunk/debian/patches/series	2015-03-10 10:38:34 UTC (rev 31984)
+++ packages/python-pkginfo/trunk/debian/patches/series	2015-03-10 11:01:12 UTC (rev 31985)
@@ -1,2 +0,0 @@
-fix-tests-on-python3.4
-fix-configparser-import




More information about the Python-modules-commits mailing list