From 2c4e85f06bd8d95ea190c61f9ea050ef502bfc67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=95=D0=B2=D0=B3=D0=B5=D0=BD=D0=B8=D0=B9=20=28=D0=A5?= =?UTF-8?q?=D1=80=D0=B0=D0=BC=D1=8B=D1=87=D0=AA=29=20=D0=A5=D1=80=D0=B0?= =?UTF-8?q?=D0=BC=D0=BE=D0=B2?= Date: Sun, 21 Sep 2025 20:05:21 +0300 Subject: [PATCH] python3-hjson 3.1.0-3 --- python3-hjson/alr.sh | 43 ++++++++++++++++++++++++++++++++++++------- 1 file changed, 36 insertions(+), 7 deletions(-) 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" +}