python3-Pygments: update to 2.15.0.

This commit is contained in:
Andrew J. Hesford 2023-04-13 08:05:13 -04:00
parent 8c59b8a78e
commit 45f5081463
1 changed files with 5 additions and 6 deletions

View File

@ -1,11 +1,11 @@
# Template file for 'python3-Pygments'
pkgname=python3-Pygments
version=2.14.0
version=2.15.0
revision=1
build_style=python3-module
build_style=python3-pep517
# Ignored tests rely on unpackaged wcag_contrast_ratio module
make_check_args="--ignore=tests/contrast/test_contrasts.py"
hostmakedepends="python3-setuptools"
hostmakedepends="python3-setuptools python3-wheel"
depends="python3"
checkdepends="python3-pytest python3-lxml"
short_desc="Generic syntax highlighter written in Python"
@ -14,10 +14,9 @@ license="BSD-2-Clause"
homepage="https://pygments.org"
changelog="https://raw.githubusercontent.com/pygments/pygments/master/CHANGES"
distfiles="${PYPI_SITE}/P/Pygments/Pygments-${version}.tar.gz"
checksum=b3ed06a9e8ac9a9aae5a6f5dbe78a8a58655d17b43b93c078f094ddc476ae297
alternatives="pygments:pygmentize:/usr/bin/pygmentize3"
checksum=f7e36cffc4c517fbc252861b9a6e4644ca0e5abadf9a113c72d1358ad09b9500
conflicts="python-Pygments>=0"
post_install() {
vlicense LICENSE
mv ${DESTDIR}/usr/bin/pygmentize{,3}
}