30 lines
941 B
Bash
30 lines
941 B
Bash
# Template file for 'backblaze-b2'
|
|
pkgname=backblaze-b2
|
|
version=3.8.0
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-setuptools_scm python3-pip"
|
|
depends="python3-Arrow python3-b2sdk python3-docutils
|
|
python3-phx-class-registry python3-rst2ansi python3-tabulate"
|
|
short_desc="Command Line Interface for Backblaze's B2 storage service"
|
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
|
license="MIT"
|
|
homepage="https://github.com/Backblaze/B2_Command_Line_Tool"
|
|
distfiles="${PYPI_SITE}/b/b2/b2-${version}.tar.gz"
|
|
checksum=c590f89438307b80d136f15889b34b03b09eaa65be0e1b1846492286ed57de45
|
|
replaces="python-b2>=0"
|
|
make_check=no # tests require unpackaged dependencies
|
|
|
|
post_install() {
|
|
# Avoid conflict with Boost's b2 tool
|
|
mv ${DESTDIR}/usr/bin/b2 ${DESTDIR}/usr/bin/backblaze-b2
|
|
|
|
vlicense LICENSE
|
|
}
|
|
|
|
python-b2_package() {
|
|
depends="backblaze-b2>=${version}_${revision}"
|
|
build_style=meta
|
|
short_desc+=" - transitional package"
|
|
}
|