Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 2024 21:21:40 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 69a281a193ee - main - devel/py-b2sdk: update to 1.33.0
Message-ID:  <202405132121.44DLLe17035762@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=69a281a193ee12ef33811164578914a843cc50d0

commit 69a281a193ee12ef33811164578914a843cc50d0
Author:     Henry <PopularMoment@protonmail.com>
AuthorDate: 2024-04-06 15:56:55 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-05-13 21:19:50 +0000

    devel/py-b2sdk: update to 1.33.0
    
     - convert to pep517
    
    Changelog: https://github.com/Backblaze/b2-sdk-python/compare/v1.29.0...v1.33.0
    
    PR:             277357
---
 devel/py-b2sdk/Makefile             | 22 +++-------------------
 devel/py-b2sdk/distinfo             |  6 +++---
 devel/py-b2sdk/files/patch-setup.py | 14 --------------
 3 files changed, 6 insertions(+), 36 deletions(-)

diff --git a/devel/py-b2sdk/Makefile b/devel/py-b2sdk/Makefile
index 3a68b942d39b..12550f9ac1d3 100644
--- a/devel/py-b2sdk/Makefile
+++ b/devel/py-b2sdk/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	b2sdk
-DISTVERSION=	1.29.0
+DISTVERSION=	1.33.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,33 +11,17 @@ WWW=		https://github.com/Backblaze/b2-sdk-python
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pdm-backend>=0:devel/py-pdm-backend@${PY_FLAVOR}
 RUN_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}logfury>=1.0.1<2.0.0:devel/py-logfury@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}packaging>=21.0:devel/py-packaging@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>=2.9.1<3.0.0:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}tqdm>=4.5.0<5.0.0:misc/py-tqdm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.7.1:devel/py-typing-extensions@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-lazy-fixture>0:devel/py-pytest-lazy-fixture@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
-
-# Skip some tests as they either require the environment variable
-# B2_TEST_APPLICATION_KEY_ID set or a relative path regarding the filenames in
-# the file headers.
-do-test:
-	@cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -k '\
-		not test_files_headers and \
-		not test_large_file and \
-		not test_raw_api'
-
 .include <bsd.port.mk>
diff --git a/devel/py-b2sdk/distinfo b/devel/py-b2sdk/distinfo
index 102ea93ef83d..42d09ff192a2 100644
--- a/devel/py-b2sdk/distinfo
+++ b/devel/py-b2sdk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1706534319
-SHA256 (b2sdk-1.29.0.tar.gz) = 87fa572c6a50dbe10dc56a886fdcad7aba1ab9db12f07cfeb2b68e37eeb94ccc
-SIZE (b2sdk-1.29.0.tar.gz) = 357861
+TIMESTAMP = 1712418910
+SHA256 (b2sdk-1.33.0.tar.gz) = bb4b52081491146776326dced464f14fafc54853a062d2acc326159dddb7d76e
+SIZE (b2sdk-1.33.0.tar.gz) = 196804
diff --git a/devel/py-b2sdk/files/patch-setup.py b/devel/py-b2sdk/files/patch-setup.py
deleted file mode 100644
index 4af1bab4dd4b..000000000000
--- a/devel/py-b2sdk/files/patch-setup.py
+++ /dev/null
@@ -1,14 +0,0 @@
-Relax requirements for devel/py-setuptools_scm.  Python 3.5 is no longer
-present in the Ports tree.
-
---- setup.py.orig	2022-08-31 00:23:56 UTC
-+++ setup.py
-@@ -109,7 +109,7 @@ setup(
-     # for example:
-     # $ pip install -e .[dev,test]
-     extras_require={'doc': read_requirements('doc')},
--    setup_requires=['setuptools_scm<6.0'],
-+    setup_requires=['setuptools_scm'],
-     use_scm_version=True,
- 
-     # If there are data files included in your packages that need to be



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405132121.44DLLe17035762>