From ced95fb685cf8853ad5050076e8d0f86f0a5daff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=D0=A5=D1=80?= =?UTF-8?q?=D0=B0=D0=BC=D0=BE=D0=B2?= Date: Sat, 28 Sep 2024 14:35:19 +0300 Subject: [PATCH] python-poetry --- gitea/alr.sh | 2 +- python-poetry/alr.sh | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gitea/alr.sh b/gitea/alr.sh index 0252eb2..cbbf2c5 100644 --- a/gitea/alr.sh +++ b/gitea/alr.sh @@ -1,6 +1,6 @@ name='gitea' version='1.22.2' -release='1' +release='2' desc='Painless self-hosted Git service, community managed.' homepage='https://gitea.io' maintainer="Евгений Храмов " diff --git a/python-poetry/alr.sh b/python-poetry/alr.sh index f5f4cca..e99a3de 100644 --- a/python-poetry/alr.sh +++ b/python-poetry/alr.sh @@ -1,6 +1,6 @@ name='python-poetry' version='1.8.3' -release='1' +release='2' desc='Python dependency management and packaging made easy' homepage='https://python-poetry.org' maintainer="Евгений Храмов " @@ -101,13 +101,13 @@ prepare() { } build() { - local site_packages=$(python -c "import site; print(site.getsitepackages()[0])") + site_packages=$(python -c "import site; print(site.getsitepackages()[0])") cd "poetry-$version" python -m build -wn # install to tmp dir for tests and generate completions python -m installer --destdir=test_dir dist/*.whl export PYTHONPATH="$PWD/test_dir/$site_packages:$PYTHONPATH" - export PATH="$PWD/test_dir/usr/bin:$PATH" + export PATH="$PWD/test_dir/usr/local/bin:$PATH" poetry completions bash > poetry.bash poetry completions zsh > poetry.zsh poetry completions fish > poetry.fish