15
0

- Add patch pytest-7-support.patch:

* Support pytest >= 7.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-humanfriendly?expand=0&rev=36
This commit is contained in:
2022-07-29 07:43:15 +00:00
committed by Git OBS Bridge
parent fa194d8080
commit cb6fc62f0b
3 changed files with 46 additions and 2 deletions

View File

@@ -35,6 +35,8 @@ URL: https://github.com/xolox/python-humanfriendly
Source: https://files.pythonhosted.org/packages/source/h/humanfriendly/humanfriendly-%{version}.tar.gz
# https://github.com/xolox/python-humanfriendly/issues/62
Patch0: python-humanfriendly-no-mock.patch
# PATCH-FIX-UPSTREAM gh#xolox/python-humanfriendly#65
Patch1: pytest-7-support.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -74,8 +76,7 @@ text interfaces more user friendly.
friendly rendering of usage messages and querying the terminal for its size.
%prep
%setup -q -n humanfriendly-%{version}
%patch0 -p1
%autosetup -p1 -n humanfriendly-%{version}
%build
%python_build