Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-Shapely for openSUSE:Factory 
checked in at 2021-04-19 21:06:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Shapely (Old)
 and      /work/SRC/openSUSE:Factory/.python-Shapely.new.12324 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Shapely"

Mon Apr 19 21:06:03 2021 rev:18 rq:886576 version:1.7.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Shapely/python-Shapely.changes    
2021-01-10 19:46:38.834121997 +0100
+++ /work/SRC/openSUSE:Factory/.python-Shapely.new.12324/python-Shapely.changes 
2021-04-19 21:06:21.072061022 +0200
@@ -1,0 +2,8 @@
+Sat Apr 17 10:55:16 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Don't use and test NumPy for python36 flavor: not available on
+  Tumbleweed (NEP29)
+- Make sure to test shapely.vectorized on remaining flavors by
+  changing the working dir.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-Shapely.spec ++++++
--- /var/tmp/diff_new_pack.bIfOW3/_old  2021-04-19 21:06:21.572061771 +0200
+++ /var/tmp/diff_new_pack.bIfOW3/_new  2021-04-19 21:06:21.576061776 +0200
@@ -31,19 +31,24 @@
 Patch0:         Shapely-fix-svg-collection-pr1042.patch
 BuildRequires:  %{python_module Cython >= 0.19}
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module numpy-devel}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  geos-devel >= 3.3
 BuildRequires:  python-rpm-macros
-Requires:       geos >= 3.3
-Recommends:     python-numpy
-# SECTION test requirements
-BuildRequires:  %{python_module pytest}
+%if 0%{suse_version} >= 1550
+BuildRequires:  %{python_module matplotlib if (%python-base without 
python36-base)}
+BuildRequires:  %{python_module numpy-devel if (%python-base without 
python36-base)}
+%else
+# Application:Geo does not have the support for boolean build requirements 
within the
+# python_module macro for the SLE/Leap repos
+BuildRequires:  %{python_module numpy-devel}
 %if 0%{?suse_version} > 1320
 BuildRequires:  %{python_module matplotlib}
 %endif
-# /SECTION
+%endif
+Requires:       geos >= 3.3
+Recommends:     python-numpy
 Provides:       python-shapely = %{version}
 Obsoletes:      python-shapely < %{version}
 %python_subpackages
@@ -71,9 +76,15 @@
 # Not for distribute
 rm -fv %{buildroot}%{_prefix}/shapely/_geos.pxi
 rm -frv %{buildroot}%{_prefix}/shapely
+%python_expand rm %{buildroot}%{$python_sitearch}/shapely/*/*.c
 
 %check
-%pytest_arch
+# make sure not to import the source dir without compiled shapely.vectorized 
during tests
+mkdir testenv
+cp -r tests setup.cfg testenv
+pushd testenv
+%pytest_arch -ra
+popd
 
 %files %{python_files}
 %license LICENSE.txt

Reply via email to