2019-11-18 22:50:37 +01:00
|
|
|
# Description: Python syntax highlighter
|
2020-06-01 17:45:48 +02:00
|
|
|
# URL: https://pygments.org/
|
2019-11-18 22:50:37 +01:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
|
|
# Depends on: python3-setuptools
|
|
|
|
|
|
|
|
name=python3-pygments
|
2021-08-22 16:34:25 +02:00
|
|
|
version=2.10.0
|
2020-12-31 13:46:54 +01:00
|
|
|
release=1
|
2019-11-18 22:50:37 +01:00
|
|
|
source=(https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-$version.tar.gz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd Pygments-$version
|
|
|
|
|
|
|
|
/usr/bin/python3 setup.py build
|
2021-01-24 09:16:47 +01:00
|
|
|
/usr/bin/python3 setup.py install --prefix=/usr --root=$PKG --optimize=1
|
2019-11-18 22:50:37 +01:00
|
|
|
}
|