diff options
author | CoprDistGit <infra@openeuler.org> | 2024-01-29 06:17:30 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-01-29 06:17:30 +0000 |
commit | fa931b8813e88c4196d9624bdaa0d3ee2391b4dd (patch) | |
tree | a631b2f95747c55c68e3f9c0f104931a9ee35138 /python-antlr4-runtime.spec | |
parent | 51ac1aedb75a9f227df5785cbcd68b5bbfdac380 (diff) |
automatic import of python-antlr4-runtime
Diffstat (limited to 'python-antlr4-runtime.spec')
-rw-r--r-- | python-antlr4-runtime.spec | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/python-antlr4-runtime.spec b/python-antlr4-runtime.spec new file mode 100644 index 0000000..749c8e5 --- /dev/null +++ b/python-antlr4-runtime.spec @@ -0,0 +1,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 + +%description -n python3-antlr4-runtime +transformer description + +#Set custom spec file configurations for python + +%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 |