1
0

Accepting request 782024 from devel:languages:python:numeric

- 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)

OBS-URL: https://build.opensuse.org/request/show/782024
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-nibabel?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2020-03-06 20:28:03 +00:00 committed by Git OBS Bridge
commit 77eebf496a
4 changed files with 31 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83ecac4773ece02c49c364d99b465644c17cc66f1719560117e74991d9eb566b
size 4598466

3
nibabel-3.0.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d38c657eca6ae3d246db9019549be5448b7a0a6683240c96bff2cebf91b7d422
size 4615979

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Fri Mar 6 08:07:25 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- 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 <toddrme2178@gmail.com>

View File

@ -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