14
0

- update to 0.3.3:

* Removed splituser() function which wasn't used and is deprecated.
  * Handle version comparisons correctly in environment markers.
  * Handle a single trailing comma following a version. 
  * Fix incorrect handling of epochs.
  * Reverted handling of tags for Python >= 3.10
    (use 310 rather than 3_10). This is because PEP 641 was rejected.
  * removed unused regular expression
  * allowed "Obsoletes" in more scenarios, to better handle faulty metadata
    already on PyPI.
  * added entry for SourcelessFileLoader to the finder registry.
  * allowed a trailing comma in constraints, to better handle faulty metadata already on PyP
- drop python-distlib-2048-bit-key.patch (obsolete)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-distlib?expand=0&rev=18
This commit is contained in:
2021-11-07 18:24:30 +00:00
committed by Git OBS Bridge
parent a2a2cbe19c
commit 388eba103d
6 changed files with 45 additions and 135 deletions

View File

@@ -18,15 +18,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-distlib
Version: 0.3.1
Version: 0.3.3
Release: 0
Summary: Distribution utilities
License: Python-2.0
URL: https://bitbucket.org/pypa/distlib
Source: https://files.pythonhosted.org/packages/source/d/distlib/distlib-%{version}.zip
Patch0: remove-backports.patch
#PATCH-FIX-UPSTREAM Update self-signed certificate to use 2048-bit key.
Patch1: python-distlib-2048-bit-key.patch
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes