python3-cleo 2.1.0-3

This commit is contained in:
Евгений Храмов 2025-04-06 16:07:26 +03:00
parent 9348a7f278
commit d7ae693039

@ -1,6 +1,6 @@
name='python3-cleo'
version='2.1.0'
release='2'
release='3'
desc='Cleo allows you to create beautiful and testable command-line interfaces.'
homepage='https://github.com/python-poetry/cleo'
maintainer='Евгений Храмов <xpamych@yandex.ru>'
@ -21,11 +21,16 @@ sources=("https://files.pythonhosted.org/packages/source/c/cleo/cleo-2.1.0.tar.g
checksums=('blake2b-256:3c30f7960ed7041b158301c46774f87620352d50a9028d111b4211187af13783')
build() {
cd "$srcdir/cleo-${version}"
python3 -m build
cd "$srcdir/cleo-${version}"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/cleo-${version}"
pip install --root="${pkgdir}/" . --no-deps --disable-pip-version-check
cd "$srcdir/cleo-${version}"
pip install --root="${pkgdir}/" . --no-deps --disable-pip-version-check
}
files() {
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/cleo/*
printf '"%s" ' ./usr/local/lib/python3.*/site-packages/cleo-${version}.dist-info/*
}