forked from pool/python-hankel
Accepting request 1290926 from devel:languages:python
- Switch to pyproject macros. OBS-URL: https://build.opensuse.org/request/show/1290926 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hankel?expand=0&rev=14
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 7 02:10:01 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 14 13:59:17 UTC 2024 - Nico Krapp <nico.krapp@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-hankel
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,8 +26,10 @@ URL: https://github.com/steven-murray/hankel
|
||||
Source: https://files.pythonhosted.org/packages/source/h/%{modname}/%{modname}-%{version}.tar.gz
|
||||
# https://github.com/steven-murray/hankel/commit/3307d7527325dc80ac441d845982f93fd84d5311
|
||||
Patch0: fix-get_h-test.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-mpmath >= 1.0.0
|
||||
@@ -50,10 +52,10 @@ transformations using the method of Ogata 2005.
|
||||
%autosetup -p1 -n hankel-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
# TESTS TAKE TOO LONG ON i586 LEADING TO OBS WORKER TIMING OUT
|
||||
@@ -66,6 +68,6 @@ transformations using the method of Ogata 2005.
|
||||
%doc README.rst CHANGELOG.rst
|
||||
%license LICENSE.rst
|
||||
%{python_sitelib}/%{modname}/
|
||||
%{python_sitelib}/%{modname}-%{version}-py%{python_version}.egg-info/
|
||||
%{python_sitelib}/%{modname}-%{version}.dist-info/
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user