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
dependencies:
python.org: 3
python.org: ^3
gnu.org/bash: '>=2' # for our venv/relocation scripts: feel free to fix that
build:
@ -14,7 +14,7 @@ build:
test:
dependencies:
ninja-build.org: 1
ninja-build.org: ^1
tea.xyz/gx/cc: c99
script: |
meson ..
@ -22,4 +22,4 @@ test:
working-directory: build
provides:
- bin/meson
- bin/meson

View file

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