From 6bd1cee2f3d228c3c57b70bc062a2a1f51a66a56 Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Sat, 18 Nov 2023 15:33:32 -0500 Subject: [PATCH] fix(pygments) closes #4113 --- projects/pygments.org/package.yml | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/projects/pygments.org/package.yml b/projects/pygments.org/package.yml index 629ad065..c80cbfff 100644 --- a/projects/pygments.org/package.yml +++ b/projects/pygments.org/package.yml @@ -9,8 +9,17 @@ dependencies: python.org: ~3.11 build: - script: | - python-venv.sh {{prefix}}/bin/pygmentize + script: + - 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: - bin/pygmentize @@ -22,4 +31,3 @@ test: script: | mv $FIXTURE test.py pygmentize -f html -o test.html test.py -