mirror of
https://github.com/ivabus/pantry
synced 2024-11-27 02:35:08 +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
|
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 ..
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue