From bd3435fe06d63fd6237f1fec052504c0d8c5c66027c73f8228983f55a91a9afd Mon Sep 17 00:00:00 2001 From: Bruno Friedmann Date: Wed, 21 Sep 2022 15:18:29 +0000 Subject: [PATCH] Accepting request 1004915 from home:jayvdb:branches:Application:Geo - Add mandatory runtime dep python-certifi, and remove not required dependency python-numpy - Remove BD python-testsuite, and reduce tests skipped OBS-URL: https://build.opensuse.org/request/show/1004915 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/python-pyproj?expand=0&rev=47 --- python-pyproj.changes | 7 +++++++ python-pyproj.spec | 11 ++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/python-pyproj.changes b/python-pyproj.changes index 6a67079..91cc3aa 100644 --- a/python-pyproj.changes +++ b/python-pyproj.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Sep 16 01:04:51 UTC 2022 - John Vandenberg + +- 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 diff --git a/python-pyproj.spec b/python-pyproj.spec index a99c724..afd5eb0 100644 --- a/python-pyproj.spec +++ b/python-pyproj.spec @@ -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