# Template file for 'python-Pygments' pkgname=python-Pygments version=2.5.2 revision=4 wrksrc="Pygments-${version}" build_style=python2-module hostmakedepends="python-setuptools" depends="python" checkdepends="python-pytest" short_desc="Python2 syntax highlighter" maintainer="Alessio Sergi " license="BSD-2-Clause" homepage="http://pygments.org/" distfiles="${PYPI_SITE}/P/Pygments/Pygments-${version}.tar.gz" checksum=98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe alternatives="pygments:pygmentize:/usr/bin/pygmentize2" do_check() { python2 -m pytest } post_install() { vlicense LICENSE mv ${DESTDIR}/usr/bin/pygmentize{,2} }