Fixes building python-poetry.org (#107)

This commit is contained in:
Max Howell 2023-01-18 11:12:01 -05:00 committed by GitHub
parent c0af519e55
commit 9d9621841a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -6,7 +6,7 @@ versions:
github: mesonbuild/meson/tags github: mesonbuild/meson/tags
dependencies: dependencies:
python.org: 3 python.org: ^3
gnu.org/bash: '>=2' # for our venv/relocation scripts: feel free to fix that gnu.org/bash: '>=2' # for our venv/relocation scripts: feel free to fix that
build: build:
@ -14,7 +14,7 @@ build:
test: test:
dependencies: dependencies:
ninja-build.org: 1 ninja-build.org: ^1
tea.xyz/gx/cc: c99 tea.xyz/gx/cc: c99
script: | script: |
meson .. meson ..

View file

@ -17,7 +17,7 @@ cd "$PREFIX"
libexec/bin/pip install -v --no-binary :all: --ignore-installed $CMD_NAME libexec/bin/pip install -v --no-binary :all: --ignore-installed $CMD_NAME
mkdir bin mkdir bin
mv libexec/bin/$CMD_NAME libexec/bin/$CMD_NAME.py mv libexec/bin/$CMD_NAME libexec/bin/teaxyz.py
cd bin cd bin
ln -s ../libexec/bin/$CMD_NAME $CMD_NAME ln -s ../libexec/bin/$CMD_NAME $CMD_NAME
@ -36,7 +36,7 @@ else
LIBEXEC="\$(cd "\$(dirname "\$self")" && pwd)" LIBEXEC="\$(cd "\$(dirname "\$self")" && pwd)"
fi fi
source "\$LIBEXEC/activate" source "\$LIBEXEC/activate"
exec "\$LIBEXEC"/$CMD_NAME.py "\$@" exec "\$LIBEXEC"/teaxyz.py "\$@"
EOF EOF
chmod +x $CMD_NAME chmod +x $CMD_NAME