name='python3-dotty-dict' version='1.3.1' release='3' desc='Dictionary wrapper for quick access to deeply nested keys' desc_ru='Библиотека Python для быстрого доступа к глубоко вложенным ключам словаря' homepage='https://github.com/pawelzny/dotty_dict' maintainer="Evgeny Khramov " maintainer_ru="Евгений Храмов " architectures=('all') license=('MIT') provides=('python3-dotty-dict') conflicts=('python3-dotty-dict') 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' 'python3-poetry-core' 'python3-wheel' 'python3-pytest' ) 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-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') build() { cd "dotty_dict-$version" python -m build --wheel --no-isolation } check() { cd "dotty_dict-$version" pytest } package() { cd "dotty_dict-$version" 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" }