python 3.10 compatibility - wrap if clauses in parens in C

This commit is contained in:
Tomas Hrnciar
2021-05-19 13:10:30 +02:00
parent 891b053023
commit 5fec942d8d
2 changed files with 107 additions and 0 deletions
+4
View File
@@ -8,6 +8,10 @@ Summary: Collection of fast NumPy array functions written in Cython
License: BSD
URL: https://pypi.org/project/Bottleneck/
Source0: https://files.pythonhosted.org/packages/source/B/%{upname}/%{upname}-%{version}.tar.gz
# Backport of upstream commit to make Bottleneck compatible with Python 3.10
# Original commit adapted for current version of Bottleneck in rawhide.
# https://github.com/pydata/bottleneck/commit/731462221f405ca805f86cb037a42132970b64b2
Patch1: 0001-python-3.10-compatibility-wrap-if-clauses-in-parens-.patch
BuildRequires: gcc