vp-build/srcpkgs/python-b2sdk/template

22 lines
730 B
Bash

# Template file for 'python-b2sdk'
# keep python-b2sdk name to revert this package
pkgname=python-b2sdk
version=1.16.0
revision=1
wrksrc="b2sdk-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools_scm python3-pip"
depends="python3-logfury python3-Arrow python3-requests python3-six"
checkdepends="python3-pytest $depends python3-dateutil python3-nose
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=cbffff1163bb8e7cc920c76b29f5e889369d7f5ef1b7b53c89fd5bb79f5ea9c5
post_install() {
vlicense LICENSE
}