blob: 52020305e6491ff968ce1171bf4a17d143484b3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
%global _empty_manifest_terminate_build 0
Name: python-antlr4-runtime
Version: 4.9.3
Release: 1
Summary: ANTLR(ANother Tool for Language Recognition) for python
License: BSD 3-Clause
URL: https://www.antlr.org/
Source0: https://files.pythonhosted.org/packages/b6/00/7f1cab9b44518ca225a03f4493ac9294aab5935a7a28486ba91a20ea29cf/antlr4-python3-runtime-%{version}.tar.gz#/%{name}-%{version}.tar.gz
Requires: python3 < 3.5
Requires: python3-typing
%description
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator for reading, processing, executing, or translating structured text or binary files. It's widely used to build languages, tools, and frameworks. From a grammar, ANTLR generates a parser that can build and walk parse trees.
%package -n python3-antlr4-runtime
Summary: ANTLR(ANother Tool for Language Recognition) for python
Provides: %{name}
BuildRequires: python3-setuptools >= 61.2
BuildRequires: python3-pip
BuildRequires: python3-wheel
%description -n python3-antlr4-runtime
antlr4-runtime description
%package help
Summary: Development documents and examples for torch
Provides: python3-antlr4-runtime-doc
%description help
help docs for python3-antlr4-runtime
%prep
%autosetup -p1 -n antlr4-python3-runtime-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-antlr4-runtime
%{_bindir}/pygrun
%{python3_sitelib}/antlr4/*
%{python3_sitelib}/antlr4_python3_runtime-%{version}.dist-info/*
%changelog
* Fri Jan 26 2024 menma <1316818279@qq.com> - 4.9.3-1
- Init package
|