python3-Pygments: update to 2.11.0.
This commit is contained in:
parent
b5811f5fb1
commit
d3a53c2946
1 changed files with 6 additions and 8 deletions
|
@ -1,25 +1,23 @@
|
||||||
# Template file for 'python3-Pygments'
|
# Template file for 'python3-Pygments'
|
||||||
pkgname=python3-Pygments
|
pkgname=python3-Pygments
|
||||||
version=2.10.0
|
version=2.11.0
|
||||||
revision=2
|
revision=1
|
||||||
wrksrc="Pygments-${version}"
|
wrksrc="Pygments-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
|
# Ignored tests rely on unpackaged wcag_contrast_ratio module
|
||||||
|
make_check_args="--ignore=tests/contrast/test_contrasts.py"
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3"
|
depends="python3"
|
||||||
checkdepends="python3-pytest"
|
checkdepends="python3-pytest python3-lxml"
|
||||||
short_desc="Generic syntax highlighter written in Python"
|
short_desc="Generic syntax highlighter written in Python"
|
||||||
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
homepage="https://pygments.org"
|
homepage="https://pygments.org"
|
||||||
changelog="https://raw.githubusercontent.com/pygments/pygments/master/CHANGES"
|
changelog="https://raw.githubusercontent.com/pygments/pygments/master/CHANGES"
|
||||||
distfiles="${PYPI_SITE}/P/Pygments/Pygments-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/P/Pygments/Pygments-${version}.tar.gz"
|
||||||
checksum=f398865f7eb6874156579fdf36bc840a03cab64d1cde9e93d68f46a425ec52c6
|
checksum=51130f778a028f2d19c143fce00ced6f8b10f726e17599d7e91b290f6cbcda0c
|
||||||
alternatives="pygments:pygmentize:/usr/bin/pygmentize3"
|
alternatives="pygments:pygmentize:/usr/bin/pygmentize3"
|
||||||
|
|
||||||
do_check() {
|
|
||||||
python3 -m pytest
|
|
||||||
}
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
mv ${DESTDIR}/usr/bin/pygmentize{,3}
|
mv ${DESTDIR}/usr/bin/pygmentize{,3}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue