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
|
||||
hostmakedepends="python3-setuptools"
|
||||
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
|
||||
python3-dateutil python3-nose"
|
||||
python3-dateutil"
|
||||
short_desc="Command Line Interface for Backblaze's B2 storage service"
|
||||
maintainer="Andrea Brancaleoni <abc@pompel.me>"
|
||||
license="MIT"
|
||||
|
@ -34,10 +34,6 @@ post_install() {
|
|||
vlicense LICENSE
|
||||
}
|
||||
|
||||
do_check() {
|
||||
python3 setup.py nosetests
|
||||
}
|
||||
|
||||
python-b2_package() {
|
||||
depends="backblaze-b2>=${version}_${revision}"
|
||||
build_style=meta
|
||||
|
|
Loading…
Reference in New Issue