mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
python-b2: broken
This commit is contained in:
parent
3692bf6054
commit
f43bda48d8
1 changed files with 17 additions and 9 deletions
|
@ -1,20 +1,28 @@
|
||||||
|
broken="Missing tqdm dependency"
|
||||||
# Template file for 'python-b2'
|
# Template file for 'python-b2'
|
||||||
pkgname=python-b2
|
pkgname=python-b2
|
||||||
version=1.1.0
|
version=1.1.0
|
||||||
revision=5
|
revision=6
|
||||||
noarch=y
|
noarch=yes
|
||||||
wrksrc="B2_Command_Line_Tool-$version"
|
wrksrc="B2_Command_Line_Tool-${version}"
|
||||||
build_style=python-module
|
build_style=python2-module
|
||||||
hostmakedepends="python python-setuptools"
|
pycompile_module="b2"
|
||||||
depends="python-logfury python-futures python-Arrow python-dateutil"
|
hostmakedepends="python-setuptools"
|
||||||
short_desc="CLI that gives easy access B2 Cloud Storage"
|
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>"
|
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/Backblaze/B2_Command_Line_Tool"
|
homepage="https://github.com/Backblaze/B2_Command_Line_Tool"
|
||||||
distfiles="$homepage/archive/v$version.tar.gz"
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
checksum=fae0dd48a2b6ab38cb142b91d7907a66144659d599bdfbf3c8995788ed29313b
|
checksum=fae0dd48a2b6ab38cb142b91d7907a66144659d599bdfbf3c8995788ed29313b
|
||||||
pycompile_module="b2"
|
|
||||||
|
|
||||||
post_install() {
|
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
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue