14
0

- Delete remove_mock.patch, that's not needed anymore, it's upstreamed

- Update to 65.5.1:
  * #3638: Drop a test dependency on the mock package, always use
    :external+python:py:mod:`unittest.mock` -- by :user:`hroncok`
  * #3659: Fixed REDoS vector in package_index.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-setuptools?expand=0&rev=231
This commit is contained in:
2022-11-14 10:33:55 +00:00
committed by Git OBS Bridge
parent 8cd1bc5162
commit b69b4710c5
6 changed files with 18 additions and 155 deletions

View File

@@ -37,15 +37,13 @@
# in order to avoid rewriting for subpackage generator
%define mypython python
Name: python-setuptools%{psuffix}
Version: 65.5.0
Version: 65.5.1
Release: 0
Summary: Download, build, install, upgrade, and uninstall Python packages
License: Apache-2.0 AND MIT AND BSD-2-Clause AND Python-2.0
URL: https://github.com/pypa/setuptools
Source: https://files.pythonhosted.org/packages/source/s/setuptools/setuptools-%{version}.tar.gz
Patch0: sort-for-reproducibility.patch
# PATCH-FIX-OPENSUSE remove_mock.patch mcepl@suse.com
Patch1: remove_mock.patch
# PATCH-FIX-OPENSUSE fix-get-python-lib-python38.patch bsc#1204395
Patch2: fix-get-python-lib-python38.patch
BuildRequires: %{python_module base >= 3.7}
@@ -67,6 +65,7 @@ BuildRequires: %{python_module jaraco.path >= 3.2.0}
BuildRequires: %{python_module pip >= 19.1}
BuildRequires: %{python_module pip-run >= 8.8}
BuildRequires: %{python_module pytest >= 6}
BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module setuptools = %{version}}
BuildRequires: %{python_module tomli-w >= 1.0.0}