[Python-modules-commits] r23234 - in packages/python-dawg/trunk/debian (3 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Wed Jan 2 16:23:12 UTC 2013


    Date: Wednesday, January 2, 2013 @ 16:23:09
  Author: jwilk
Revision: 23234

New upstream release.

Modified:
  packages/python-dawg/trunk/debian/changelog
  packages/python-dawg/trunk/debian/patches/series
Deleted:
  packages/python-dawg/trunk/debian/patches/fix-encoding-issues.diff

Modified: packages/python-dawg/trunk/debian/changelog
===================================================================
--- packages/python-dawg/trunk/debian/changelog	2013-01-02 15:27:26 UTC (rev 23233)
+++ packages/python-dawg/trunk/debian/changelog	2013-01-02 16:23:09 UTC (rev 23234)
@@ -1,4 +1,4 @@
-python-dawg (0.5.1-1) UNRELEASED; urgency=low
+python-dawg (0.5.2-1) UNRELEASED; urgency=low
 
   * Initial release (closes: #695289).
 

Deleted: packages/python-dawg/trunk/debian/patches/fix-encoding-issues.diff
===================================================================
--- packages/python-dawg/trunk/debian/patches/fix-encoding-issues.diff	2013-01-02 15:27:26 UTC (rev 23233)
+++ packages/python-dawg/trunk/debian/patches/fix-encoding-issues.diff	2013-01-02 16:23:09 UTC (rev 23234)
@@ -1,30 +0,0 @@
-Description: fix encoding issues in setup.py
- setup.py tries to open UTF-8-encoded files without passing encoding to open(),
- which fails with Python 3 and LC_ALL=C. This patch fixes this problem.
-Author: Jakub Wilk <jwilk at debian.org>
-Bug: https://github.com/kmike/DAWG/issues/7
-Last-Update: 2012-12-20
-
---- a/setup.py
-+++ b/setup.py
-@@ -3,11 +3,19 @@
- from distutils.core import setup
- from distutils.extension import Extension
- 
-+def read_utf8_file(path):
-+    try:
-+        file = open(path, encoding='utf8')
-+    except TypeError:
-+        file = open(path)
-+    with file:
-+        return file.read()
-+
- setup(
-     name="DAWG",
-     version="0.5.1",
-     description="Fast and memory efficient DAWG for Python",
--    long_description = open('README.rst').read() + open('CHANGES.rst').read(),
-+    long_description = read_utf8_file('README.rst') + read_utf8_file('CHANGES.rst'),
-     author='Mikhail Korobov',
-     author_email='kmike84 at gmail.com',
-     url='https://github.com/kmike/DAWG/',

Modified: packages/python-dawg/trunk/debian/patches/series
===================================================================
--- packages/python-dawg/trunk/debian/patches/series	2013-01-02 15:27:26 UTC (rev 23233)
+++ packages/python-dawg/trunk/debian/patches/series	2013-01-02 16:23:09 UTC (rev 23234)
@@ -1,2 +1 @@
-fix-encoding-issues.diff
 use-system-libraries.diff




More information about the Python-modules-commits mailing list