# Description: Python syntax highlighter
# URL: https://pygments.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: python3-build python3-installer python3-wheel

name=python3-pygments
version=2.15.1
release=1
source=(https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-$version.tar.gz)

build() {
	cd Pygments-$version

	/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
	/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
}
