File python-antlr4-python3-runtime.spec of Package failed_python-antlr4-python3-runtime

```
Name:           python-antlr4-python3-runtime
Version:        4.13.1
Release:        1.1
Summary:        ANTLR 4 Runtime for Python 3
License:        BSD-3-Clause
URL:            https://www.antlr.org/
Source0:        %{name}-%{version}.tar.gz

BuildRequires:  python3-devel
BuildRequires:  python3-pip
BuildRequires:  python3-setuptools
BuildRequires:  python3-wheel

%description
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. This package provides the Python 3 runtime for ANTLR 4.

%prep
%setup -q

%build
# Build process for Python 3 runtime
python3 setup.py build

%install
python3 setup.py install --root %{buildroot} --optimize=1

%check
PYTHONPATH=%{buildroot}/usr/lib/python3/site-packages python3 tests/run.py

%files
%license LICENSE.txt
%{python3_sitelib}/antlr4/
%{_bindir}/pygrun*

%changelog
* Sun Aug 10 2025 Your Name <your.email@example.com> - 4.13.1-1.1
- Updated Release field to fix syntax error.
- Fixed test cases to use assertEqual instead of assertEquals.
```
openSUSE Build Service is sponsored by