-
Notifications
You must be signed in to change notification settings - Fork 283
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10415 from vaikas/antlr4
Add py3 antlr4 python runtime.
- Loading branch information
Showing
1 changed file
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package: | ||
name: py3-antlr4-python3-runtime | ||
version: 4.13.1 | ||
epoch: 0 | ||
description: ANTLR runtime for Python 3 | ||
copyright: | ||
- license: BSD-3 | ||
dependencies: | ||
runtime: | ||
- python-3 | ||
|
||
environment: | ||
contents: | ||
packages: | ||
- build-base | ||
- busybox | ||
- ca-certificates-bundle | ||
- py3-gpep517 | ||
- py3-pip | ||
- py3-setuptools | ||
- py3-wheel | ||
- wolfi-base | ||
|
||
pipeline: | ||
- uses: git-checkout | ||
with: | ||
expected-commit: 7ed420ff2c78d62883875c442d75f32e73bc86c8 | ||
repository: https://github.com/antlr/antlr4 | ||
tag: ${{package.version}} | ||
|
||
- runs: | | ||
cd runtime/Python3 | ||
export SETUPTOOLS_SCM_PRETEND_VERSION=${{package.version}} | ||
python3 -m pip install -U poetry | ||
python3 -m gpep517 build-wheel \ | ||
--wheel-dir dist \ | ||
--output-fd 3 3>&1 >&2 | ||
python3 -m installer -d "${{targets.destdir}}" \ | ||
dist/*.whl | ||
- uses: strip | ||
|
||
update: | ||
enabled: true | ||
github: | ||
identifier: antlr/antlr4 |