7d48139c51
backblaze-b2 is the only user of python-b2sdk. backblaze-b2 requires b2sdk>=0.1.8 <0.2.0 backblaze-b2 is the only user of python-b2sdk. It's probably safer to upgrade to Python 3.
24 lines
777 B
Bash
24 lines
777 B
Bash
# Template file for 'python-b2sdk'
|
|
# keep python-b2sdk name to revert this package
|
|
pkgname=python-b2sdk
|
|
reverts="1.0.0_1 1.0.2_1"
|
|
version=0.1.8
|
|
revision=2
|
|
archs=noarch
|
|
wrksrc="b2sdk-${version}"
|
|
build_style=python3-module
|
|
pycompile_module="b2sdk"
|
|
hostmakedepends="python3-setuptools"
|
|
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=91bcf09a05f5e822f7494824bf2fd75a81ff0035d2670f443a6f89454d18ab31
|
|
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|