void-packages/srcpkgs/python-b2sdk/template

23 lines
769 B
Bash

# Template file for 'python-b2sdk'
# keep python-b2sdk name to revert this package
pkgname=python-b2sdk
version=1.18.0
revision=2
build_style=python3-pep517
make_install_target="b2sdk-${version}-*-*-*.whl"
hostmakedepends="python3-setuptools_scm python3-wheel"
depends="python3-logfury python3-Arrow python3-requests python3-six"
checkdepends="python3-pytest-lazy-fixture $depends python3-dateutil
python3-mock python3-tqdm python3-pyflakes"
short_desc="Backblaze's B2 Python SDK"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="MIT"
homepage="https://pypi.org/project/b2sdk"
distfiles="${PYPI_SITE}/b/b2sdk/b2sdk-${version}.tar.gz"
checksum=9272f28d18d498b66d33d749a0f05e49d9bb1a9134f94261c0b8bfa1b56f3eec
make_check=no
post_install() {
vlicense LICENSE
}