diff --git a/python3-hjson/alr.sh b/python3-hjson/alr.sh index a823289..b56c376 100644 --- a/python3-hjson/alr.sh +++ b/python3-hjson/alr.sh @@ -1,26 +1,49 @@ name='python3-hjson' version='3.1.0' -release='2' +release='3' desc='JSON for Humans, allows comments and is less error prone.' +desc_ru='Библиотека Python для удобного JSON с поддержкой комментариев' homepage='https://github.com/laktak/hjson-py' -maintainer="Евгений Храмов " +maintainer="Evgeny Khramov " +maintainer_ru="Евгений Храмов " architectures=('all') license=('MIT') provides=('hjson') conflicts=('hjson') -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' 'python3-setuptools' 'python3-wheel' ) -build_deps_almalinux=( - 'python3.12-wheel' + +build_deps_alt=( + 'python3-module-build' + 'python3-module-installer' + 'python3-module-setuptools' + 'python3-module-wheel' ) +build_deps_arch=( + 'python-build' + 'python-installer' + 'python-setuptools' + 'python-wheel' +) +build_deps_debian=("${build_deps[@]}") +build_deps_fedora=("${build_deps[@]}") +build_deps_redos=("${build_deps[@]}") +build_deps_rhel=("${build_deps[@]}") +build_deps_rosa=("${build_deps[@]}") sources=("https://pypi.io/packages/source/h/hjson/hjson-${version}.tar.gz") checksums=('SKIP') @@ -35,3 +58,9 @@ package() { install-license LICENSE.txt ./${name}/LICENSE.txt } +files() { + files-find "./usr/lib/python3.*/site-packages/hjson" + files-find "./usr/lib/python3.*/site-packages/hjson-*.dist-info" + files-find-bin + files-find-share "licenses" +}