python3-hjson 3.1.0-3

This commit is contained in:
2025-09-21 20:05:21 +03:00
parent fe7072dad4
commit 2c4e85f06b

View File

@@ -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="Евгений Храмов <xpamych@yandex.ru>"
maintainer="Evgeny Khramov <xpamych@yandex.ru>"
maintainer_ru="Евгений Храмов <xpamych@yandex.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"
}