forked from pool/python-ligo-lw
Accepting request 1286681 from science
OBS-URL: https://build.opensuse.org/request/show/1286681 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-ligo-lw?expand=0&rev=10
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 18 04:45:02 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Use pyproject macros to build and install.
|
||||
- Update URL.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 19 08:22:55 UTC 2025 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
|
||||
+6
-4
@@ -33,7 +33,7 @@ Release: 0
|
||||
Summary: Python LIGO Light-Weight XML I/O Library
|
||||
License: GPL-3.0-only
|
||||
Group: Development/Languages/Python
|
||||
URL: https://git.ligo.org/kipp.cannon/python-ligo-lw
|
||||
URL: https://git.ligo.org/kipp/python-ligo-lw
|
||||
Source: http://software.ligo.org/lscsoft/source/%{srcname}-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM ligo-lw-segments-test-fix.patch badshah400@gmail.com -- Fix a test that randomly fails due to dictionary ordering being undefined
|
||||
Patch0: ligo-lw-segments-test-fix.patch
|
||||
@@ -50,7 +50,9 @@ Patch6: ligo-lw-disable-lsctables.patch
|
||||
# PATCH-FIX-UPSTREAM ligo-lw-disable-utils_segments.patch badshah400@gmail.com -- Disable failing utils_segments test (temporary workaround to get builds to succeed)
|
||||
Patch7: ligo-lw-disable-utils_segments.patch
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-PyYAML
|
||||
@@ -95,11 +97,11 @@ format.
|
||||
sed -i "1{s/distutils.core/setuptools/}" setup.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%if %{without test}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%{lua: for c in string.gmatch(rpm.expand("%bins"), "%S+") do
|
||||
@@ -132,7 +134,7 @@ popd
|
||||
print(rpm.expand("%python_alternative %{_bindir}/" .. c .. "\n"))
|
||||
end}
|
||||
%{python_sitearch}/ligo/
|
||||
%{python_sitearch}/python_ligo_lw-%{version}-py%{python_version}.egg-info/
|
||||
%{python_sitearch}/python_ligo_lw-%{version}.dist-info
|
||||
%{python_sitearch}/python_ligo_lw-%{version}-py%{python_version}-nspkg.pth
|
||||
%endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user