diff --git a/nibabel-2.5.1.tar.gz b/nibabel-2.5.1.tar.gz deleted file mode 100644 index cd7f15e..0000000 --- a/nibabel-2.5.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:83ecac4773ece02c49c364d99b465644c17cc66f1719560117e74991d9eb566b -size 4598466 diff --git a/nibabel-3.0.1.tar.gz b/nibabel-3.0.1.tar.gz new file mode 100644 index 0000000..25f19a7 --- /dev/null +++ b/nibabel-3.0.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d38c657eca6ae3d246db9019549be5448b7a0a6683240c96bff2cebf91b7d422 +size 4615979 diff --git a/python-nibabel.changes b/python-nibabel.changes index 7708cea..ae1847d 100644 --- a/python-nibabel.changes +++ b/python-nibabel.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Fri Mar 6 08:07:25 UTC 2020 - Tomáš Chvátal + +- Update to 3.0.1: + * Test failed by using array method on tuple. (pr/860) (Ben Darwin, reviewed by CM) + * Validate ExpiredDeprecationErrors, promoted by 3.0 release from DeprecationWarnings. (pr/857) (CM) + * Improve testing of data scaling in ArrayProxy API (pr/847) (CM, reviewed by Alejandro de la Vega) + * Document SpatialImage.slicer interface (pr/846) (CM) + * get_fdata(dtype=np.float32) will attempt to avoid casting data to np.float64 when scaling parameters would otherwise promote the data type unnecessarily. (pr/833) (CM, reviewed by Ross Markello) + * ArraySequence now supports a large set of Python operators to combine or update in-place. (pr/811) (MC, reviewed by Serge Koudoro, Philippe Poulin, CM, MB) + * Warn, rather than fail, on DICOMs with unreadable Siemens CSA tags (pr/818) (Henry Braun, reviewed by CM) + * Improve clarity of coordinate system tutorial (pr/823) (Egor Panfilov, reviewed by MB) + ------------------------------------------------------------------- Tue Nov 19 20:41:07 UTC 2019 - Todd R diff --git a/python-nibabel.spec b/python-nibabel.spec index d2beab1..c4acf0c 100644 --- a/python-nibabel.spec +++ b/python-nibabel.spec @@ -1,7 +1,7 @@ # # spec file for package python-nibabel # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,30 +17,32 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-nibabel -Version: 2.5.1 +Version: 3.0.1 Release: 0 Summary: Tool to access multiple neuroimaging data formats License: MIT URL: https://nipy.org/nibabel Source: https://files.pythonhosted.org/packages/source/n/nibabel/nibabel-%{version}.tar.gz BuildRequires: %{python_module setuptools >= 30.3.0} +BuildRequires: %{pythons} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-numpy >= 1.8 -Requires: python-six >= 1.3 +Requires: python-numpy >= 1.12 +Recommends: python-Pillow Recommends: python-dicom >= 0.9.9 +Recommends: python-h5py +Recommends: python-scipy BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module mock} -BuildRequires: %{python_module nose >= 0.10.1} -BuildRequires: %{python_module numpy >= 1.8} -BuildRequires: %{python_module six >= 1.3} -BuildRequires: python-bz2file +BuildRequires: %{python_module Pillow} +BuildRequires: %{python_module h5py} +BuildRequires: %{python_module nose >= 0.11} +BuildRequires: %{python_module numpy >= 1.12} +BuildRequires: %{python_module pytest} +BuildRequires: %{python_module scipy} # /SECTION -%ifpython2 -Requires: python-bz2file -%endif %python_subpackages %description @@ -62,7 +64,7 @@ very limited support for DICOM. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand nosetests-%{$python_bin_suffix} nibabel +%python_expand nosetests-%{$python_bin_suffix} -v %files %{python_files} %doc AUTHOR Changelog README.rst