Files
ports/core/python2-pygments/spkgbuild
2021-01-31 00:35:16 +08:00

16 lines
350 B
Plaintext

# description : Python syntax highlighter (python2)
# depends : python2-setuptools
name=python2-pygments
version=2.5.2
release=1
source="https://pypi.org/packages/source/P/Pygments/Pygments-$version.tar.gz"
build() {
cd Pygments-$version
python2 setup.py install --root="$PKG" -O1
# conflict with python3-pygments
rm $PKG/usr/bin/pygmentize
}