python-Pygments: remove package

This commit is contained in:
classabbyamp 2022-03-05 13:06:33 -05:00 committed by Echo
parent f001ce009a
commit aafd2f2278
3 changed files with 1 additions and 27 deletions

View File

@ -1,25 +0,0 @@
# 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 <al3hex@gmail.com>"
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}
}

View File

@ -1,2 +0,0 @@
ignore="*rc*"
pattern="Pygments-\K2\.5\.[0-9.]+(?=.tar)"

View File

@ -263,6 +263,7 @@ replaces="
pystopwatch<=2019_2 pystopwatch<=2019_2
python-M2Crypto<=0.35.2_7 python-M2Crypto<=0.35.2_7
python-Pillow<=6.2.2_3 python-Pillow<=6.2.2_3
python-Pygments<=2.5.2_4
python-PyQt4<=4.12.1_4 python-PyQt4<=4.12.1_4
python-SecretStorage<=2.3.1_4 python-SecretStorage<=2.3.1_4
python-audit<=2.8.5_2 python-audit<=2.8.5_2