14
0

Accepting request 1155878 from home:glaubitz:branches:devel:languages:python

- Switch package to modern Python Stack on SLE-15
  + Add %{?sle15_python_module_pythons}
  + Drop %{?!python_module:%define python_module() python-%{**} python3-%{**}}
  + Drop %define skip_python2 1
  + Drop support for older Python 3.x versions

OBS-URL: https://build.opensuse.org/request/show/1155878
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-antlr4-python3-runtime?expand=0&rev=14
This commit is contained in:
2024-03-07 11:46:14 +00:00
committed by Git OBS Bridge
parent 024c32cc3b
commit 9fc0938a07
2 changed files with 10 additions and 5 deletions

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Mar 7 11:43:18 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Switch package to modern Python Stack on SLE-15
+ Add %{?sle15_python_module_pythons}
+ Drop %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+ Drop %define skip_python2 1
+ Drop support for older Python 3.x versions
-------------------------------------------------------------------
Thu Feb 8 09:57:35 UTC 2024 - Adrian Schröter <adrian@suse.de>

View File

@@ -16,8 +16,7 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-antlr4-python3-runtime
Version: 4.13.1
Release: 0
@@ -34,9 +33,6 @@ BuildRequires: python-rpm-macros
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%if %{python3_version_nodots} < 35
Requires: python-typing
%endif
%python_subpackages
%description