20
0

Accepting request 824969 from home:badshah400:branches:science

A wrapper around CASACORE, the radio astronomy library (depends on sr#824968).

OBS-URL: https://build.opensuse.org/request/show/824969
OBS-URL: https://build.opensuse.org/package/show/science/python-casacore?expand=0&rev=1
This commit is contained in:
2020-08-15 08:54:34 +00:00
committed by Git OBS Bridge
commit e6b950fe9e
5 changed files with 102 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Thu Aug 6 21:48:06 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Initial package.
+67
View File
@@ -0,0 +1,67 @@
#
# spec file for package python-casacore
#
# 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-%{**}}
%define skip_python2 1
%global modname casacore
Name: python-casacore
Version: 3.3.1
Release: 0
Summary: A wrapper around CASACORE, the radio astronomy library
License: GPL-2.0-or-later
Group: Development/Languages/Python
URL: https://github.com/casacore/python-casacore
Source: https://files.pythonhosted.org/packages/source/p/python-casacore/python-casacore-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: casacore-devel pkgconfig(cfitsio)
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libboost_python3-devel
BuildRequires: python-rpm-macros
Requires: python-configargparse
Requires: python-future
Requires: python-numpy
Requires: python-six
%python_subpackages
%description
A python wrapper around CASACORE, the radio astronomy library
%prep
%setup -q -n python-casacore-%{version}
%build
export CFLAGS="%{optflags}"
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
# No tests defined
#%%check
%files %{python_files}
%doc README.rst
%license LICENSE
%{python_sitearch}/%{modname}/
%{python_sitearch}/pyrap/
%{python_sitearch}/python_%{modname}-%{version}-py%{python_version}.egg-info/
%changelog
+24
View File
@@ -0,0 +1,24 @@
*.changes merge=merge-changes
*.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
*.tar 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
+4
View File
@@ -0,0 +1,4 @@
*.obscpio
*.osc
_build.*
.pbuild
+3
View File
@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c1f196b87ea34f930da6900eebc0a8f39291352d4def6631a2ec148ef5cf083a
size 100130