SHA256
1
0
forked from pool/python-pdm

Accepting request 1094788 from home:gladiac:branches:devel:languages:python

- Fix building with Python 3.9

OBS-URL: https://build.opensuse.org/request/show/1094788
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdm?expand=0&rev=32
This commit is contained in:
Markéta Machová 2023-06-23 11:30:12 +00:00 committed by Git OBS Bridge
parent 683988a1fd
commit 43885484af
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 22 07:41:39 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>
- Fix building with Python 3.9
-------------------------------------------------------------------
Mon Jun 19 14:02:16 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -34,6 +34,7 @@ License: MIT
URL: https://github.com/pdm-project/pdm/
Source0: https://files.pythonhosted.org/packages/source/p/pdm/pdm-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module importlib-metadata if %python-base <= 3.9}
BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module pdm-pep517 >= 1.0}
BuildRequires: %{python_module pip}
@ -61,7 +62,7 @@ Requires: python-lockfile >= 0.9
%if 0%{?python_version_nodots} < 311
Requires: python-tomli >= 1.1.0
%endif
%if 0%{?python_version_nodots} < 38
%if 0%{?python_version_nodots} <= 39
Requires: python-importlib-metadata
Requires: python-typing-extensions
%endif