python3-pyyaml 6.0.2-2

This commit is contained in:
2025-09-21 20:28:14 +03:00
parent 952232befc
commit 2bb338a320

View File

@@ -1,21 +1,55 @@
name='python3-pyyaml' name='python3-pyyaml'
version='6.0.2' version='6.0.2'
release='1' release='2'
desc='YAML parser and emitter for Python.' desc='YAML parser and emitter for Python'
desc_ru='Библиотека Python для парсинга и генерации YAML'
homepage='https://pyyaml.org/' homepage='https://pyyaml.org/'
maintainer='Евгений Храмов <xpamych@yandex.ru>' maintainer='Evgeny Khramov <xpamych@yandex.ru>'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('all') architectures=('all')
license=('MIT') license=('MIT')
provides=('pyyaml') provides=('pyyaml')
conflicts=('pyyaml') conflicts=('pyyaml')
deps=("python3") deps=('python3')
deps_arch=("python") deps_alt=('python3')
deps_alpine=("python3") deps_arch=('python')
deps_debian=('python3')
deps_fedora=('python3')
deps_redos=('python3')
deps_rhel=('python3')
deps_rosa=('python3')
deps_alpine=('python3')
build_deps=("python3" "python3-pip" "python3-cython") build_deps=(
build_deps_arch=("python" "python-pip" "python-cython") 'python3'
build_deps_alpine=("python3" "py3-pip" "py3-cython") 'python3-pip'
'python3-cython'
)
build_deps_alt=(
'python3'
'python3-module-pip'
'python3-module-Cython'
)
build_deps_arch=(
'python'
'python-pip'
'cython'
)
build_deps_debian=(
'python3'
'python3-pip'
'cython3'
)
build_deps_fedora=("${build_deps[@]}")
build_deps_redos=("${build_deps[@]}")
build_deps_rhel=("${build_deps[@]}")
build_deps_rosa=("${build_deps[@]}")
build_deps_alpine=(
'python3'
'py3-pip'
'py3-cython'
)
sources=("https://files.pythonhosted.org/packages/source/p/PyYAML/pyyaml-6.0.2.tar.gz") sources=("https://files.pythonhosted.org/packages/source/p/PyYAML/pyyaml-6.0.2.tar.gz")
checksums=('blake2b-256:54ed79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17') checksums=('blake2b-256:54ed79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17')
@@ -31,6 +65,7 @@ package() {
} }
files() { files() {
printf '"%s" ' ./usr/local/lib64/python3.*/site-packages/yaml/* files-find "./usr/local/lib*/python3.*/site-packages/yaml"
printf '"%s" ' ./usr/local/lib64/python3.*/site-packages/pyyaml-${version}.dist-info/* files-find "./usr/local/lib*/python3.*/site-packages/_yaml"
files-find "./usr/local/lib*/python3.*/site-packages/PyYAML-*.dist-info"
} }