From dc69ac878af4bfc94bed9015ced561ed4125d688230a9c0be07d5988d9c68f54 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Sun, 19 Jun 2022 07:49:35 +0000 Subject: [PATCH 1/2] - update to 5.2.2: - fix #406: support ``--all`` to show all versions when listing more than one project. - Pin tox to <4dev. The next major version of devpi-client will use tox as a binary to support newer versions. - Support for basic authentication and client side certificates is deprecated now. Take a look at devpi-lockdown instead. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytz-deprecation-shim?expand=0&rev=5 --- python-pytz-deprecation-shim.changes | 5 +++++ python-pytz-deprecation-shim.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-pytz-deprecation-shim.changes b/python-pytz-deprecation-shim.changes index 72d60b6..e090e30 100644 --- a/python-pytz-deprecation-shim.changes +++ b/python-pytz-deprecation-shim.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sun Jun 19 07:49:07 UTC 2022 - Dirk Müller + +- skip python2 build + ------------------------------------------------------------------- Wed Feb 23 14:22:19 UTC 2022 - Matej Cepl diff --git a/python-pytz-deprecation-shim.spec b/python-pytz-deprecation-shim.spec index f58afd9..028ab15 100644 --- a/python-pytz-deprecation-shim.spec +++ b/python-pytz-deprecation-shim.spec @@ -16,7 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?!python_module:%define python_module() python3-%{**}} +%global skip_python2 1 %define modname pytz-deprecation-shim Name: python-%{modname} Version: 0.1.0.post0 From e59bca7e34bd98f057044374a7356d49199669810fe429ae48b4e5bdaeb0744c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 22 Jun 2022 05:55:17 +0000 Subject: [PATCH 2/2] Accepting request 984261 from home:bnavigator:branches:devel:languages:python - Remove tzdata from the dist metadata, as we neither have nor need it. - Follow the rest of the metadata, assuming Py >= 3.6 in order to avoid import errors on consuming libs. OBS-URL: https://build.opensuse.org/request/show/984261 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pytz-deprecation-shim?expand=0&rev=6 --- python-pytz-deprecation-shim.changes | 8 ++++++++ python-pytz-deprecation-shim.spec | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/python-pytz-deprecation-shim.changes b/python-pytz-deprecation-shim.changes index e090e30..001161e 100644 --- a/python-pytz-deprecation-shim.changes +++ b/python-pytz-deprecation-shim.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Jun 21 21:35:54 UTC 2022 - Ben Greiner + +- Remove tzdata from the dist metadata, as we neither have nor need + it. +- Follow the rest of the metadata, assuming Py >= 3.6 in order to + avoid import errors on consuming libs. + ------------------------------------------------------------------- Sun Jun 19 07:49:07 UTC 2022 - Dirk Müller diff --git a/python-pytz-deprecation-shim.spec b/python-pytz-deprecation-shim.spec index 028ab15..b12acec 100644 --- a/python-pytz-deprecation-shim.spec +++ b/python-pytz-deprecation-shim.spec @@ -17,6 +17,7 @@ %{?!python_module:%define python_module() python3-%{**}} +# 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 Name: python-%{modname} @@ -37,6 +38,9 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if 0%{?python_version_nodots} < 39 +Requires: python-backports.zoneinfo +%endif BuildArch: noarch %python_subpackages @@ -58,6 +62,8 @@ pytz. %prep %setup -q -n pytz_deprecation_shim-%{version} +# assume that we have tzdata from the system and never need the PyPI package +sed -i '/tzdata/ d' setup.cfg %build %pyproject_wheel