From 203012ba02423e76a7c1828a1ad5c1931a927830 Mon Sep 17 00:00:00 2001 From: Ankur Sinha (Ankur Sinha Gmail) Date: Nov 28 2020 19:45:35 +0000 Subject: Update to 3.2.0 --- diff --git a/.gitignore b/.gitignore index d9e1233..e76f9b4 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /nibabel-3.0.1.tar.gz /nibabel-3.1.0.tar.gz /nibabel-3.1.1.tar.gz +/nibabel-3.2.0.tar.gz diff --git a/python-nibabel.spec b/python-nibabel.spec index 3581f50..f55f564 100644 --- a/python-nibabel.spec +++ b/python-nibabel.spec @@ -1,8 +1,8 @@ %global modname nibabel Name: python-%{modname} -Version: 3.1.1 -Release: 2%{?dist} +Version: 3.2.0 +Release: 1%{?dist} Summary: Python package to access a cacophony of neuro-imaging file formats License: MIT and PDDL-1.0 @@ -26,7 +26,8 @@ information and access to the image data is made available via NumPy arrays. %package -n python3-%{modname} Summary: %{summary} -%{?python_provide:%python_provide python3-%{modname}} +%py_provides python3-%{modname} + BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-nose @@ -43,7 +44,8 @@ Requires: python3-six Requires: python3-numpy Recommends: python3-scipy Recommends: python3-pydicom -# https://github.com/nipy/nibabel/issues/579 +# Bundles their own veresion of netcdf reader +# that is different from Scipy version Provides: bundled(python%{python3_version}dist(netcdf)) %description -n python3-%{modname} @@ -64,11 +66,6 @@ Python 3 version. %prep %autosetup -n %{modname}-%{version} -# remove bundled six -rm -vrf %{modname}/externals/six.py -sed -i -e "s/nibabel.externals.six/six/" nibabel/externals/__init__.py -rm -fv nibabel/externals/tests/test_six.py - %build %py3_build @@ -76,7 +73,8 @@ rm -fv nibabel/externals/tests/test_six.py %py3_install %check -pytest-%{python3_version} +# https://github.com/nipy/nibabel/issues/973 +%{pytest} -k "not test_ascconv" %files -n python3-%{modname} %license COPYING @@ -86,12 +84,17 @@ pytest-%{python3_version} %{_bindir}/nib-dicomfs %{_bindir}/nib-ls %{_bindir}/nib-nifti-dx +%{_bindir}/nib-roi +%{_bindir}/nib-stats %{_bindir}/nib-tck2trk %{_bindir}/nib-trk2tck %{python3_sitelib}/%{modname}* %{python3_sitelib}/nisext/ %changelog +* Sat Nov 28 2020 Ankur Sinha - 3.2.0-1 +- Update to latest release + * Wed Jul 29 2020 Fedora Release Engineering - 3.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild diff --git a/sources b/sources index 9c0510d..3823788 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (nibabel-3.1.1.tar.gz) = 194c32d04787da4bc01967cdae498af1ffe835fffb0966f8778225098b2832254b536e630d71a81fd7486407775fe93e2802c6265f4e178cdc7a5743de6a8772 +SHA512 (nibabel-3.2.0.tar.gz) = dc16048466c41c02f1f2f9910eb82b979cac1a1a4a7339f7972a238a1785a3bbec9511c02f8f70ffab28b9b77bd92113fdcecddc2b3e83d72f540990b43d48e0