python3-hjson 3.1.0-4

This commit is contained in:
2025-12-08 23:48:31 +03:00
parent 881eaa48ca
commit f866b31005

View File

@@ -1,6 +1,6 @@
name='python3-hjson' name='python3-hjson'
version='3.1.0' version='3.1.0'
release='3' release='4'
desc='JSON for Humans, allows comments and is less error prone.' desc='JSON for Humans, allows comments and is less error prone.'
desc_ru='Библиотека Python для удобного JSON с поддержкой комментариев' desc_ru='Библиотека Python для удобного JSON с поддержкой комментариев'
homepage='https://github.com/laktak/hjson-py' homepage='https://github.com/laktak/hjson-py'
@@ -54,13 +54,12 @@ build() {
package() { package() {
cd "hjson-${version}" cd "hjson-${version}"
python -m installer --destdir="$pkgdir" dist/*.whl python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
install-license LICENSE.txt ./${name}/LICENSE.txt install-license LICENSE.txt ./${name}/LICENSE.txt
} }
files() { files() {
files-find "./usr/lib/python3.*/site-packages/hjson" files-find-lib
files-find "./usr/lib/python3.*/site-packages/hjson-*.dist-info"
files-find-bin files-find-bin
files-find-share "licenses" files-find-share "licenses"
} }