SHA256
1
0
forked from pool/lalframe

Accepting request 871649 from home:badshah400:branches:science

OBS-URL: https://build.opensuse.org/request/show/871649
OBS-URL: https://build.opensuse.org/package/show/science/lalframe?expand=0&rev=6
This commit is contained in:
Atri Bhattacharya 2021-02-14 13:23:23 +00:00 committed by Git OBS Bridge
parent f71725c022
commit 5087e72010
4 changed files with 41 additions and 14 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:39604c2e012babf0a67322e71b91119206c41dd35eff8aaa0644aac932abe73d
size 7341480

3
lalframe-1.5.3.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d0300611e706d5ca09b85ed00b4714d671a1d67a429714b5618bce4dae042de6
size 7385100

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Feb 12 19:04:34 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to version 1.5.3:
* No release notes.
- Skip python36 build because python36-numpy in TW is no more
(NEP29)
-------------------------------------------------------------------
Thu Jan 21 23:25:34 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
- Fix up dependency for tests and the %check section running the
tests for mutli-versioned python.
-------------------------------------------------------------------
Mon Dec 21 22:19:38 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 1.5.2:
* No release notes.
- Disable octave bindings: octave >= 6 unsupported.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Oct 25 18:32:25 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com> Sun Oct 25 18:32:25 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package lalframe # spec file for package lalframe
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2021 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,10 +16,13 @@
# #
# NEP 29: python36-numpy and co. in TW are no more
%define skip_python36 1
%define shlib lib%{name}11 %define shlib lib%{name}11
%bcond_without octave # No support for octave >= 6
%bcond_with octave
Name: lalframe Name: lalframe
Version: 1.5.1 Version: 1.5.3
Release: 0 Release: 0
Summary: LSC Algorithm Frame Library for gravitational wave data analysis Summary: LSC Algorithm Frame Library for gravitational wave data analysis
License: GPL-2.0-or-later License: GPL-2.0-or-later
@ -27,9 +30,9 @@ Group: Productivity/Scientific/Physics
URL: https://wiki.ligo.org/Computing/LALSuite URL: https://wiki.ligo.org/Computing/LALSuite
Source: http://software.ligo.org/lscsoft/source/lalsuite/lalframe-%{version}.tar.xz Source: http://software.ligo.org/lscsoft/source/lalsuite/lalframe-%{version}.tar.xz
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module lal >= 6.21.0} BuildRequires: %{python_module lal >= 7.1.0}
BuildRequires: %{python_module numpy-devel} BuildRequires: %{python_module numpy >= 1.7}
BuildRequires: %{python_module numpy} BuildRequires: %{python_module numpy-devel >= 1.7}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@ -38,17 +41,18 @@ BuildRequires: pkgconfig(framecppc)
BuildRequires: pkgconfig(framel) BuildRequires: pkgconfig(framel)
BuildRequires: pkgconfig(lal) >= 6.21.0 BuildRequires: pkgconfig(lal) >= 6.21.0
Requires: python-lal Requires: python-lal
Requires: python-numpy Requires: python-numpy >= 1.7
ExcludeArch: %{ix86} ExcludeArch: %{ix86}
%if 0%{?suse_version} < 1550 %if 0%{?suse_version} < 1550
BuildRequires: python-xml BuildRequires: python-xml
%endif %endif
%if %{with octave} %if %{with octave}
BuildRequires: octave-lal >= 6.21.0 BuildRequires: octave-lal >= 7.1.0
BuildRequires: pkgconfig(octave) BuildRequires: pkgconfig(octave)
%endif %endif
# SECTION For tests # SECTION For tests
BuildRequires: python3-pytest BuildRequires: %{python_module ligo-segments}
BuildRequires: %{python_module pytest}
# /SECTION # /SECTION
%python_subpackages %python_subpackages
@ -143,10 +147,12 @@ find %{buildroot} -type f -name "*.la" -delete -print
%python_expand %fdupes %{buildroot}%{$python_sitearch}/%{name}/ %python_expand %fdupes %{buildroot}%{$python_sitearch}/%{name}/
%ifpython3
%check %check
%{python_expand # check all flavors
export PYTHON=$python
pushd ../${PYTHON}_build
%make_build check %make_build check
%endif }
%post -n %{shlib} -p /sbin/ldconfig %post -n %{shlib} -p /sbin/ldconfig
%postun -n %{shlib} -p /sbin/ldconfig %postun -n %{shlib} -p /sbin/ldconfig