Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-MapProxy for openSUSE:Factory 
checked in at 2024-01-03 12:25:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-MapProxy (Old)
 and      /work/SRC/openSUSE:Factory/.python-MapProxy.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-MapProxy"

Wed Jan  3 12:25:17 2024 rev:10 rq:1135741 version:2.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-MapProxy/python-MapProxy.changes  
2023-09-25 20:03:26.518677037 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-MapProxy.new.28375/python-MapProxy.changes   
    2024-01-03 12:25:19.864229354 +0100
@@ -1,0 +2,27 @@
+Sat Dec 30 09:58:55 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Add mapproxy-pr846-nofreetype.patch gh#mapproxy/mapproxy#846
+- Provide the lowercase name for canonical dependency specs
+
+-------------------------------------------------------------------
+Fri Dec 29 21:33:39 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 2.0.0
+  ## Breaking:
+  * Removal of old unsupported python versions 3.7
+  * Tested python version range is now 3.8 to 3.11
+  * Lots of dependency updates
+  ## Improvements:
+  * Add S3 performance option to request via urllib2
+  * Allow md5 calls to work in FIPS environments
+  * Several Redis Cache enhancements
+  * Coverage support for caches
+  ## Fixes:
+  * Configure image options for caches (fixes erratically white
+    tiles when requesting multiple cached layers)
+  * Fix for Legends in JSON Format
+  * Some more minor fixup
+- Drop MapProxy-pr749-shapely2.patch
+- Drop MapProxy-pr750-Pillow10.patch
+
+-------------------------------------------------------------------

Old:
----
  MapProxy-1.16.0.tar.gz
  MapProxy-pr749-shapely2.patch
  MapProxy-pr750-Pillow10.patch

New:
----
  MapProxy-2.0.0.tar.gz
  mapproxy-pr846-nofreetype.patch

BETA DEBUG BEGIN:
  Old:  * Some more minor fixup
- Drop MapProxy-pr749-shapely2.patch
- Drop MapProxy-pr750-Pillow10.patch
  Old:- Drop MapProxy-pr749-shapely2.patch
- Drop MapProxy-pr750-Pillow10.patch
BETA DEBUG END:

BETA DEBUG BEGIN:
  New:
- Add mapproxy-pr846-nofreetype.patch gh#mapproxy/mapproxy#846
- Provide the lowercase name for canonical dependency specs
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-MapProxy.spec ++++++
--- /var/tmp/diff_new_pack.5LdcN4/_old  2024-01-03 12:25:20.544254201 +0100
+++ /var/tmp/diff_new_pack.5LdcN4/_new  2024-01-03 12:25:20.544254201 +0100
@@ -16,10 +16,15 @@
 #
 
 
-%bcond_without test
+%if 0%{?suse_version} >= 1550
+# Restrict to primary python on Tumbleweed
 %define pythons python3
+%else
+%{?sle15_python_module_pythons}
+%endif
+
 Name:           python-MapProxy
-Version:        1.16.0
+Version:        2.0.0
 Release:        0
 Summary:        Proxy for geospatial data
 License:        Apache-2.0
@@ -30,20 +35,18 @@
 Source1:        
https://github.com/mapproxy/mapproxy/raw/%{version}/mapproxy/test/system/fixture/cache.gpkg
 Source2:        
https://github.com/mapproxy/mapproxy/raw/%{version}/mapproxy/test/unit/polygons/polygons.geojson
 Source99:       python-MapProxy-rpmlintrc
-# PATCH-FIX-UPSTREAM MapProxy-pr749-shapely2.patch gh#mapproxy/mapproxy#749
-Patch0:         MapProxy-pr749-shapely2.patch
-# PATCH-FIX-UPSTREAM MapProxy-pr750-Pillow10.patch gh#mapproxy/mapproxy#750
-Patch1:         MapProxy-pr750-Pillow10.patch
+# PATCH-FIX-UPSTREAM mapproxy-pr846-nofreetype.patch gh#mapproxy/mapproxy#846
+Patch0:         mapproxy-pr846-nofreetype.patch
 BuildRequires:  %{python_module GDAL}
 BuildRequires:  %{python_module Pillow}
 BuildRequires:  %{python_module PyYAML >= 3.0}
