python3-pendulum 3.1.0-5

This commit is contained in:
2025-12-09 00:03:21 +03:00
parent c55f48fc44
commit 1b0e1b10a7
7 changed files with 49 additions and 51 deletions

View File

@@ -23,22 +23,26 @@ deps_alpine=('python3')
build_deps=(
'python3'
'python3-pip'
'python3-build'
'python3-installer'
'python3-cython'
)
build_deps_alt=(
'python3'
'python3-module-pip'
'python3-module-build'
'python3-module-installer'
'python3-module-Cython'
)
build_deps_arch=(
'python'
'python-pip'
'python-build'
'python-installer'
'cython'
)
build_deps_debian=(
'python3'
'python3-pip'
'python3-build'
'python3-installer'
'cython3'
)
build_deps_fedora=("${build_deps[@]}")
@@ -47,7 +51,8 @@ build_deps_rhel=("${build_deps[@]}")
build_deps_rosa=("${build_deps[@]}")
build_deps_alpine=(
'python3'
'py3-pip'
'py3-build'
'py3-installer'
'py3-cython'
)
@@ -61,11 +66,9 @@ build() {
package() {
cd "$srcdir/pyyaml-${version}"
pip install --root="${pkgdir}/" . --no-deps --ignore-installed --disable-pip-version-check
python -m installer --destdir="$pkgdir" --prefix=/usr dist/*.whl
}
files() {
files-find "./usr/local/lib*/python3.*/site-packages/yaml"
files-find "./usr/local/lib*/python3.*/site-packages/_yaml"
files-find "./usr/local/lib*/python3.*/site-packages/PyYAML-*.dist-info"
files-find-lib
}