diff --git a/python3-cleo/alr.sh b/python3-cleo/alr.sh index 7884b9a..7ebcd8a 100644 --- a/python3-cleo/alr.sh +++ b/python3-cleo/alr.sh @@ -1,6 +1,6 @@ name='python3-cleo' version='2.1.0' -release='4' +release='5' desc='Cleo allows you to create beautiful and testable command-line interfaces' desc_ru='Библиотека Python для создания красивых и тестируемых интерфейсов командной строки' homepage='https://github.com/python-poetry/cleo' @@ -21,15 +21,15 @@ deps_rhel=('python3') deps_rosa=('python3') deps_alpine=('python3') -build_deps=('python3' 'python3-pip') -build_deps_alt=('python3' 'python3-module-pip') -build_deps_arch=('python' 'python-pip') -build_deps_debian=('python3' 'python3-pip') +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-pip') +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') @@ -41,10 +41,9 @@ build() { package() { cd "$srcdir/cleo-${version}" - pip install --root="${pkgdir}/" . --no-deps --disable-pip-version-check + python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl } files() { - files-find "./usr/local/lib/python3.*/site-packages/cleo" - files-find "./usr/local/lib/python3.*/site-packages/cleo-*.dist-info" + files-find-lib } \ No newline at end of file