- 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 OBS-URL: https://build.opensuse.org/request/show/1083993 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-GridDataFormats?expand=0&rev=7
69 lines
2.1 KiB
RPMSpec
69 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package python-GridDataFormats
|
|
#
|
|
# 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
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
%define skip_python36 1
|
|
Name: python-GridDataFormats
|
|
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 setuptools}
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-rpm-macros
|
|
Requires: python-mrcfile
|
|
Requires: python-numpy >= 1.0.3
|
|
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
|
|
The *gridDataFormats* package provides classes to unify reading and
|
|
writing n-dimensional datasets. One can read grid data from files,
|
|
make them available as a :class:`Grid` object, and allows one to
|
|
write out the data again.
|
|
|
|
%prep
|
|
%autosetup -p1 -n GridDataFormats-%{version}
|
|
|
|
%build
|
|
%python_build
|
|
|
|
%install
|
|
%python_install
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%check
|
|
%pytest
|
|
|
|
%files %{python_files}
|
|
%doc AUTHORS CHANGELOG README.rst
|
|
%license COPYING*
|
|
%{python_sitelib}/gridData
|
|
%{python_sitelib}/GridDataFormats-%{version}-py*.egg-info
|
|
|
|
%changelog
|