Files
alr-repo/python3-cleo/alr.sh

49 lines
1.7 KiB
Bash

name='python3-cleo'
version='2.1.0'
release='5'
desc='Cleo allows you to create beautiful and testable command-line interfaces'
desc_ru='Библиотека Python для создания красивых и тестируемых интерфейсов командной строки'
homepage='https://github.com/python-poetry/cleo'
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('all')
license=('MIT')
provides=('cleo')
conflicts=('cleo')
deps=('python3')
deps_alt=('python3')
deps_arch=('python')
deps_debian=('python3')
deps_fedora=('python3')
deps_redos=('python3')
deps_rhel=('python3')
deps_rosa=('python3')
deps_alpine=('python3')
build_deps=('python3' 'python3-build' 'python3-installer' 'python3-poetry-core')
build_deps_alt=('python3' 'python3-module-build' 'python3-module-installer' 'python3-module-poetry-core')
build_deps_arch=('python' 'python-build' 'python-installer' 'python-poetry-core')
build_deps_debian=('python3' 'python3-build' 'python3-installer' 'python3-poetry-core')
build_deps_fedora=("${build_deps[@]}")
build_deps_redos=("${build_deps[@]}")
build_deps_rhel=("${build_deps[@]}")
build_deps_rosa=("${build_deps[@]}")
build_deps_alpine=('python3' 'py3-build' 'py3-installer' 'py3-poetry-core')
sources=("https://files.pythonhosted.org/packages/source/c/cleo/cleo-2.1.0.tar.gz")
checksums=('blake2b-256:3c30f7960ed7041b158301c46774f87620352d50a9028d111b4211187af13783')
build() {
cd "$srcdir/cleo-${version}"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/cleo-${version}"
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
}
files() {
files-find-lib
}