From 5f4db43bc151fe0e7416dfd8ef90cf966dd51dac Mon Sep 17 00:00:00 2001 From: Tim Biermann Date: Tue, 22 Aug 2023 17:05:50 +0200 Subject: [PATCH] python3-cleo: updated outdated build logic --- python3-cleo/.signature | 4 ++-- python3-cleo/Pkgfile | 11 +++-------- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/python3-cleo/.signature b/python3-cleo/.signature index 7df3a72ad..f3d2cae08 100644 --- a/python3-cleo/.signature +++ b/python3-cleo/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF3+NoE9k13L20eIP28cmZFnIa5h1Gkksu5F0Y7BoLRc1VLRWDATHmvLaAi4k4hDkwIuyvXD0tAs6uDQ0WZ7qCjAQ= -SHA256 (Pkgfile) = bdb4cbd49f7bdaf64599ccd5bb01a3f11898ba0ad510c988824a745b3a5c8b93 +RWSagIOpLGJF33zJv39jUWoIrXt4BoN0vYlZasiGhOWaq/Hq+06mepDRqJz2IvM4nxiJ6oPHaqLb4oK4Opb0x+y0lRkh6DSdEws= +SHA256 (Pkgfile) = e964fefadcb898f71b4172703188a1ceaf04563d5f25da84721083b6abfbf93d SHA256 (.footprint) = ad7b54a095e26b16f6ea267e3f860513613e6ceafe192dcbda04fc53697a345e SHA256 (python3-cleo-2.0.1.tar.gz) = cb9b60c9559d26a289b0536b134f9efe1b59632f51dc38b20c8a9076b99e0f07 diff --git a/python3-cleo/Pkgfile b/python3-cleo/Pkgfile index 3ffb688df..636bb1f85 100644 --- a/python3-cleo/Pkgfile +++ b/python3-cleo/Pkgfile @@ -1,4 +1,4 @@ -# Description: Cleo allows you to create beautiful and testable command-line interfaces. +# Description: Cleo allows you to create beautiful and testable command-line interfaces # URL: https://github.com/python-poetry/cleo # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: python3-clikit python3-rapidfuzz @@ -11,11 +11,6 @@ source=(https://github.com/python-poetry/cleo/archive/$version/$name-$version.ta build() { cd cleo-$version - if prt-get isinst python3-poetry; then - /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation - /usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl - else - /usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps cleo - rm -r $PKG/usr/lib/python3.10/site-packages/cleo-2.0.1.dist-info/{INSTALLER,REQUESTED} - fi + /usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation + /usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl }