17
0
Files
python-python-sofa/python-python-sofa.spec
Tomáš Chvátal 46c8e69747 Accepting request 820934 from home:mcalabkova:branches:devel:languages:python:numeric
- Update to 0.2.0
  * Switched spherical coordinate definition from azimuth and colatitude (0...180) 
    angles to azimuth and elevation (90...-90) to conform to SOFA specifications.
  * Provided a more direct access to variable and attribute creation within the dataset
  * Reworked the initialization process and DataType creation
  * Reworked RoomTypes
  * Ensured conventions conform to SOFA 1.0
  * Updated usage example
  * Fixed issues in relative coordinate access.

OBS-URL: https://build.opensuse.org/request/show/820934
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-python-sofa?expand=0&rev=5
2020-07-14 17:12:42 +00:00

64 lines
1.9 KiB
RPMSpec

#
# spec file for package python-python-sofa
#
# 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
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-python-sofa
Version: 0.2.0
Release: 0
Summary: Spatially Oriented Format for Acoustics (SOFA) API for Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/spatialaudio/python-sofa/
Source: https://files.pythonhosted.org/packages/source/p/python-sofa/python-sofa-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module netCDF4}
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module scipy >= 1.2.0}
# /SECTION
BuildRequires: fdupes
Requires: python-netCDF4
Requires: python-numpy
Requires: python-scipy >= 1.2.0
BuildArch: noarch
%python_subpackages
%description
A Python API for reading, writing and creating SOFA files as defined
by the SOFA conventions (version 1.0).
%prep
%setup -q -n python-sofa-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitelib}/*
%changelog