[Python-modules-commits] [python-overpy] 01/01: add debian/patches/no-utf8-in-long-description.patch

Sandro Tosi morph at moszumanska.debian.org
Thu Aug 4 19:46:37 UTC 2016


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

morph pushed a commit to branch master
in repository python-overpy.

commit beeee387548e3d644b237e375913fbc54cd6b5c7
Author: Sandro Tosi <morph at debian.org>
Date:   Thu Aug 4 20:42:30 2016 +0100

    add debian/patches/no-utf8-in-long-description.patch
---
 debian/patches/no-utf8-in-long-description.patch | 23 +++++++++++++++++++++++
 debian/patches/series                            |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/no-utf8-in-long-description.patch b/debian/patches/no-utf8-in-long-description.patch
new file mode 100644
index 0000000..93ea9ff
--- /dev/null
+++ b/debian/patches/no-utf8-in-long-description.patch
@@ -0,0 +1,23 @@
+Description: remove UTF8 characters from README, makes the package FTBFS in pbuilder
+
+--- a/README.rst
++++ b/README.rst
+@@ -80,14 +80,14 @@ Helper methods are available to provide
+ 
+     # 3600062594 is the OSM id of Chemnitz and is the bounding box for the request
+     street = overpy.helper.get_street(
+-        "Straße der Nationen",
++        "Strasse der Nationen",
+         "3600062594"
+     )
+ 
+-    # this finds an intersection between Straße der Nationen and Carolastraße in Chemnitz
++    # this finds an intersection between Strasse der Nationen and Carolastrasse in Chemnitz
+     intersection = overpy.helper.get_intersection(
+-        "Straße der Nationen",
+-        "Carolastraße",
++        "Strasse der Nationen",
++        "Carolastrasse",
+         "3600062594"
+     )
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..3ed79c7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+no-utf8-in-long-description.patch

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



More information about the Python-modules-commits mailing list