17
0

4 Commits

Author SHA256 Message Date
9a541a7aa3 Accepting request 1301233 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems

OBS-URL: https://build.opensuse.org/request/show/1301233
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-antlr4-python3-runtime?expand=0&rev=9
2025-08-25 18:39:07 +00:00
5e81c60ebf - Convert to libalternatives on SLE-16-based and newer systems
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-antlr4-python3-runtime?expand=0&rev=18
2025-08-25 09:52:40 +00:00
1adc0ed239 Accepting request 1206334 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1206334
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-antlr4-python3-runtime?expand=0&rev=8
2024-10-09 20:11:47 +00:00
5cc577df78 Accepting request 1206316 from home:glaubitz:branches:devel:languages:python
- Update to version 4.13.2
  cpp target
  * [Cpp] Use target_include_dirs for cmake targets (target:cpp)
  * Update C++ documentation to state that C++17 is required (comp:doc, target:cpp)
  go target
  * fix go-target.md, remove duplicate 'get' (comp:doc, target:go)
  javascript target
  * fix(javascript): fix types not being recognized for NodeNext module resolution (target:javascript)
  * [Javascript] Fix broken package entrypoints (target:javascript, type:cleanup)
  python3 target
  * name 'state' conflict with Python3 runtime. (target:python3)

OBS-URL: https://build.opensuse.org/request/show/1206316
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-antlr4-python3-runtime?expand=0&rev=16
2024-10-08 14:26:28 +00:00
4 changed files with 39 additions and 6 deletions

View File

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

BIN
python-antlr4-python3-runtime-4.13.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,23 @@
-------------------------------------------------------------------
Mon Aug 25 09:52:12 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems
-------------------------------------------------------------------
Tue Oct 8 12:57:07 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to version 4.13.2
cpp target
* [Cpp] Use target_include_dirs for cmake targets (target:cpp)
* Update C++ documentation to state that C++17 is required (comp:doc, target:cpp)
go target
* fix go-target.md, remove duplicate 'get' (comp:doc, target:go)
javascript target
* fix(javascript): fix types not being recognized for NodeNext module resolution (target:javascript)
* [Javascript] Fix broken package entrypoints (target:javascript, type:cleanup)
python3 target
* name 'state' conflict with Python3 runtime. (target:python3)
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Mar 7 11:43:18 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Thu Mar 7 11:43:18 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-antlr4-python3-runtime # spec file for package python-antlr4-python3-runtime
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC and contributors
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,14 @@
# #
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-antlr4-python3-runtime Name: python-antlr4-python3-runtime
Version: 4.13.1 Version: 4.13.2
Release: 0 Release: 0
Summary: ANTLR runtime for Python 3 Summary: ANTLR runtime for Python 3
License: BSD-3-Clause License: BSD-3-Clause
@@ -30,9 +35,14 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel} BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives Requires(post): update-alternatives
Requires(postun): update-alternatives Requires(postun): update-alternatives
BuildArch: noarch %endif
%python_subpackages %python_subpackages
%description %description
@@ -62,6 +72,9 @@ sed -i 's,self.assertEquals,self.assertEqual,' tests/Test*
%postun %postun
%python_uninstall_alternative pygrun %python_uninstall_alternative pygrun
%pre
%python_libalternatives_reset_alternative pygrun
%check %check
cd %{_builddir}/antlr4-%{version}/runtime/Python3 cd %{_builddir}/antlr4-%{version}/runtime/Python3
%{python_expand # %{python_expand #