Accepting request 1005241 from Application:Geo

OBS-URL: https://build.opensuse.org/request/show/1005241
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pyproj?expand=0&rev=22
This commit is contained in:
2022-09-22 12:49:53 +00:00
committed by Git OBS Bridge
2 changed files with 11 additions and 7 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Sep 16 01:04:51 UTC 2022 - John Vandenberg <jayvdb@gmail.com>
- Add mandatory runtime dep python-certifi, and remove not
required dependency python-numpy
- Remove BD python-testsuite, and reduce tests skipped
-------------------------------------------------------------------
Sun Sep 11 18:53:24 UTC 2022 - Libor Pechacek <lpechacek@gmx.com>

View File

@@ -28,24 +28,21 @@ 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.28.4}
BuildRequires: %{python_module Shapely}
BuildRequires: %{python_module aenum}
BuildRequires: %{python_module devel >= 3.8}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: proj
BuildRequires: proj-devel >= 8
BuildRequires: python-rpm-macros
Requires: python-aenum
Requires: python-numpy
Requires: python-certifi
Requires(post): update-alternatives
Requires(postun):update-alternatives
# SECTION test requirements
BuildRequires: %{python_module certifi}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pandas}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module testsuite}
BuildRequires: %{python_module Shapely}
BuildRequires: %{python_module xarray}
# /SECTION
%python_subpackages
@@ -92,7 +89,7 @@ $python -c "import pyproj; pyproj.Proj(init='epsg:4269')"
}
# Reset to remove wrong flavor path from loop above
export PYTHONPATH=""
%pytest_arch -m "not network and not cli and not grid"
%pytest_arch -rs -k "not (network or test_transformer_group__get_transform_crs)"
mv pyproj_temp pyproj
%post