23 lines
776 B
Bash
23 lines
776 B
Bash
# Template file for 'python3-Pygments'
|
|
pkgname=python3-Pygments
|
|
version=2.18.0
|
|
revision=1
|
|
build_style=python3-pep517
|
|
# Ignored tests rely on unpackaged wcag_contrast_ratio module
|
|
make_check_args="--ignore=tests/contrast/test_contrasts.py"
|
|
hostmakedepends="hatchling"
|
|
depends="python3"
|
|
checkdepends="python3-pytest python3-lxml"
|
|
short_desc="Generic syntax highlighter written in Python"
|
|
maintainer="Andrew J. Hesford <ajh@sideband.org>"
|
|
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=786ff802f32e91311bff3889f6e9a86e81505fe99f2735bb6d60ae0c5004f199
|
|
conflicts="python-Pygments>=0"
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|