15
0
forked from pool/python-hankel

- Add patch fix-requirements.patch:

* Stop specifying an invalid Sphinx version.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hankel?expand=0&rev=22
This commit is contained in:
2023-02-08 00:58:51 +00:00
committed by Git OBS Bridge
parent 92facb010e
commit a0cbaad3af
3 changed files with 42 additions and 6 deletions

32
fix-requirements.patch Normal file
View File

@@ -0,0 +1,32 @@
Index: hankel-1.2.1/setup.cfg
===================================================================
--- hankel-1.2.1.orig/setup.cfg
+++ hankel-1.2.1/setup.cfg
@@ -50,14 +50,14 @@ dev =
pre-commit
pytest
pytest-cov
- sphinx>=2.0<3
+ sphinx>=2.0,<3
sphinx-rtd-theme
docs =
ipykernel
nbsphinx
numpydoc
pandoc
- sphinx>=2.0<3
+ sphinx>=2.0,<3
sphinx-rtd-theme
tests =
pre-commit
Index: hankel-1.2.1/docs/requirements.txt
===================================================================
--- hankel-1.2.1.orig/docs/requirements.txt
+++ hankel-1.2.1/docs/requirements.txt
@@ -2,5 +2,5 @@ ipykernel
nbsphinx
numpydoc
pandoc
-sphinx>=2.0<3
+sphinx>=2.0,<3
sphinx_rtd_theme

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 8 00:50:32 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch fix-requirements.patch:
* Stop specifying an invalid Sphinx version.
-------------------------------------------------------------------
Sun May 1 18:52:47 UTC 2022 - Atri Bhattacharya <badshah400@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-hankel
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,18 +16,16 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%define skip_python36 1
%define modname hankel
Name: python-hankel
Version: 1.2.1
Release: 0
Summary: Hankel Transformations using method of Ogata 2005
License: MIT
Group: Development/Languages/Python
URL: https://github.com/steven-murray/hankel
Source: https://files.pythonhosted.org/packages/source/h/%{modname}/%{modname}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE Work around gh#steven-murray/hankel#80
Patch0: fix-requirements.patch
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -49,7 +47,7 @@ Hankel is a Python library to perform simple and accurate Hankel
transformations using the method of Ogata 2005.
%prep
%setup -q -n hankel-%{version}
%autosetup -p1 -n hankel-%{version}
%build
%python_build