New upstream release 1.7.0

- resolves: #1953422
This commit is contained in:
Nikola Forró 2021-06-24 11:54:10 +02:00
parent ae9e1e7328
commit b7171384cb
3 changed files with 13 additions and 3 deletions

1
.gitignore vendored
View File

@ -35,3 +35,4 @@ scipy-0.7.2.tar.gz
/scipy-1.6.0.tar.gz
/scipy-1.6.1.tar.gz
/scipy-1.6.2.tar.gz
/scipy-1.7.0.tar.gz

View File

@ -14,8 +14,8 @@
Summary: Scientific Tools for Python
Name: scipy
Version: 1.6.2
Release: 4%{?dist}
Version: 1.7.0
Release: 1%{?dist}
# BSD -- whole package except:
# Boost -- scipy/special/cephes/scipy_iv.c
@ -101,6 +101,8 @@ rm doc/sphinxext -r
rm $(grep -rl '/\* Generated by Cython') PKG-INFO
%build
export SCIPY_USE_PYTHRAN=0
for PY in %{python3_version}; do
# Adding -fallow-argument-mismatch workaround for https://github.com/scipy/scipy/issues/11611
env CFLAGS="$RPM_OPT_FLAGS -lm" \
@ -109,6 +111,7 @@ for PY in %{python3_version}; do
%else
FFLAGS="$RPM_OPT_FLAGS -fPIC" \
%endif
LDFLAGS="%{__global_ldflags}" \
%{_bindir}/python$PY setup.py config_fc \
--fcompiler=gnu95 --noarch \
build
@ -124,6 +127,8 @@ for PY in %{python3_version}; do
done
%install
export SCIPY_USE_PYTHRAN=0
%py3_install
# Some files got ambiguous python shebangs, we fix them after everything else is done
pathfix.py -pni "%{__python3} %{py3_shbang_opts}" %{buildroot}%{python3_sitearch}
@ -184,6 +189,10 @@ popd
%endif
%changelog
* Wed Jun 23 2021 Nikola Forró <nforro@redhat.com> - 1.7.0-1
- New upstream release 1.7.0
resolves: #1953422
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.6.2-4
- Rebuilt for Python 3.10

View File

@ -1 +1 @@
SHA512 (scipy-1.6.2.tar.gz) = 18b03f32e8343c5a6c6148ac0bfd4b5f2cc9ff5f74d5d41761ae9e773d6af8774c7b09a3fcc47122864eccce1dbbc17e9325819885d3fc3ab2baf98e7d3befa4
SHA512 (scipy-1.7.0.tar.gz) = f16bb2dc0982a8a3553df1431abf196b12b9cb792393e5c84691cca53922cef6f3838e751c38cfa5f8699d896a6a1cff757c6025918bdc6c2832fdb137fa5b26