mirror of
https://github.com/ivabus/pantry
synced 2024-11-12 19:45:19 +03:00
parent
bfe3e5cf52
commit
6bd1cee2f3
|
@ -9,8 +9,17 @@ dependencies:
|
||||||
python.org: ~3.11
|
python.org: ~3.11
|
||||||
|
|
||||||
build:
|
build:
|
||||||
script: |
|
script:
|
||||||
python-venv.sh {{prefix}}/bin/pygmentize
|
- python-venv.sh {{prefix}}/bin/pygmentize
|
||||||
|
# Rename Pygments to pygments because python
|
||||||
|
# and macOS can't agree on case sensitivity.
|
||||||
|
- run: |
|
||||||
|
if [ -d Pygments ]; then
|
||||||
|
mv Pygments foo
|
||||||
|
mv foo pygments
|
||||||
|
fi
|
||||||
|
working-directory: ${{prefix}}/venv/lib/python3.11/site-packages
|
||||||
|
if: darwin
|
||||||
|
|
||||||
provides:
|
provides:
|
||||||
- bin/pygmentize
|
- bin/pygmentize
|
||||||
|
@ -22,4 +31,3 @@ test:
|
||||||
script: |
|
script: |
|
||||||
mv $FIXTURE test.py
|
mv $FIXTURE test.py
|
||||||
pygmentize -f html -o test.html test.py
|
pygmentize -f html -o test.html test.py
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue