diff options
author | Rainer Hurling <rhurlin@FreeBSD.org> | 2021-04-23 17:12:51 +0000 |
---|---|---|
committer | Rainer Hurling <rhurlin@FreeBSD.org> | 2021-04-23 17:12:51 +0000 |
commit | a36eb0f5186a288a660667983ccfe0e66522a62c (patch) | |
tree | 7b18147ee872d03ddfb1672f9960bd1446233072 | |
parent | f6f44b6cfe29d62a254a2deac5b7271fae1797cf (diff) | |
download | ports-a36eb0f5186a288a660667983ccfe0e66522a62c.tar.gz ports-a36eb0f5186a288a660667983ccfe0e66522a62c.zip |
devel/py-b2sdk: Update to 1.6.0
Changelog: https://github.com/Backblaze/b2-sdk-python/releases
PR: 255312
Submitted by: Henry <PopularMoment@protonmail.com> (maintainer)
-rw-r--r-- | devel/py-b2sdk/Makefile | 13 | ||||
-rw-r--r-- | devel/py-b2sdk/distinfo | 6 |
2 files changed, 13 insertions, 6 deletions
diff --git a/devel/py-b2sdk/Makefile b/devel/py-b2sdk/Makefile index 5d97c8edbf74..1e130676b4bc 100644 --- a/devel/py-b2sdk/Makefile +++ b/devel/py-b2sdk/Makefile @@ -1,5 +1,5 @@ PORTNAME= b2sdk -DISTVERSION= 1.1.4 +DISTVERSION= 1.6.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -10,11 +10,12 @@ COMMENT= Backblaze B2 SDK LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} 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}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}tqdm>=4.5.0:misc/py-tqdm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR} \ @@ -25,8 +26,14 @@ USE_PYTHON= distutils autoplist concurrent NO_ARCH= yes +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 3800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + do-test: @cd ${WRKSRC} && ${TOUCH} ${WRKSRC}/test/__init__.py && \ ${PYTHON_CMD} ${PYDISTUTILS_SETUP} nosetests -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/devel/py-b2sdk/distinfo b/devel/py-b2sdk/distinfo index 29ded3a918ee..06e5ace17a6d 100644 --- a/devel/py-b2sdk/distinfo +++ b/devel/py-b2sdk/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1595009583 -SHA256 (b2sdk-1.1.4.tar.gz) = 32451fab6e2f26e0316ebea1df96a864fc4a7fa7044a9f5ec90504d51a3ea23c -SIZE (b2sdk-1.1.4.tar.gz) = 112476 +TIMESTAMP = 1618967564 +SHA256 (b2sdk-1.6.0.tar.gz) = e9f8eb7ae3140b4e7a96375d7c089d7c16c992f1039dd07f748931d5b17b79fb +SIZE (b2sdk-1.6.0.tar.gz) = 218801 |