From ceb85a1ba47f788bf5a47f0ec55f08e04a05848d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ey=C3=9Fer?= Date: Mon, 10 Jun 2019 21:55:11 +0200 Subject: [PATCH] python-Pygments: update to 2.4.2. --- srcpkgs/python-Pygments/template | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python-Pygments/template b/srcpkgs/python-Pygments/template index 392e5982967..f5a72ca6cea 100644 --- a/srcpkgs/python-Pygments/template +++ b/srcpkgs/python-Pygments/template @@ -1,6 +1,6 @@ # Template file for 'python-Pygments' pkgname=python-Pygments -version=2.3.1 +version=2.4.2 revision=1 archs=noarch wrksrc="Pygments-${version}" @@ -8,14 +8,20 @@ build_style=python-module pycompile_module="pygments" hostmakedepends="python-setuptools python3-setuptools" depends="python-setuptools" +checkdepends="python-nose python3-nose" short_desc="Python2 syntax highlighter" maintainer="Alessio Sergi " -homepage="http://pygments.org/" license="BSD-2-Clause" +homepage="http://pygments.org/" distfiles="${PYPI_SITE}/P/Pygments/Pygments-${version}.tar.gz" -checksum=5ffada19f6203563680669ee7f53b64dabbeb100eb51b61996085e99c03b284a +checksum=881c4c157e45f30af185c1ffe8d549d48ac9127433f2c380c24b84572ad66297 alternatives="pygments:pygmentize:/usr/bin/pygmentize2" +do_check() { + python2 tests/run.py + python3 tests/run.py +} + post_install() { vlicense LICENSE }