Accepting request 998346 from home:badshah400:branches:science
- Update to version 4.0.0: * No release notes. - Update source URL. - Change python build dir names so that the env var PYTHON can be set to the full python exec. - Bump so version to match upstream. OBS-URL: https://build.opensuse.org/request/show/998346 OBS-URL: https://build.opensuse.org/package/show/science/lalsimulation?expand=0&rev=14
This commit is contained in:
parent
8f4f86271c
commit
4b47c06869
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9be82007eedec1a85de89faffd85e03c7893356da1dda1a27de572f015f63e26
|
|
||||||
size 7458540
|
|
3
lalsimulation-4.0.0.tar.xz
Normal file
3
lalsimulation-4.0.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4096a31f70450e6d5909a5e1147b779169852887d55b806c8b859f87983f20d7
|
||||||
|
size 7471768
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 19 12:25:25 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
- Update to version 4.0.0:
|
||||||
|
* No release notes.
|
||||||
|
- Update source URL.
|
||||||
|
- Change python build dir names so that the env var PYTHON can be
|
||||||
|
set to the full python exec.
|
||||||
|
- Bump so version to match upstream.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jan 3 00:30:32 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
Mon Jan 3 00:30:32 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>
|
||||||
|
|
||||||
|
@ -21,18 +21,18 @@
|
|||||||
# Py2 support dropped upstream
|
# Py2 support dropped upstream
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
|
|
||||||
%define shlib liblalsimulation29
|
%define shlib liblalsimulation31
|
||||||
# octave >= 6 not supported
|
# octave >= 6 not supported
|
||||||
%bcond_with octave
|
%bcond_with octave
|
||||||
Name: lalsimulation
|
Name: lalsimulation
|
||||||
Version: 3.1.0
|
Version: 4.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: LSC Algorithm Simulation Library
|
Summary: LSC Algorithm Simulation Library
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
URL: https://wiki.ligo.org/Computing/DASWG/LALSuite
|
URL: https://wiki.ligo.org/Computing/DASWG/LALSuite
|
||||||
Source: http://software.ligo.org/lscsoft/source/lalsuite/lalsimulation-%{version}.tar.xz
|
Source: https://software.igwn.org/sources/source/lalsuite/%{name}-%{version}.tar.xz
|
||||||
BuildRequires: %{python_module devel}
|
BuildRequires: %{python_module devel}
|
||||||
BuildRequires: %{python_module lal >= 7.1.0}
|
BuildRequires: %{python_module lal >= 7.2.0}
|
||||||
BuildRequires: %{python_module numpy >= 1.7}
|
BuildRequires: %{python_module numpy >= 1.7}
|
||||||
BuildRequires: %{python_module numpy-devel >= 1.7}
|
BuildRequires: %{python_module numpy-devel >= 1.7}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
@ -44,16 +44,16 @@ BuildRequires: python-xml
|
|||||||
%endif
|
%endif
|
||||||
BuildRequires: swig >= 3.0.10
|
BuildRequires: swig >= 3.0.10
|
||||||
BuildRequires: pkgconfig(gsl)
|
BuildRequires: pkgconfig(gsl)
|
||||||
BuildRequires: pkgconfig(lal) >= 7.1.0
|
BuildRequires: pkgconfig(lal) >= 7.2.0
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
%if %{with octave}
|
%if %{with octave}
|
||||||
BuildRequires: octave-lal >= 7.1.0
|
BuildRequires: octave-lal >= 7.2.0
|
||||||
BuildRequires: pkgconfig(octave)
|
BuildRequires: pkgconfig(octave)
|
||||||
%endif
|
%endif
|
||||||
# SECTION For tests
|
# SECTION For tests
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
Requires: python-lal >= 7.1.0
|
Requires: python-lal >= 7.2.0
|
||||||
Requires: python-numpy >= 1.7
|
Requires: python-numpy >= 1.7
|
||||||
# FOR PYTHON PACKAGE
|
# FOR PYTHON PACKAGE
|
||||||
Requires: lalsimulation-data = %{version}
|
Requires: lalsimulation-data = %{version}
|
||||||
@ -77,7 +77,7 @@ Summary: Headers and source files for building against LALSimulation
|
|||||||
Requires: %{name}-data = %{version}
|
Requires: %{name}-data = %{version}
|
||||||
Requires: %{shlib} = %{version}
|
Requires: %{shlib} = %{version}
|
||||||
Requires: pkgconfig(gsl)
|
Requires: pkgconfig(gsl)
|
||||||
Requires: pkgconfig(lal)
|
Requires: pkgconfig(lal) >= 7.2.0
|
||||||
Requires: pkgconfig(zlib)
|
Requires: pkgconfig(zlib)
|
||||||
|
|
||||||
%description -n %{name}-devel
|
%description -n %{name}-devel
|
||||||
@ -104,10 +104,10 @@ This package provides the necessary files for using LALSimulation with octave.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%{python_expand # Necessary to run configure with multiple py3 flavors
|
%{python_expand # Necessary to run configure with multiple py3 flavors
|
||||||
export PYTHON=$python
|
export PYTHON=%{_bindir}/$python
|
||||||
mkdir ../${PYTHON}_build
|
mkdir ../$python
|
||||||
cp -pr ./ ../${PYTHON}_build
|
cp -pr ./ ../$python
|
||||||
pushd ../${PYTHON}_build
|
pushd ../$python
|
||||||
%configure \
|
%configure \
|
||||||
%{?with_octave:--enable-swig-octave} \
|
%{?with_octave:--enable-swig-octave} \
|
||||||
%{!?with_octave:--disable-swig-octave}
|
%{!?with_octave:--disable-swig-octave}
|
||||||
@ -117,8 +117,8 @@ popd
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
%{python_expand # py2 and py3 make_install
|
%{python_expand # py2 and py3 make_install
|
||||||
export PYTHON=$python
|
export PYTHON=%{_bindir}/$python
|
||||||
pushd ../${PYTHON}_build
|
pushd ../$python
|
||||||
%make_install
|
%make_install
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
@ -158,8 +158,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}/%{name}/
|
%python_expand %fdupes %{buildroot}%{$python_sitearch}/%{name}/
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{python_expand export PYTHON=$python
|
%{python_expand export PYTHON=%{_bindir}/$python
|
||||||
pushd ../${PYTHON}_build
|
pushd ../$python
|
||||||
%make_build check
|
%make_build check
|
||||||
popd
|
popd
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user