diff --git a/python3-dotty-dict/alr.sh b/python3-dotty-dict/alr.sh index cd21e9b..be5f301 100644 --- a/python3-dotty-dict/alr.sh +++ b/python3-dotty-dict/alr.sh @@ -1,17 +1,26 @@ name='python3-dotty-dict' version='1.3.1' -release='2' -desc='Dictionary wrapper for quick access to deeply nested keys.' +release='3' +desc='Dictionary wrapper for quick access to deeply nested keys' +desc_ru='Библиотека Python для быстрого доступа к глубоко вложенным ключам словаря' homepage='https://github.com/pawelzny/dotty_dict' -maintainer="Евгений Храмов " +maintainer="Evgeny Khramov " +maintainer_ru="Евгений Храмов " architectures=('all') license=('MIT') provides=('python3-dotty-dict') conflicts=('python3-dotty-dict') -deps=( - 'python' -) +deps=('python3') + +deps_alt=('python3') +deps_arch=('python') +deps_debian=('python3') +deps_fedora=('python3') +deps_redos=('python3') +deps_rhel=('python3') +deps_rosa=('python3') + build_deps=( 'python3-build' 'python3-installer' @@ -19,13 +28,31 @@ build_deps=( 'python3-wheel' 'python3-pytest' ) -build_deps_almalinux=( +build_deps_alt=( + 'python3-module-build' + 'python3-module-installer' + 'python3-module-poetry-core' + 'python3-module-wheel' + 'python3-module-pytest' +) +build_deps_arch=( + 'python-build' + 'python-installer' + 'python-poetry-core' + 'python-wheel' + 'python-pytest' +) +build_deps_debian=( 'python3-build' 'python3-installer' 'python3-poetry-core' - 'python3.12-wheel' + 'python3-wheel' 'python3-pytest' ) +build_deps_fedora=("${build_deps[@]}") +build_deps_redos=("${build_deps[@]}") +build_deps_rhel=("${build_deps[@]}") +build_deps_rosa=("${build_deps[@]}") sources=("https://github.com/pawelzny/dotty_dict/archive/refs/tags/v${version}.tar.gz") checksums=('SKIP') @@ -44,3 +71,8 @@ package() { python -m installer --destdir="$pkgdir" dist/*.whl install-license ./LICENSE ./${name}/LICENSE } +files() { + files-find "./usr/lib/python3.*/site-packages/dotty_dict" + files-find "./usr/lib/python3.*/site-packages/dotty_dict-*.dist-info" + files-find-share "licenses" +}