From e68a949c15be2ad2b7d9910f8dfefa058ffcf7f6 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Sun, 20 Sep 2026 13:39:53 +0000 Subject: automatic import of python-antlr4 --- python3-antlr4.spec | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 python3-antlr4.spec (limited to 'python3-antlr4.spec') diff --git a/python3-antlr4.spec b/python3-antlr4.spec new file mode 100644 index 0000000..a927964 --- /dev/null +++ b/python3-antlr4.spec @@ -0,0 +1,64 @@ +%global pypi_name antlr4-python3-runtime + +Name: python-antlr4 +Version: 4.13.2 +Release: 1%{?dist} +Summary: ANTLR 4 runtime for Python 3 +License: BSD-3-Clause +URL: https://github.com/antlr/antlr4 +Source0: https://github.com/antlr/antlr4/archive/refs/tags/v%{version}/python-antlr4-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-setuptools + +%description +ANTLR (ANother Tool for Language Recognition) is a powerful parser generator +for reading, processing, executing, or translating structured text or binary +files. The Python 3 runtime library provides the base classes that generated +parsers and lexers use. + +%package -n python3-antlr4 +Summary: ANTLR 4 runtime for Python 3 +Provides: python3-%{pypi_name} = %{version}-%{release} +Provides: python3dist(%{pypi_name}) = %{version} +Requires: python3 + +%description -n python3-antlr4 +ANTLR (ANother Tool for Language Recognition) is a powerful parser generator +for reading, processing, executing, or translating structured text or binary +files. The Python 3 runtime library provides the base classes that generated +parsers and lexers use. + +%package help +Summary: Development documents and examples for python-antlr4 +Provides: python3-antlr4-doc + +%description help +Documentation and examples for the ANTLR 4 Python 3 runtime. + +%prep +%autosetup -n %{name}-%{version} + +%build +pushd runtime/Python3 +%py3_build +popd + +%install +pushd runtime/Python3 +%py3_install +popd + +%files -n python3-antlr4 +%license LICENSE.txt +%{python3_sitelib}/antlr4/ +%{python3_sitelib}/antlr4_python3_runtime-%{version}*.egg-info/ +%{_bindir}/pygrun + +%files help +%doc runtime/Python3/README.txt + +%changelog +* Sun Sep 20 2026 Python_Bot - 4.13.2-1 +- Initial package -- cgit v1.2.3