pantry/projects/pygments.org/package.yml
Marc Seitz 4c8845b57b
+pygmentize (#778)
* +pygmentize

* remove unnecesary deps
2023-03-16 09:31:48 -04:00

26 lines
429 B
YAML

distributable:
url: https://github.com/pygments/pygments/archive/refs/tags/{{version}}.tar.gz
strip-components: 1
versions:
github: pygments/pygments/tags
dependencies:
python.org: 3.11
build:
script: |
python-venv.sh {{prefix}}/bin/pygmentize
provides:
- bin/pygmentize
test:
fixture: |
import os
print(os.getcwd())
script: |
mv $FIXTURE test.py
pygmentize -f html -o test.html test.py