SHA256
10
0
forked from pool/lalframe

Compare commits

8 Commits

Author SHA256 Message Date
82a70575c8 Accepting request 1227917 from science
OBS-URL: https://build.opensuse.org/request/show/1227917
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lalframe?expand=0&rev=11
2024-12-03 19:46:42 +00:00
d5073a0341 Add lalframe-swig-stringval-not-value.patch: For compatibility with swig 4.3.0, prefer 'stringval' before 'value' attribute (upstream commit 9dba245a).
OBS-URL: https://build.opensuse.org/package/show/science/lalframe?expand=0&rev=25
2024-12-03 06:35:45 +00:00
8ae773c53c OBS-URL: https://build.opensuse.org/package/show/science/lalframe?expand=0&rev=24 2024-11-18 12:40:34 +00:00
18b457f888 OBS-URL: https://build.opensuse.org/package/show/science/lalframe?expand=0&rev=23 2024-11-18 12:39:58 +00:00
58ca1e59bf Accepting request 1200249 from science
OBS-URL: https://build.opensuse.org/request/show/1200249
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lalframe?expand=0&rev=10
2024-09-13 12:34:10 +00:00
bc7eedb553 Version update and numpy 2.0 compatibilty
OBS-URL: https://build.opensuse.org/package/show/science/lalframe?expand=0&rev=21
2024-09-12 06:45:35 +00:00
0d0a9312ed Accepting request 1189323 from science
OBS-URL: https://build.opensuse.org/request/show/1189323
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lalframe?expand=0&rev=9
2024-07-25 13:38:48 +00:00
296e4c3519 Update lalframe to 3.0.4.
OBS-URL: https://build.opensuse.org/package/show/science/lalframe?expand=0&rev=19
2024-07-24 07:52:10 +00:00
5 changed files with 67 additions and 5 deletions

View File

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

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

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

View File

@@ -0,0 +1,33 @@
From 9dba245ab3692ecf691247a442704f13c075ed34 Mon Sep 17 00:00:00 2001
From: Karl Wette <karl.wette@ligo.org>
Date: Thu, 24 Oct 2024 18:06:30 +1100
Subject: [PATCH] common/swig/generate_swig_iface.py: prefer "stringval" before
"value" attribute
- As of SWIG 4.3.0 "value" attribute contains quote characters
- "stringval" attribute appears to still contain the raw string
---
common/swig/generate_swig_iface.py | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/common/swig/generate_swig_iface.py b/common/swig/generate_swig_iface.py
index 530b026d5d..eaee2d41ce 100644
--- a/common/swig/generate_swig_iface.py
+++ b/common/swig/generate_swig_iface.py
@@ -195,9 +195,11 @@ class SwigSymbols(object):
"""Parse a swiglal macro
"""
cdecl_name = get_swig_attr(cdecl, 'name')
- cdecl_value = get_swig_attr(cdecl, 'value')
+ cdecl_value = get_swig_attr(cdecl, 'stringval')
if not cdecl_value:
- raise ValueError("cdecl '{}' has no value".format(cdecl_name))
+ cdecl_value = get_swig_attr(cdecl, 'value')
+ if not cdecl_value:
+ raise ValueError("cdecl '{}' has no value".format(cdecl_name))
macro = re.sub(r'\s', '', cdecl_value)
if cdecl_name == '__swiglal__':
if macro in clear_macros:
--
GitLab

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Mon Dec 2 12:08:43 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Add lalframe-swig-stringval-not-value.patch: For compatibility
with swig 4.3.0, prefer 'stringval' before 'value' attribute
(upstream commit 9dba245a).
-------------------------------------------------------------------
Mon Nov 18 12:40:11 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Fix use of %requires_eq with respect to octave.
-------------------------------------------------------------------
Wed Sep 11 16:42:03 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 3.0.5:
* No release notes.
-------------------------------------------------------------------
Sat Jul 20 02:58:44 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 3.0.4:
* No release notes.
-------------------------------------------------------------------
Mon Jan 22 07:27:53 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -25,13 +25,15 @@
# No support for octave >= 6
%bcond_with octave
Name: lalframe
Version: 3.0.3
Version: 3.0.5
Release: 0
Summary: LSC Algorithm Frame Library for gravitational wave data analysis
License: GPL-2.0-or-later
Group: Productivity/Scientific/Physics
URL: https://wiki.ligo.org/Computing/LALSuite
Source: https://software.igwn.org/sources/source/lalsuite/lalframe-%{version}.tar.xz
# PATCH-FIX-UPSTREAM
Patch0: https://git.ligo.org/lscsoft/lalsuite/-/commit/9dba245ab3692ecf691247a442704f13c075ed34.patch#/lalframe-swig-stringval-not-value.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module lal >= 7.1.0}
BuildRequires: %{python_module numpy >= 1.7}
@@ -84,6 +86,7 @@ Requires: pkgconfig(lal)
This package contains sources and header files needed to build applications
that use the LAL Frame library.
%if %{with octave}
%package -n octave-lalframe
Summary: Octave bindings for LAL Frame
Group: Productivity/Scientific/Physics
@@ -92,9 +95,11 @@ Requires: octave-lal
%description -n octave-lalframe
This package provides the necessary files for using LAL Frame with octave.
%endif
%prep
%autosetup -p1
# Upstream commits are -p1 against the full lalsuite, but -p2 against individual lal* pkgs
%autosetup -p2
%build
%{python_expand # Necessary to run configure with multiple py3 flavours