[NEW] devel/py-b2sdk: Backblaze B2 SDK

Python client library and a few handy utilities for
easy access to all of the capabilities of B2 Cloud Storage.

WWW: https://github.com/Backblaze/b2-sdk-python

PR:		242562
Submitted by:	Henry David Bartholomew <PopularMoment protonmail com>
This commit is contained in:
Kubilay Kocak
2020-02-09 02:44:38 +00:00
parent a02edccf5c
commit 8a642417fe
5 changed files with 59 additions and 0 deletions
+1
View File
@@ -4147,6 +4147,7 @@
SUBDIR += py-azure-multiapi-storage
SUBDIR += py-azure-storage-blob
SUBDIR += py-azure-storage-common
SUBDIR += py-b2sdk
SUBDIR += py-babel
SUBDIR += py-babelfish
SUBDIR += py-backcall
+36
View File
@@ -0,0 +1,36 @@
# $FreeBSD$
PORTNAME= b2sdk
DISTVERSION= 0.1.8
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= PopularMoment@protonmail.com
COMMENT= Backblaze B2 SDK
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}arrow>=0.8.0:devel/py-arrow@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}logfury>=0.1.2:devel/py-logfury@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.9.1:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.10:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tqdm>=4.5.0:misc/py-tqdm@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
${PY_FUTURES} \
${PY_ENUM34}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist concurrent
NO_ARCH= yes
do-test:
@cd ${WRKSRC} && ${TOUCH} ${WRKSRC}/test/__init__.py && \
${PYTHON_CMD} ${PYDISTUTILS_SETUP} nosetests
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1576018746
SHA256 (b2sdk-0.1.8.tar.gz) = 91bcf09a05f5e822f7494824bf2fd75a81ff0035d2670f443a6f89454d18ab31
SIZE (b2sdk-0.1.8.tar.gz) = 103447
@@ -0,0 +1,15 @@
From 03aa9bc3c58ce6247cd02b6fa4be182b288fe22d Mon Sep 17 00:00:00 2001
From: Pawel Polewicz <p.polewicz@gmail.com>
Date: Fri, 12 Jul 2019 12:29:26 +0200
Subject: [PATCH] Remove upper version limit for arrow dependency
Fixes #63 "introduced" by 9d937b45b3cca41403c9b2773c385d09774f540c
--- requirements.txt.orig 2019-06-28 10:56:04 UTC
+++ requirements.txt
@@ -1,4 +1,4 @@
-arrow>=0.8.0,<0.13.1
+arrow>=0.8.0
logfury>=0.1.2
requests>=2.9.1
setuptools
+4
View File
@@ -0,0 +1,4 @@
Python client library and a few handy utilities for
easy access to all of the capabilities of B2 Cloud Storage.
WWW: https://github.com/Backblaze/b2-sdk-python