Accepting request 871647 from home:badshah400:branches:science
- Update to 2.5.0 * no changelog found - Skip python36 build in TW, because python36-numpy and co. are no more. - Fix testing for multi-versioned python. - Disable octave bindings, since octave >= 6 isn't supported. OBS-URL: https://build.opensuse.org/request/show/871647 OBS-URL: https://build.opensuse.org/package/show/science/lalsimulation?expand=0&rev=9
This commit is contained in:
parent
29856de029
commit
bf427a8d2d
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:043518d24e2fa5ad18869fa5f9d1a6bd9a9b60cfedf92b5e3f871242768eebe9
|
||||
size 7283660
|
3
lalsimulation-2.5.0.tar.xz
Normal file
3
lalsimulation-2.5.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d8511bb7ab4dd9bbe5483966173c7a5a8255bf18e660d418a2f9921c8820a3c1
|
||||
size 7418600
|
@ -1,3 +1,21 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 12 16:03:20 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 2.5.0
|
||||
* no changelog found
|
||||
- Skip python36 build in TW, because python36-numpy and co. are no
|
||||
more.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 21 23:56:21 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Fix testing for multi-versioned python.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 18 14:08:29 UTC 2021 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Disable octave bindings, since octave >= 6 isn't supported.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 23 05:58:27 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package lalsimulation
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,41 +16,42 @@
|
||||
#
|
||||
|
||||
|
||||
# NEP 29: python36-numpy and co. in TW are no more
|
||||
%define skip_python36 1
|
||||
%define shlib liblalsimulation23
|
||||
%bcond_without octave
|
||||
# octave >= 6 not supported
|
||||
%bcond_with octave
|
||||
Name: lalsimulation
|
||||
Version: 2.2.1
|
||||
Version: 2.5.0
|
||||
Release: 0
|
||||
Summary: LSC Algorithm Simulation Library
|
||||
License: GPL-2.0-only
|
||||
URL: https://wiki.ligo.org/Computing/DASWG/LALSuite
|
||||
Source: http://software.ligo.org/lscsoft/source/lalsuite/lalsimulation-%{version}.tar.xz
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module lal >= 6.22.0}
|
||||
BuildRequires: %{python_module numpy-devel}
|
||||
BuildRequires: %{python_module numpy}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module lal >= 7.1.0}
|
||||
BuildRequires: %{python_module numpy >= 1.7}
|
||||
BuildRequires: %{python_module numpy-devel >= 1.7}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: help2man
|
||||
BuildRequires: lal-devel >= 6.22.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
%if 0%{?suse_version} < 1550
|
||||
BuildRequires: python-xml
|
||||
%endif
|
||||
BuildRequires: swig >= 3.0.7
|
||||
BuildRequires: swig >= 3.0.10
|
||||
BuildRequires: pkgconfig(gsl)
|
||||
BuildRequires: pkgconfig(lal) >= 7.1.0
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
%if %{with octave}
|
||||
BuildRequires: octave-lal >= 7.1.0
|
||||
BuildRequires: pkgconfig(octave)
|
||||
BuildRequires: octave-lal >= 6.22.0
|
||||
%endif
|
||||
# SECTION For tests
|
||||
BuildRequires: python3-pytest
|
||||
BuildRequires: %{python_module pytest}
|
||||
# /SECTION
|
||||
Requires: python-lal >= 6.22.0
|
||||
Requires: python-numpy
|
||||
Requires: python-six
|
||||
Requires: python-lal >= 7.1.0
|
||||
Requires: python-numpy >= 1.7
|
||||
# FOR PYTHON PACKAGE
|
||||
Requires: lalsimulation-data = %{version}
|
||||
ExcludeArch: %{ix86}
|
||||
@ -70,11 +71,11 @@ This package provides the shared library for LALSimulation.
|
||||
|
||||
%package -n %{name}-devel
|
||||
Summary: Headers and source files for building against LALSimulation
|
||||
Requires: %{name}-data = %{version}
|
||||
Requires: %{shlib} = %{version}
|
||||
Requires: pkgconfig(gsl)
|
||||
Requires: pkgconfig(lal)
|
||||
Requires: pkgconfig(zlib)
|
||||
Requires: %{name}-data = %{version}
|
||||
|
||||
%description -n %{name}-devel
|
||||
This package provides the header and sources for coding against LALSimulation.
|
||||
@ -88,8 +89,8 @@ lalsimulation.
|
||||
|
||||
%package -n octave-lalsimulation
|
||||
Summary: Octave bindings for LALSimulation
|
||||
Requires: octave-lal
|
||||
Requires: %{name}-data = %{version}
|
||||
Requires: octave-lal
|
||||
%requires_eq octave-cli
|
||||
|
||||
%description -n octave-lalsimulation
|
||||
@ -156,9 +157,11 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}/%{name}/
|
||||
|
||||
%check
|
||||
pushd ../python3_build
|
||||
make %{?_smp_mflags} check || cat test/python/test-suite.log
|
||||
%{python_expand export PYTHON=$python
|
||||
pushd ../${PYTHON}_build
|
||||
%make_build check
|
||||
popd
|
||||
}
|
||||
|
||||
%post -n %{shlib} -p /sbin/ldconfig
|
||||
%postun -n %{shlib} -p /sbin/ldconfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user