forked from pool/python-casacore
Accepting request 1045251 from science
OBS-URL: https://build.opensuse.org/request/show/1045251 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-casacore?expand=0&rev=4
This commit is contained in:
commit
b1673b16b2
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -21,5 +21,3 @@
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
||||
## Specific LFS patterns
|
||||
WSRT_Measures_20210502-160001.ztar filter=lfs diff=lfs merge=lfs -text
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:82554d2346fbd591b9a30790447959362fe9feab9a281b3ec114a2807b8f7fd3
|
||||
size 20251223
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:32595f00a50c77f2f2b22fb05c891a4b0fef64919801a7a6025a91681f9feb6c
|
||||
size 289492
|
3
python-casacore-3.5.1-gh.tar.gz
Normal file
3
python-casacore-3.5.1-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:959135608978270441d48e65f09323fb11f6c9dda14d595f6fe71fa991c2b844
|
||||
size 286459
|
@ -1,3 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 6 14:02:51 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Update to version 3.5.1:
|
||||
* No changelog.
|
||||
- Changes from version 3.5.0:
|
||||
* License change to LGPL-3.0-or-later.
|
||||
* No other changelog.
|
||||
- Drop Source1: WSRT_Measures_20210502-160001.ztar, no longer
|
||||
available from upstream.
|
||||
- Drop tests depending on additional data or writing data to tmp
|
||||
dir.
|
||||
- Drop outdated redefinitions of python rpm macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 15 09:01:11 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-casacore
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,19 +16,17 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
# libboost_python3-devel (libbost_python-py3-*) is for the primary python3 flavor only
|
||||
%define pythons python3
|
||||
%global modname casacore
|
||||
Name: python-casacore
|
||||
Version: 3.4.0
|
||||
Version: 3.5.1
|
||||
Release: 0
|
||||
Summary: A wrapper around CASACORE, the radio astronomy library
|
||||
License: GPL-2.0-or-later
|
||||
License: LGPL-3.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/casacore/python-casacore
|
||||
Source: https://github.com/casacore/python-casacore/archive/refs/tags/v%{version}.tar.gz#/python-casacore-%{version}-gh.tar.gz
|
||||
Source1: ftp://ftp.astron.nl/outgoing/Measures/WSRT_Measures_20210502-160001.ztar
|
||||
BuildRequires: %{python_module configargparse}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module future}
|
||||
@ -68,19 +66,12 @@ export CFLAGS="%{optflags}"
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
# don't break installations when running rpmbuild outside of obs chroot
|
||||
[ -e ~/.casarc ] && mv ~/.casarc ~/.casarc.bak || :
|
||||
mkdir data
|
||||
pushd data
|
||||
tar xf %{SOURCE1}
|
||||
echo "measures.directory: $PWD" > ~/.casarc
|
||||
popd
|
||||
# old python-rpm-macros for SLE/Leap: don't import casacore from current source dir
|
||||
mv casacore casacore.tmp
|
||||
%pytest_arch
|
||||
# TestImage needs to use data files that are no longer available upstream
|
||||
# TestTable tries to write to tmp dir and fails during build due to perm issues
|
||||
%pytest_arch -k 'not (TestImage or TestTable)'
|
||||
mv casacore.tmp casacore
|
||||
rm ~/.casarc
|
||||
[ -e ~/.casarc.bak ] && mv ~/.casarc.bak ~/.casarc || :
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst
|
||||
|
Loading…
Reference in New Issue
Block a user