commit ba596e06304765dc07d9d3c2bc7773c543b5d482391f6a03446f46e2bbb04802 Author: Todd R Date: Thu Jul 25 20:48:41 2019 +0000 Accepting request 718646 from home:TheBlackCat:branches:devel:languages:python:numeric Spatially Oriented Format for Acoustics (SOFA) API for Python OBS-URL: https://build.opensuse.org/request/show/718646 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-python-sofa?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/python-python-sofa.changes b/python-python-sofa.changes new file mode 100644 index 0000000..83dd17e --- /dev/null +++ b/python-python-sofa.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Thu Jul 25 20:40:05 UTC 2019 - Todd R + +- Initial version diff --git a/python-python-sofa.spec b/python-python-sofa.spec new file mode 100644 index 0000000..c938bdb --- /dev/null +++ b/python-python-sofa.spec @@ -0,0 +1,62 @@ +# +# spec file for package python-python-sofa +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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 http://bugs.opensuse.org/ + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-python-sofa +Version: 0.1.0 +Release: 0 +License: MIT +Summary: Spatially Oriented Format for Acoustics (SOFA) API for Python +Url: http://github.com/spatialaudio/python-sofa/ +Group: Development/Languages/Python +Source: https://files.pythonhosted.org/packages/source/p/python-sofa/python-sofa-%{version}.tar.gz +BuildRequires: python-rpm-macros +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +# 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 diff --git a/python-sofa-0.1.0.tar.gz b/python-sofa-0.1.0.tar.gz new file mode 100644 index 0000000..0c5623d --- /dev/null +++ b/python-sofa-0.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a1aed87dfc2eca1ee5a35b02a51c5efe8de1a87cf83e2cfe143ce9be64fde2cd +size 15738