backblaze-b2: fix dependencies
This commit is contained in:
parent
c9feca2028
commit
412a5c88fc
|
@ -0,0 +1,12 @@
|
||||||
|
--- a/b2/console_tool.py
|
||||||
|
+++ b/b2/console_tool.py
|
||||||
|
@@ -28,7 +28,8 @@ from b2sdk.account_info.sqlite_account_i
|
||||||
|
B2_ACCOUNT_INFO_ENV_VAR, B2_ACCOUNT_INFO_DEFAULT_FILE
|
||||||
|
)
|
||||||
|
from b2sdk.progress import make_progress_listener
|
||||||
|
-from b2sdk.raw_api import MetadataDirectiveMode, SRC_LAST_MODIFIED_MILLIS
|
||||||
|
+from b2sdk.raw_api import MetadataDirectiveMode
|
||||||
|
+from b2sdk.http_constants import SRC_LAST_MODIFIED_MILLIS
|
||||||
|
from b2sdk.version import VERSION as b2sdk_version
|
||||||
|
from b2sdk.v1 import (
|
||||||
|
parse_sync_folder,
|
|
@ -6,9 +6,9 @@ wrksrc="b2-${version}"
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools"
|
hostmakedepends="python3-setuptools"
|
||||||
depends="python3-logfury python3-Arrow python3-requests python3-six
|
depends="python3-logfury python3-Arrow python3-requests python3-six
|
||||||
python3-tqdm python-b2sdk"
|
python3-tqdm python-b2sdk python3-phx-class-registry"
|
||||||
checkdepends="python3-pytest $depends python3-pyflakes python3-mock
|
checkdepends="python3-pytest $depends python3-pyflakes python3-mock
|
||||||
python3-dateutil python3-nose"
|
python3-dateutil"
|
||||||
short_desc="Command Line Interface for Backblaze's B2 storage service"
|
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"
|
||||||
|
@ -34,10 +34,6 @@ post_install() {
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
do_check() {
|
|
||||||
python3 setup.py nosetests
|
|
||||||
}
|
|
||||||
|
|
||||||
python-b2_package() {
|
python-b2_package() {
|
||||||
depends="backblaze-b2>=${version}_${revision}"
|
depends="backblaze-b2>=${version}_${revision}"
|
||||||
build_style=meta
|
build_style=meta
|
||||||
|
|
Loading…
Reference in New Issue