git: 7f008353a86b - main - www/py-requests-file: Update to 2.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 21 Feb 2024 15:26:04 UTC
The branch main has been updated by sunpoet:

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

commit 7f008353a86b82a1ed037dd40090e8194cafca5a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:47:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:08:12 +0000

    www/py-requests-file: Update to 2.0.0
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/dashea/requests-file/blob/master/CHANGES.rst
---
 www/py-requests-file/Makefile | 10 ++++++----
 www/py-requests-file/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/www/py-requests-file/Makefile b/www/py-requests-file/Makefile
index 978d9fb605f8..c9346caa921d 100644
--- a/www/py-requests-file/Makefile
+++ b/www/py-requests-file/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	requests-file
-PORTVERSION=	1.5.1
+PORTVERSION=	2.0.0
 CATEGORIES=	www python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -10,11 +10,13 @@ WWW=		https://github.com/dashea/requests-file
 
 LICENSE=	APACHE20
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.2:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.4.3:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=1.0.0:www/py-requests@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/www/py-requests-file/distinfo b/www/py-requests-file/distinfo
index d30957384832..b6df31c6e3af 100644
--- a/www/py-requests-file/distinfo
+++ b/www/py-requests-file/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1588013504
-SHA256 (requests-file-1.5.1.tar.gz) = 07d74208d3389d01c38ab89ef403af0cfec63957d53a0081d8eca738d0247d8e
-SIZE (requests-file-1.5.1.tar.gz) = 5668
+TIMESTAMP = 1708449536
+SHA256 (requests-file-2.0.0.tar.gz) = 20c5931629c558fda566cacc10cfe2cd502433e628f568c34c80d96a0cc95972
+SIZE (requests-file-2.0.0.tar.gz) = 6863