Accepting request 1094693 from devel:languages:python

- limit to newer python versions, older are no longer needed

OBS-URL: https://build.opensuse.org/request/show/1094693
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytz-deprecation-shim?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2023-06-23 19:52:12 +00:00 committed by Git OBS Bridge
commit 87b2e4eb17
2 changed files with 5 additions and 6 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Jun 22 15:25:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
- limit to newer python versions, older are no longer needed
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Apr 21 12:32:26 UTC 2023 - Dirk Müller <dmueller@suse.com> Fri Apr 21 12:32:26 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -17,7 +17,6 @@
# Upstream also supports shimming python2.7, but we assume Python >= 3.6 here (if 15.3 were resolvable for the python3 flavor) # Upstream also supports shimming python2.7, but we assume Python >= 3.6 here (if 15.3 were resolvable for the python3 flavor)
%global skip_python2 1
%define modname pytz-deprecation-shim %define modname pytz-deprecation-shim
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-%{modname} Name: python-%{modname}
@ -27,18 +26,13 @@ Summary: Shims to make deprecation of pytz easier
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/pganssle/pytz-deprecation-shim URL: https://github.com/pganssle/pytz-deprecation-shim
Source: https://files.pythonhosted.org/packages/source/p/pytz_deprecation_shim/pytz_deprecation_shim-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pytz_deprecation_shim/pytz_deprecation_shim-%{version}.tar.gz
BuildRequires: %{python_module backports.zoneinfo if %python-base < 3.9}
BuildRequires: %{python_module hypothesis} BuildRequires: %{python_module hypothesis}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytz} BuildRequires: %{python_module pytz}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%if 0%{?python_version_nodots} < 39
Requires: python-backports.zoneinfo
%endif
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages