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

@@ -21,31 +21,30 @@ deps_rhel=('python3')
deps_rosa=('python3')
deps_alpine=('python3')
build_deps=('python3' 'python3-pip')
build_deps_alt=('python3' 'python3-module-pip')
build_deps_arch=('python' 'python-pip')
build_deps_debian=('python3' 'python3-pip')
build_deps=('python3' 'python3-build' 'python3-installer')
build_deps_alt=('python3' 'python3-module-build' 'python3-module-installer')
build_deps_arch=('python' 'python-build' 'python-installer')
build_deps_debian=('python3' 'python3-build' 'python3-installer')
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')
build_deps_alpine=('python3' 'py3-build' 'py3-installer')
sources=("https://files.pythonhosted.org/packages/source/w/wheel/wheel-${version}.tar.gz")
checksums=('blake2b-256:8a982d9906746cdc6a6ef809ae6338005b3f21bb568bea3165cfc6a243fdc25c')
build() {
cd "$srcdir/wheel-${version}"
python3 -m build
python -m build --wheel --no-isolation
}
package() {
cd "$srcdir/wheel-${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/bin"
files-find "./usr/local/lib/python3.*/site-packages/wheel"
files-find "./usr/local/lib/python3.*/site-packages/wheel-*.dist-info"
files-find-bin
files-find-lib
}