2021-06-14 21:51:47 +02:00
|
|
|
# Description: Cleo allows you to create beautiful and testable command-line interfaces.
|
2022-09-11 19:19:40 +02:00
|
|
|
# URL: https://github.com/python-poetry/cleo
|
2021-06-14 21:51:47 +02:00
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
|
|
# Depends on: python3-clikit
|
|
|
|
|
|
|
|
name=python3-cleo
|
2022-11-22 18:32:51 +01:00
|
|
|
version=2.0.0
|
2021-06-14 21:51:47 +02:00
|
|
|
release=1
|
2022-09-11 19:19:40 +02:00
|
|
|
source=(https://github.com/python-poetry/cleo/archive/$version/$name-$version.tar.gz)
|
2021-06-14 21:51:47 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd cleo-$version
|
2022-05-18 07:42:04 +02:00
|
|
|
|
|
|
|
if prt-get isinst python3-poetry; then
|
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
2022-07-10 18:58:26 +02:00
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 2 --destdir=$PKG dist/*.whl
|
2022-05-18 07:42:04 +02:00
|
|
|
else
|
|
|
|
/usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps cleo
|
|
|
|
fi
|
2021-06-14 21:51:47 +02:00
|
|
|
}
|