Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions py3-pygments.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package:
name: py3-pygments
version: 2.14.0
epoch: 2
version: 2.15.0
epoch: 0
description: Syntax highlighting package written in Python
copyright:
- license: BSD-2-Clause
Expand All @@ -14,17 +14,22 @@ environment:
- build-base
- py3-setuptools
- python3
- py3-gpep517
- py3-wheel

pipeline:
- uses: fetch
with:
expected-sha256: b3ed06a9e8ac9a9aae5a6f5dbe78a8a58655d17b43b93c078f094ddc476ae297
expected-sha256: f7e36cffc4c517fbc252861b9a6e4644ca0e5abadf9a113c72d1358ad09b9500
uri: https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-${{package.version}}.tar.gz

- runs: python3 setup.py build
- runs: |
backend="$(python3 -m gpep517 get-backend)"

python3 -m gpep517 build-wheel --wheel-dir dist --backend "$backend" --output-fd 1

- runs: |
python3 setup.py install --skip-build --root=${{targets.destdir}}
python3 -m installer -d "${{targets.destdir}}" dist/Pygments-*.whl

mkdir -p ${{targets.destdir}}/usr/bin
ln -s pygmentize ${{targets.destdir}}/usr/bin/pygmentize-3
Expand Down