mirror of
https://github.com/ivabus/pantry
synced 2024-11-23 00:45:07 +03:00
Fixes building python-poetry.org (#107)
This commit is contained in:
parent
c0af519e55
commit
9d9621841a
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue