[Python-modules-commits] [osmalchemy] 01/02: Add patch for build under C locale.

Dominik George natureshadow-guest at moszumanska.debian.org
Thu Sep 22 13:04:18 UTC 2016


This is an automated email from the git hooks/post-receive script.

natureshadow-guest pushed a commit to branch master
in repository osmalchemy.

commit e426df71d6290d231931d5d472154c6634c3db2e
Author: Dominik George <nik at naturalnet.de>
Date:   Thu Sep 22 14:56:25 2016 +0200

    Add patch for build under C locale.
---
 debian/patches/series                       |  1 +
 debian/patches/setup-fix-encoding-bug.patch | 14 ++++++++++++++
 2 files changed, 15 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6a7be37
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+setup-fix-encoding-bug.patch
diff --git a/debian/patches/setup-fix-encoding-bug.patch b/debian/patches/setup-fix-encoding-bug.patch
new file mode 100644
index 0000000..d097203
--- /dev/null
+++ b/debian/patches/setup-fix-encoding-bug.patch
@@ -0,0 +1,14 @@
+Description: Fix encoding bug when building in non-UTF-8 locale
+Author: Dominik George <nik at naturalnet.de>
+Bug: https://github.com/Veripeditus/OSMAlchemy/issues/7
+--- a/setup.py
++++ b/setup.py
+@@ -38,7 +38,7 @@ setup(
+     version = '0.1.post1',
+     keywords = ['osm', 'openstreetmap', 'proxy', 'caching', 'orm'],
+     description = 'OpenStreetMap to SQLAlchemy bridge',
+-    long_description = open(os.path.join(MYDIR, "README.rst"), "r").read(),
++    long_description = open(os.path.join(MYDIR, "README.rst"), "r", encoding="utf-8").read(),
+     url = 'https://github.com/Natureshadow/OSMAlchemy',
+ 
+     # Author information

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/osmalchemy.git



More information about the Python-modules-commits mailing list