diff --git a/py3-pygments.yaml b/py3-pygments.yaml index 14b4f88e101..4fb7a0e61b4 100644 --- a/py3-pygments.yaml +++ b/py3-pygments.yaml @@ -1,7 +1,7 @@ package: name: py3-pygments - version: 2.14.0 - epoch: 2 + version: 2.15.1 + epoch: 0 description: Syntax highlighting package written in Python copyright: - license: BSD-2-Clause @@ -12,22 +12,16 @@ environment: - busybox - ca-certificates-bundle - build-base - - py3-setuptools - - python3 + - py3-pip pipeline: - - uses: fetch + - uses: git-checkout with: - expected-sha256: b3ed06a9e8ac9a9aae5a6f5dbe78a8a58655d17b43b93c078f094ddc476ae297 - uri: https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-${{package.version}}.tar.gz + repository: https://github.com/pygments/pygments.git + tag: ${{package.version}} + expected-commit: 04a75bd5a75bfe27f0b582dd83c85e62f9475581 - - runs: python3 setup.py build - - - runs: | - python3 setup.py install --skip-build --root=${{targets.destdir}} - - mkdir -p ${{targets.destdir}}/usr/bin - ln -s pygmentize ${{targets.destdir}}/usr/bin/pygmentize-3 + - runs: pip install . --prefix=/usr --root=${{targets.destdir}} subpackages: - name: py3-pygments-doc @@ -51,5 +45,5 @@ subpackages: update: enabled: true - release-monitor: - identifier: 3986 + github: + identifier: pygments/pygments