mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
parent
028997a004
commit
4c8845b57b
1 changed files with 25 additions and 0 deletions
25
projects/pygments.org/package.yml
Normal file
25
projects/pygments.org/package.yml
Normal file
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
|
Loading…
Reference in a new issue