Accepting request 1238514 from home:pgajdos:python

- do not require six
- added patches
  fix 0018cc5432
  + python-pytest-shutil-no-six.patch

OBS-URL: https://build.opensuse.org/request/show/1238514
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-shutil?expand=0&rev=30
This commit is contained in:
2025-01-17 14:42:36 +00:00
committed by Git OBS Bridge
parent a5d57ebfd2
commit ed3c0cf0e1
3 changed files with 449 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-shutil
#
# 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
@@ -24,6 +24,8 @@ Summary: A goodie-bag of unix shell and environment tools for pytest
License: MIT
URL: https://github.com/man-group/pytest-plugins
Source: https://files.pythonhosted.org/packages/source/p/pytest-shutil/pytest-shutil-%{version}.tar.gz
# https://github.com/man-group/pytest-plugins/commit/0018cc543229732b9c04fad909d2b7ee6167fa40
Patch0: python-pytest-shutil-no-six.patch
BuildRequires: %{python_module execnet}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
@@ -46,7 +48,7 @@ This library is a goodie-bag of Unix shell and environment management
tools for automated tests.
%prep
%autosetup -p2 -n pytest-shutil-%{version}
%autosetup -p1 -n pytest-shutil-%{version}
%build
%pyproject_wheel