Bas Couwenberg pushed to branch master at Debian GIS Project / mapproxy
Commits: 90539830 by Bas Couwenberg at 2019-08-27T16:31:36Z Add upstream patch to fix WMS Capabilties with Python 3.7. (closes: #935887) - - - - - 1b16543c by Bas Couwenberg at 2019-08-27T16:47:29Z Set distribution to unstable. - - - - - 3 changed files: - debian/changelog - + debian/patches/0001-wms-fix-capabilities-on-Windows-for-Python-3.6.7.patch - debian/patches/series Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +mapproxy (1.11.1-2) unstable; urgency=medium + + * Add upstream patch to fix WMS Capabilties with Python 3.7. + (closes: #935887) + + -- Bas Couwenberg <[email protected]> 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,0 +1,51 @@ +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 <[email protected]> +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 ===================================== @@ -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 View it on GitLab: https://salsa.debian.org/debian-gis-team/mapproxy/compare/2aec124abb652847e663d7d7004193ccf1db9b3f...1b16543cfa0abe02f03eba5a0b12bef7787b62a7 -- View it on GitLab: https://salsa.debian.org/debian-gis-team/mapproxy/compare/2aec124abb652847e663d7d7004193ccf1db9b3f...1b16543cfa0abe02f03eba5a0b12bef7787b62a7 You're receiving this email because of your account on salsa.debian.org.
_______________________________________________ Pkg-grass-devel mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-grass-devel
