Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
Add upstream patch to fix WMS Capabilties with Python 3.7. (closes: #935887)
· 90539830
Bas Couwenberg
authored
Aug 27, 2019
90539830
Set distribution to unstable.
· 1b16543c
Bas Couwenberg
authored
Aug 27, 2019
1b16543c
Hide whitespace changes
Inline
Side-by-side
debian/changelog
View file @
1b16543c
mapproxy (1.11.1-2) unstable; urgency=medium
* Add upstream patch to fix WMS Capabilties with Python 3.7.
(closes: #935887)
-- Bas Couwenberg <sebastic@debian.org> Tue, 27 Aug 2019 18:47:19 +0200
mapproxy (1.11.1-1) unstable; urgency=high
* New upstream release.
...
...
debian/patches/0001-wms-fix-capabilities-on-Windows-for-Python-3.6.7.patch
0 → 100644
View file @
1b16543c
Description: wms: fix capabilities on Windows for Python >=3.6.7
Tempita does not correctly parses function signature on Windows with
recent Python versions. Likely introduced with changes in Python
tokenizer package with 3.6.7.. Use keyword arg as workaround.
Author: Oliver Tonnhofer <olt@bogosoft.com>
Origin: https://github.com/mapproxy/mapproxy/commit/81c84d47bbc77da324c36ca718fbca7dde1c1c66
--- a/mapproxy/service/templates/wms100capabilities.xml
+++ b/mapproxy/service/templates/wms100capabilities.xml
@@ -66,7 +66,7 @@
</Format>
</Exception>
-{{def layer_capabilities(layer, with_srs)}}
+{{def layer_capabilities(layer, with_srs=False)}}
<Layer{{if layer.queryable}} queryable="1"{{endif}}>
{{if layer.name}}
<Name>{{ layer.name }}</Name>
--- a/mapproxy/service/templates/wms110capabilities.xml
+++ b/mapproxy/service/templates/wms110capabilities.xml
@@ -101,7 +101,7 @@
</VendorSpecificCapabilities>
{{endif}}
-{{def layer_capabilities(layer, with_srs)}}
+{{def layer_capabilities(layer, with_srs=False)}}
<Layer{{if layer.queryable}} queryable="1"{{endif}}>
{{if layer.name}}
<Name>{{ layer.name }}</Name>
--- a/mapproxy/service/templates/wms111capabilities.xml
+++ b/mapproxy/service/templates/wms111capabilities.xml
@@ -113,7 +113,7 @@
</VendorSpecificCapabilities>
{{endif}}
-{{def layer_capabilities(layer, with_srs)}}
+{{def layer_capabilities(layer, with_srs=False)}}
<Layer{{if layer.queryable}} queryable="1"{{endif}}>
{{if layer.name}}
<Name>{{ layer.name }}</Name>
--- a/mapproxy/service/templates/wms130capabilities.xml
+++ b/mapproxy/service/templates/wms130capabilities.xml
@@ -196,7 +196,7 @@
{{endif}}
</inspire_vs:ExtendedCapabilities>
{{endif}}
-{{def layer_capabilities(layer, with_srs)}}
+{{def layer_capabilities(layer, with_srs=False)}}
{{py: md = bunch(default='', **layer.md)}}
<Layer{{if layer.queryable}} queryable="1"{{endif}}>
debian/patches/series
View file @
1b16543c
...
...
@@ -3,3 +3,4 @@ disable-tag_date.patch
skip-tests-for-missing-files.patch
python3.7-async.patch
spelling-errors.patch
0001-wms-fix-capabilities-on-Windows-for-Python-3.6.7.patch