-BuildRequires:  %{python_module base >= 3.7}
+BuildRequires:  %{python_module base >= 3.8}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-%if %{with test}
+# SECTION test
 BuildRequires:  %{python_module Paste}
 BuildRequires:  %{python_module Shapely >= 2}
 BuildRequires:  %{python_module WebTest}
@@ -58,14 +61,17 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module redis}
 BuildRequires:  %{python_module requests}
-BuildRequires:  libgeos_c1
+BuildRequires:  geos-devel
 BuildRequires:  proj
-%endif
-Requires:       libgeos_c1
+# /SECTION
+# MapProxy calls the GEOS libs libgeos and libgeos_c via ctypes in python 
scripts, undetected by rpm ld analyzer.
+# use requires_eq in order to be detectable by the python_subpackages rewriter
+%requires_eq    %(rpm -q --requires geos-devel | grep libgeos)
 Requires:       proj
 Requires:       python-Pillow
 Requires:       python-PyYAML >= 3.0
 Recommends:     python-Shapely >= 1.8
+Provides:       python-mapproxy = %{version}-%{release}
 BuildArch:      noarch
 Requires(post): update-alternatives
 Requires(postun):update-alternatives

++++++ MapProxy-1.16.0.tar.gz -> MapProxy-2.0.0.tar.gz ++++++
++++ 5217 lines of diff (skipped)


++++++ mapproxy-pr846-nofreetype.patch ++++++
diff --git a/mapproxy/test/unit/test_image_messages.py 
b/mapproxy/test/unit/test_image_messages.py
index 379491fc..7dbb0969 100644
--- a/mapproxy/test/unit/test_image_messages.py
+++ b/mapproxy/test/unit/test_image_messages.py
@@ -23,9 +23,13 @@ from mapproxy.image.message import TextDraw, message_image
 from mapproxy.image.opts import ImageOptions
 from mapproxy.tilefilter import watermark_filter
 
+import pytest
 
 PNG_FORMAT = ImageOptions(format="image/png")
 
+requires_freetype = pytest.mark.skipif(
+    not isinstance(ImageFont.load_default(), ImageFont.FreeTypeFont),
+    reason="Test expects the default Pillow FreeTypeFont")
 
 class TestTextDraw(object):
 
@@ -38,6 +42,7 @@ class TestTextDraw(object):
         assert total_box == boxes[0]
         assert len(boxes) == 1
 
+    @requires_freetype
     def test_multiline_ul(self):
         font = ImageFont.load_default()
         td = TextDraw("Hello\nWorld", font)
@@ -47,6 +52,7 @@ class TestTextDraw(object):
         assert total_box == (5, 7, 33, 28)
         assert boxes == [(5, 7, 30, 15), (5, 20, 33, 28)]
 
+    @requires_freetype
     def test_multiline_lr(self):
         font = ImageFont.load_default()
         td = TextDraw("Hello\nWorld", font, placement="lr")
@@ -56,6 +62,7 @@ class TestTextDraw(object):
         assert total_box == (67, 76, 95, 97)
         assert boxes == [(67, 76, 92, 84), (67, 89, 95, 97)]
 
+    @requires_freetype
     def test_multiline_center(self):
         font = ImageFont.load_default()
         td = TextDraw("Hello\nWorld", font, placement="cc")
@@ -65,6 +72,7 @@ class TestTextDraw(object):
         assert total_box == (36, 42, 64, 63)
         assert boxes == [(36, 42, 61, 50), (36, 55, 64, 63)]
 
+    @requires_freetype
     def test_unicode(self):
         font = ImageFont.load_default()
         td = TextDraw(u"Héllö\nWørld", font, placement="cc")
@@ -124,6 +132,7 @@ class TestMessageImage(object):
             15000,
         ]
 
+    @requires_freetype
     def test_message(self):
         image_opts = PNG_FORMAT.copy()
         image_opts.bgcolor = "#113399"

++++++ python-MapProxy-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.5LdcN4/_old  2024-01-03 12:25:20.864265893 +0100
+++ /var/tmp/diff_new_pack.5LdcN4/_new  2024-01-03 12:25:20.868266039 +0100
@@ -1,6 +1,3 @@
 # empty css file
 addFilter("zero-length.*framedCloud.css")
-# noarch package loads the library but no binary links
-addFilter("explicit-lib-dependency libgeos_c1")
-(No newline at EOF)
 

Reply via email to