Hi,
Here is a patch to fix the run error and test error with python3.8
of geo/mapproxy.
Without this patch , 10 tests report error. With the patch 0 fail.
Cheers !
wen
Index: Makefile
===================================================================
RCS file: /cvs/ports/geo/mapproxy/Makefile,v
retrieving revision 1.20
diff -u -p -r1.20 Makefile
--- Makefile 3 Jul 2020 21:12:54 -0000 1.20
+++ Makefile 9 Jul 2020 12:47:50 -0000
@@ -5,7 +5,7 @@ COMMENT = GIS WMTS/TMS tile caching serv
MODPY_EGG_VERSION = 1.12.0
DISTNAME = MapProxy-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:L}
-REVISION = 1
+REVISION = 2
CATEGORIES = geo www
Index: patches/patch-mapproxy_service_template_helper_py
===================================================================
RCS file: patches/patch-mapproxy_service_template_helper_py
diff -N patches/patch-mapproxy_service_template_helper_py
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ patches/patch-mapproxy_service_template_helper_py 9 Jul 2020 12:47:50
-0000
@@ -0,0 +1,15 @@
+$OpenBSD$
+cgi.escape has been deprecated since python 3.2 and removed in 3.8.
+
+Index: mapproxy/service/template_helper.py
+--- mapproxy/service/template_helper.py.orig
++++ mapproxy/service/template_helper.py
+@@ -13,7 +13,7 @@
+ # See the License for the specific language governing permissions and
+ # limitations under the License.
+
+-from cgi import escape
++from html import escape
+ from mapproxy.template import bunch
+
+ __all__ = ['escape', 'indent', 'bunch', 'wms100format', 'wms100info_format',