2018-06-06 18:00:14 +02:00
|
|
|
# Template file for 'backblaze-b2'
|
|
|
|
pkgname=backblaze-b2
|
2018-12-09 01:07:34 +01:00
|
|
|
version=1.3.8
|
2018-07-07 21:27:24 +02:00
|
|
|
revision=1
|
2018-06-06 18:00:14 +02:00
|
|
|
noarch=yes
|
|
|
|
wrksrc="B2_Command_Line_Tool-${version}"
|
|
|
|
build_style=python2-module
|
|
|
|
pycompile_module="b2"
|
|
|
|
hostmakedepends="python-setuptools"
|
|
|
|
depends="python-setuptools python-logfury python-futures python-Arrow
|
|
|
|
python-requests python-six"
|
|
|
|
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="${homepage}/archive/v${version}.tar.gz"
|
2018-12-09 01:07:34 +01:00
|
|
|
checksum=2ed276b9eb6796470280e4be27ef96018e338a87efa9cd70115ffbb6b030a6ae
|
2018-06-06 18:00:14 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
# Remove test directory polluting site-packages
|
|
|
|
rm -rf ${DESTDIR}/usr/lib/python*/site-packages/test
|
|
|
|
|
|
|
|
# Avoid conflict with Boost's b2 tool
|
|
|
|
mv ${DESTDIR}/usr/bin/b2 ${DESTDIR}/usr/bin/backblaze-b2
|
|
|
|
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|