python3-hjson 3.1.0-3
This commit is contained in:
@@ -1,26 +1,49 @@
|
|||||||
name='python3-hjson'
|
name='python3-hjson'
|
||||||
version='3.1.0'
|
version='3.1.0'
|
||||||
release='2'
|
release='3'
|
||||||
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 с поддержкой комментариев'
|
||||||
homepage='https://github.com/laktak/hjson-py'
|
homepage='https://github.com/laktak/hjson-py'
|
||||||
maintainer="Евгений Храмов <xpamych@yandex.ru>"
|
maintainer="Evgeny Khramov <xpamych@yandex.ru>"
|
||||||
|
maintainer_ru="Евгений Храмов <xpamych@yandex.ru>"
|
||||||
architectures=('all')
|
architectures=('all')
|
||||||
license=('MIT')
|
license=('MIT')
|
||||||
provides=('hjson')
|
provides=('hjson')
|
||||||
conflicts=('hjson')
|
conflicts=('hjson')
|
||||||
|
|
||||||
deps=(
|
deps=('python3')
|
||||||
'python'
|
deps_alt=('python3')
|
||||||
)
|
deps_arch=('python')
|
||||||
|
deps_debian=('python3')
|
||||||
|
deps_fedora=('python3')
|
||||||
|
deps_redos=('python3')
|
||||||
|
deps_rhel=('python3')
|
||||||
|
deps_rosa=('python3')
|
||||||
|
|
||||||
build_deps=(
|
build_deps=(
|
||||||
'python3-build'
|
'python3-build'
|
||||||
'python3-installer'
|
'python3-installer'
|
||||||
'python3-setuptools'
|
'python3-setuptools'
|
||||||
'python3-wheel'
|
'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")
|
sources=("https://pypi.io/packages/source/h/hjson/hjson-${version}.tar.gz")
|
||||||
checksums=('SKIP')
|
checksums=('SKIP')
|
||||||
|
|
||||||
@@ -35,3 +58,9 @@ package() {
|
|||||||
install-license LICENSE.txt ./${name}/LICENSE.txt
|
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"
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user