void-packages/srcpkgs/python3-Pygments/template

23 lines
799 B
Bash

# Template file for 'python3-Pygments'
pkgname=python3-Pygments
version=2.15.1
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="python3-setuptools python3-wheel"
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=8ace4d3c1dd481894b2005f560ead0f9f19ee64fe983366be1a21e171d12775c
conflicts="python-Pygments>=0"
post_install() {
vlicense LICENSE
}