Files
alr-repo/python3-pyyaml/alr.sh

74 lines
1.6 KiB
Bash

name='python3-pyyaml'
version='6.0.2'
release='2'
desc='YAML parser and emitter for Python'
desc_ru='Библиотека Python для парсинга и генерации YAML'
homepage='https://pyyaml.org/'
maintainer='Evgeny Khramov <xpamych@yandex.ru>'
maintainer_ru='Евгений Храмов <xpamych@yandex.ru>'
architectures=('all')
license=('MIT')
provides=('pyyaml')
conflicts=('pyyaml')
deps=('python3')
deps_alt=('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-build'
'python3-installer'
'python3-cython'
)
build_deps_alt=(
'python3'
'python3-module-build'
'python3-module-installer'
'python3-module-Cython'
)
build_deps_arch=(
'python'
'python-build'
'python-installer'
'cython'
)
build_deps_debian=(
'python3'
'python3-build'
'python3-installer'
'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-build'
'py3-installer'
'py3-cython'
)
sources=("https://files.pythonhosted.org/packages/source/p/PyYAML/pyyaml-6.0.2.tar.gz")
checksums=('blake2b-256:54ed79a089b6be93607fa5cdaedf301d7dfb23af5f25c398d5ead2525b063e17')
build() {
cd "$srcdir/pyyaml-${version}"
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/pyyaml-${version}"
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
}
files() {
files-find-lib
}