svn commit: r525620 - in head/devel: . py-b2sdk py-b2sdk/files
Kubilay Kocak
koobs at FreeBSD.org
Sun Feb 9 02:44:40 UTC 2020
Author: koobs
Date: Sun Feb 9 02:44:38 2020
New Revision: 525620
URL: https://svnweb.freebsd.org/changeset/ports/525620
Log:
[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>
Added:
head/devel/py-b2sdk/
head/devel/py-b2sdk/Makefile (contents, props changed)
head/devel/py-b2sdk/distinfo (contents, props changed)
head/devel/py-b2sdk/files/
head/devel/py-b2sdk/files/patch-requirements.txt (contents, props changed)
head/devel/py-b2sdk/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun Feb 9 02:37:47 2020 (r525619)
+++ head/devel/Makefile Sun Feb 9 02:44:38 2020 (r525620)
@@ -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
Added: head/devel/py-b2sdk/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-b2sdk/Makefile Sun Feb 9 02:44:38 2020 (r525620)
@@ -0,0 +1,36 @@
+# $FreeBSD$
+
+PORTNAME= b2sdk
+DISTVERSION= 0.1.8
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= PopularMoment at 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>
Added: head/devel/py-b2sdk/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-b2sdk/distinfo Sun Feb 9 02:44:38 2020 (r525620)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1576018746
+SHA256 (b2sdk-0.1.8.tar.gz) = 91bcf09a05f5e822f7494824bf2fd75a81ff0035d2670f443a6f89454d18ab31
+SIZE (b2sdk-0.1.8.tar.gz) = 103447
Added: head/devel/py-b2sdk/files/patch-requirements.txt
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-b2sdk/files/patch-requirements.txt Sun Feb 9 02:44:38 2020 (r525620)
@@ -0,0 +1,15 @@
+From 03aa9bc3c58ce6247cd02b6fa4be182b288fe22d Mon Sep 17 00:00:00 2001
+From: Pawel Polewicz <p.polewicz at 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
Added: head/devel/py-b2sdk/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-b2sdk/pkg-descr Sun Feb 9 02:44:38 2020 (r525620)
@@ -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
More information about the svn-ports-all
mailing list