Accepting request 857124 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/857124
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-importlib-metadata?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2020-12-24 18:40:46 +00:00 committed by Git OBS Bridge
commit 6df3ac3bc5
4 changed files with 28 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b0c2d3b226157ae4517d9625decf63591461c66b3a808c2666d538946519d170
size 32217

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5c5a2720817414a6c41f0a49993908068243ae02c1635a228126519b509c8aed
size 33549

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sat Dec 19 23:29:59 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- New version requires typing_extensions for Python < 3.8
(Leap and TW python36 flavor)
-------------------------------------------------------------------
Sat Dec 19 17:48:18 UTC 2020 - Dirk Müller <dmueller@suse.com>
- update to 3.3.0:
* * #265: ``EntryPoint`` objects now expose a ``.dist`` object
referencing the ``Distribution`` when constructed from a
Distribution.
* The object returned by ``metadata()`` now has a
formally-defined protocol called ``PackageMetadata``
with declared support for the ``.get_all()`` method.
Fixes #126.
- add typing-extensions dependency for older python versions
-------------------------------------------------------------------
Mon Dec 7 17:50:51 UTC 2020 - Benjamin Greiner <code@bnavigator.de>

View File

@ -27,7 +27,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-importlib-metadata%{psuffix}
Version: 3.1.1
Version: 3.3.0
Release: 0
Summary: Read metadata from Python packages
License: Apache-2.0
@ -40,6 +40,9 @@ BuildRequires: %{python_module toml}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-zipp >= 0.5
%if %{python_version_nodots} < 38
Requires: python-typing_extensions >= 3.6.4
%endif
Provides: python-importlib_metadata = %{version}
BuildArch: noarch
%if %{with test}
@ -52,6 +55,8 @@ BuildRequires: %{python_module pytest}
BuildRequires: %{python_module testsuite}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module zipp >= 0.5}
BuildRequires: (python3-typing_extensions >= 3.6.4 if python3-base < 3.8)
BuildRequires: (python36-typing_extensions >= 3.6.4 if python36-base)
%endif
%python_subpackages