Skip to content

Commit

Permalink
Merge pull request #10415 from vaikas/antlr4
Browse files Browse the repository at this point in the history
Add py3 antlr4 python runtime.
  • Loading branch information
vaikas authored Dec 26, 2023
2 parents a54038f + f907bf4 commit 8e55200
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions py3-antlr4-python3-runtime.yaml
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

0 comments on commit 8e55200

Please sign in to comment.