29 lines
948 B
Bash
29 lines
948 B
Bash
# Template file for 'python3-b2sdk'
|
|
pkgname=python3-b2sdk
|
|
version=2.5.1
|
|
revision=1
|
|
build_style=python3-pep517
|
|
hostmakedepends="python3 python3-build python3-packaging python3-pdm-backend python3-setuptools python3-setuptools_scm python3-wheel"
|
|
depends="python3-logfury python3-Arrow python3-requests python3-tqdm"
|
|
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=fb75c831d6ea875522e78f0c42b784771dc31e6bb64f3eb9f379bdc85eb35a3f
|
|
replaces="python-b2sdk>=0"
|
|
# Tests require an application key
|
|
make_check=no
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python-b2sdk_package() {
|
|
build_style=meta
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - transitional package"
|
|
}
|