Accepting request 1084004 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/1084004
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-GridDataFormats?expand=0&rev=4
This commit is contained in:
Dominique Leuenberger 2023-05-02 15:08:55 +00:00 committed by Git OBS Bridge
commit 9d49f8418c
4 changed files with 66 additions and 17 deletions

View File

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

View File

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

View File

@ -1,3 +1,54 @@
-------------------------------------------------------------------
Tue May 2 09:00:52 UTC 2023 - pgajdos@suse.com
- version update to 1.0.1
1.0.1
-----
Changes
* Deployment is now automatically done using github actions.
Fixes
* Version 1.0.0 would allow for installations to be made with python versions
< 3.8, resulting in incorrect builds. The setup configuration has now been
altered to avoid this (Issue #112)
1.0.0
-----
Changes
* API-stable release
* deprecated and buggy CCP4 module was removed (#107, #50)
* gridDataFormats now follows NEP29 (#102)
* removed support for Python 2.7 and Python <3.8 (#102)
0.7.0
-----
Changes
* Python 3.10 is supported (issue #101)
Enhancements
* use mrcfile library to parse MRC files (including CCP4) using the
new mrc.MRC class (issue #83)
Fixes
* The new mrc module correctly reorients the coordinate system based
on mapc, mapr, maps and correctly calculates the origin (issue #76)
* documented Grid attributes, including axis convention (issue #69)
Deprecations
* The CCP4 module (replaced by mrc) will be removed in 1.0.0
0.6.0
-----
Changes
* macOS and Windows are also tested (min and max supported Python, #97)
Enhancements
* Allow parsing/writing gzipped DX files (PR #70, #99)
* Update doc theme to use sphinx-rtd-theme (#80)
* Delta of OpenDX writes 7 significant figures (#88)
Fixes
* fix initialization of mutable instance variable of Grid class (metadata dict) (#71)
* fix multiple __init__ calls (#73)
* interpolation behavior outside of the grid changed to default to a
constant rather than the nearest value (#84)
* corrected resampling behavior to not draw on values outside of the grid (#84)
-------------------------------------------------------------------
Tue Apr 20 02:54:06 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-GridDataFormats
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,30 +16,28 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python36 1
Name: python-GridDataFormats
Version: 0.5.0
Version: 1.0.1
Release: 0
Summary: Python Tools for Reading and writing of data on regular grids
License: GPL-3.0-only
URL: https://github.com/MDAnalysis/GridDataFormats/
Source0: https://files.pythonhosted.org/packages/source/G/GridDataFormats/GridDataFormats-%{version}.tar.gz
BuildRequires: %{python_module numpy >= 1.0.3}
BuildRequires: %{python_module paramiko}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: %{python_module xml}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
# /SECTION
Requires: python-mrcfile
Requires: python-numpy >= 1.0.3
Requires: python-six
Requires: python-xml
Recommends: python-scipy
Requires: python-scipy
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module mrcfile}
BuildRequires: %{python_module numpy >= 1.0.3}
BuildRequires: %{python_module paramiko}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module scipy}
# /SECTION
%python_subpackages
%description
@ -49,7 +47,7 @@ make them available as a :class:`Grid` object, and allows one to
write out the data again.
%prep
%setup -n GridDataFormats-%{version}
%autosetup -p1 -n GridDataFormats-%{version}
%build
%python_build