summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Delaney <idella4@gentoo.org>2014-09-07 12:53:56 +0000
committerIan Delaney <idella4@gentoo.org>2014-09-07 12:53:56 +0000
commit405f0f5416426057dbfc178dc49005d267db01f4 (patch)
tree461e58298c758ea7b0f39821aebe294d96aff6a7 /dev-python/geopy/files
parentRemove masked for removal package (diff)
downloadhistorical-405f0f5416426057dbfc178dc49005d267db01f4.tar.gz
historical-405f0f5416426057dbfc178dc49005d267db01f4.tar.bz2
historical-405f0f5416426057dbfc178dc49005d267db01f4.zip
patch to fix failing test under py3
Package-Manager: portage-2.2.10/cvs/Linux x86_64 Manifest-Sign-Key: 0xB8072B0D
Diffstat (limited to 'dev-python/geopy/files')
-rw-r--r--dev-python/geopy/files/1.1.3-formatpy3.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/dev-python/geopy/files/1.1.3-formatpy3.patch b/dev-python/geopy/files/1.1.3-formatpy3.patch
new file mode 100644
index 000000000000..35c0b0f30c4f
--- /dev/null
+++ b/dev-python/geopy/files/1.1.3-formatpy3.patch
@@ -0,0 +1,15 @@
+https://github.com/geopy/geopy/commit/fe0cd3c6c92b7d7ac47cb2292260485c5b3791c1
+diff --git a/geopy/format.py b/geopy/format.py
+index 965a127..63b1e94 100644
+--- a/geopy/format.py
++++ b/geopy/format.py
+@@ -30,7 +30,7 @@
+ ABBR_ARCSEC = 'arcsec'
+
+ DEGREES_FORMAT = (
+- "%(degrees)d%(deg)s %(minutes)d%(arcmin)s %(seconds)s%(arcsec)s"
++ "%(degrees)d%(deg)s %(minutes)d%(arcmin)s %(seconds)g%(arcsec)s"
+ )
+
+ UNICODE_SYMBOLS = {
+