- Add patch ignore-pkg_resources-deprecation.patch:

* Ignore DeprecationWarning from pkg_resources.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-numpy?expand=0&rev=123
This commit is contained in:
2023-03-24 07:03:33 +00:00
committed by Git OBS Bridge
parent 7e8c819200
commit 55c6786ef4
3 changed files with 20 additions and 0 deletions

View File

@@ -85,6 +85,8 @@ Source99: python-numpy-rpmlintrc
Patch0: numpy-buildfix.patch
# PATCH-FIX-OPENSUSE numpy-1.9.0-remove-__declspec.patch -- fix for spurious compiler warnings that cause build failure
Patch1: numpy-1.9.0-remove-__declspec.patch
# PATCH-FIX-OPENSUSE Ignore DeprecationWarnings when importing pkg_resources
Patch2: ignore-pkg_resources-deprecation.patch
BuildRequires: %{python_module Cython >= 0.29.30}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module devel}