summaryrefslogtreecommitdiff
path: root/python3-antlr4.spec
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2026-09-20 13:46:37 +0000
committerCoprDistGit <infra@openeuler.org>2026-09-20 13:46:37 +0000
commitaab9fba1209cd3b1da65baf8b8682cc83d40a599 (patch)
tree27012caab7ae0439e51f9d9f62064de0a95c1531 /python3-antlr4.spec
parente68a949c15be2ad2b7d9910f8dfefa058ffcf7f6 (diff)
automatic import of python-antlr4
Diffstat (limited to 'python3-antlr4.spec')
-rw-r--r--python3-antlr4.spec7
1 files changed, 4 insertions, 3 deletions
diff --git a/python3-antlr4.spec b/python3-antlr4.spec
index a927964..00984f4 100644
--- a/python3-antlr4.spec
+++ b/python3-antlr4.spec
@@ -11,6 +11,7 @@ BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
+BuildRequires: python3-pip
%description
ANTLR (ANother Tool for Language Recognition) is a powerful parser generator
@@ -42,18 +43,18 @@ Documentation and examples for the ANTLR 4 Python 3 runtime.
%build
pushd runtime/Python3
-%py3_build
+%{__python3} -m pip wheel --no-build-isolation --no-deps .
popd
%install
pushd runtime/Python3
-%py3_install
+%{__python3} -m pip install --no-build-isolation --no-deps --root %{buildroot} .
popd
%files -n python3-antlr4
%license LICENSE.txt
%{python3_sitelib}/antlr4/
-%{python3_sitelib}/antlr4_python3_runtime-%{version}*.egg-info/
+%{python3_sitelib}/antlr4_python3_runtime-%{version}*.dist-info/
%{_bindir}/pygrun
%files help