git: dcba077f42a5 - main - net/py-blobfile: Update to 2.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 23 Mar 2024 15:01:36 UTC
The branch main has been updated by sunpoet:

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

commit dcba077f42a5d34c132545e7d60d46e07ad2bbab
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-23 14:21:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-23 14:49:29 +0000

    net/py-blobfile: Update to 2.1.0
    
    - Change MASTER_SITES from GitHub to PYPI
    
    Changes:        https://github.com/blobfile/blobfile/releases
                    https://github.com/blobfile/blobfile/blob/master/CHANGES.md
---
 net/py-blobfile/Makefile                   | 11 ++++-------
 net/py-blobfile/distinfo                   |  6 +++---
 net/py-blobfile/files/patch-pyproject.toml | 19 +++++++------------
 3 files changed, 14 insertions(+), 22 deletions(-)

diff --git a/net/py-blobfile/Makefile b/net/py-blobfile/Makefile
index 9e030fbfdb32..828c924f6daf 100644
--- a/net/py-blobfile/Makefile
+++ b/net/py-blobfile/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	blobfile
-PORTVERSION=	2.0.2
-DISTVERSIONPREFIX=	v
+PORTVERSION=	2.1.0
 CATEGORIES=	net python
+MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -11,9 +11,8 @@ WWW=		https://github.com/blobfile/blobfile
 LICENSE=	UNLICENSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astor>=0.8.0:devel/py-astor@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools>=42.0.0:devel/py-setuptools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}wheel>=0.33.6:devel/py-wheel@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}filelock>=3.0<4:sysutils/py-filelock@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}lxml>=4.9<5:devel/py-lxml@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pycryptodomex>=3.8<4:security/py-pycryptodomex@${PY_FLAVOR} \
@@ -24,6 +23,4 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-USE_GITHUB=	yes
-
 .include <bsd.port.mk>
diff --git a/net/py-blobfile/distinfo b/net/py-blobfile/distinfo
index 18cc15d09bdd..5a03ea447713 100644
--- a/net/py-blobfile/distinfo
+++ b/net/py-blobfile/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692211617
-SHA256 (blobfile-blobfile-v2.0.2_GH0.tar.gz) = 685a36a7f90bde5c81b7d7f08a472c4dd63e24772b165be16a752213f8075cf5
-SIZE (blobfile-blobfile-v2.0.2_GH0.tar.gz) = 83871
+TIMESTAMP = 1710712514
+SHA256 (blobfile-2.1.0.tar.gz) = c24e519a104583609159c6a2fd4a7e6e52820b1400b6b268d3c25f43c40cc7b1
+SIZE (blobfile-2.1.0.tar.gz) = 76016
diff --git a/net/py-blobfile/files/patch-pyproject.toml b/net/py-blobfile/files/patch-pyproject.toml
index 0f913e50f4b8..0ad0ba681e8b 100644
--- a/net/py-blobfile/files/patch-pyproject.toml
+++ b/net/py-blobfile/files/patch-pyproject.toml
@@ -1,14 +1,9 @@
---- pyproject.toml.orig	2023-04-21 05:36:25 UTC
+--- pyproject.toml.orig	2023-10-12 00:15:23 UTC
 +++ pyproject.toml
-@@ -1,6 +1,6 @@
+@@ -1,5 +1,5 @@
  [build-system]
- requires = [
--    "setuptools == 42.0.0",
--    "wheel == 0.33.6",
--    "astor == 0.8.0",
--]
-\ No newline at end of file
-+    "setuptools >= 42.0.0",
-+    "wheel >= 0.33.6",
-+    "astor >= 0.8.0",
-+]
+-requires = ["setuptools>=64.0"]
++requires = ["setuptools>=61.0"]
+ build-backend = "setuptools.build_meta"
+ 
+ [tool.black]