Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyproj for openSUSE:Factory checked in at 2021-02-10 21:30:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyproj (Old) and /work/SRC/openSUSE:Factory/.python-pyproj.new.28504 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyproj" Wed Feb 10 21:30:56 2021 rev:12 rq:870770 version:3.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyproj/python-pyproj.changes 2021-01-22 21:52:55.373900041 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyproj.new.28504/python-pyproj.changes 2021-02-10 21:30:57.570334153 +0100 @@ -1,0 +2,9 @@ +Tue Feb 9 23:23:49 UTC 2021 - Benjamin Greiner <c...@bnavigator.de> + +- Fix malformed Cython requirement +- Remove (malformed) unneeded coverage requirement and mock which + is imported from unittest already. +- Actually install the alternative for the entrypoint +- Use the pytest_arch macro for the tests + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyproj.spec ++++++ --- /var/tmp/diff_new_pack.Ve8Ca7/_old 2021-02-10 21:30:58.310335224 +0100 +++ /var/tmp/diff_new_pack.Ve8Ca7/_new 2021-02-10 21:30:58.326335247 +0100 @@ -26,7 +26,7 @@ Group: Development/Languages/Python URL: https://github.com/pyproj4/pyproj Source: https://files.pythonhosted.org/packages/source/p/pyproj/pyproj-%{version}.tar.gz -BuildRequires: %{python_module Cython} >= 0.23.5 +BuildRequires: %{python_module Cython >= 0.23.5} BuildRequires: %{python_module Shapely} BuildRequires: %{python_module aenum} BuildRequires: %{python_module devel} @@ -38,11 +38,10 @@ BuildRequires: python-rpm-macros Requires: python-aenum Requires: python-numpy +Requires(post): update-alternatives +Requires(postun): update-alternatives # SECTION test requirements BuildRequires: %{python_module certifi} -BuildRequires: %{python_module cov-core} -BuildRequires: %{python_module coverage} >= 4.0 -BuildRequires: %{python_module mock} BuildRequires: %{python_module pandas} BuildRequires: %{python_module pytest} BuildRequires: %{python_module testsuite} @@ -89,14 +88,23 @@ %{python_expand # Multiline export PYTHONPATH=%{buildroot}%{$python_sitearch} $python -c "import pyproj; pyproj.Proj(init='epsg:4269')" -py.test-%{$python_bin_suffix} --ignore=_build.python2 --ignore=_build.python3 --ignore=_build.python36 --ignore=_build.python38 --ignore=_build.pypy3 -v -m "not network and not cli and not grid" } +# Reset to remove wrong flavor path from loop above +export PYTHONPATH="" +%pytest_arch -m "not network and not cli and not grid" mv pyproj_temp pyproj +%post +%python_install_alternative pyproj + +%postun +%python_uninstall_alternative pyproj + %files %{python_files} %python_alternative %{_bindir}/pyproj %license LICENSE %doc README.md -%{python_sitearch}/* +%{python_sitearch}/pyproj +%{python_sitearch}/pyproj-%{version}*-info %changelog