git: 71c619f78c1e - main - net/py-smart-open: Update to 7.0.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 09 Mar 2024 14:13:54 UTC
The branch main has been updated by sunpoet:

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

commit 71c619f78c1eaec462eb9c1561d0b8a97bfaabbc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-09 13:49:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-09 14:06:12 +0000

    net/py-smart-open: Update to 7.0.1
    
    - Update WWW
    - Add ZST option
    
    Changes:        https://github.com/piskvorky/smart_open/releases
---
 net/py-smart-open/Makefile | 12 ++++++++----
 net/py-smart-open/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/net/py-smart-open/Makefile b/net/py-smart-open/Makefile
index af81034522c9..ab37d030a5bd 100644
--- a/net/py-smart-open/Makefile
+++ b/net/py-smart-open/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	smart-open
-PORTVERSION=	6.4.0
+PORTVERSION=	7.0.1
 CATEGORIES=	net python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -7,13 +7,15 @@ DISTNAME=	smart_open-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Utils for streaming large files
-WWW=		https://github.com/RaRe-Technologies/smart_open
+WWW=		https://github.com/piskvorky/smart_open
 
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wrapt>=0:devel/py-wrapt@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-benchmark>=0:devel/py-pytest-benchmark@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-rerunfailures>=0:devel/py-pytest-rerunfailures@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}responses>=0:devel/py-responses@${PY_FLAVOR}
 
@@ -22,13 +24,14 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	AZURE HTTP GCS S3 SSH WEBHDFS
-OPTIONS_DEFAULT=AZURE HTTP GCS S3 SSH WEBHDFS
+OPTIONS_DEFINE=	AZURE HTTP GCS S3 SSH WEBHDFS ZST
+OPTIONS_DEFAULT=AZURE HTTP GCS S3 SSH WEBHDFS ZST
 AZURE_DESC=	Microsoft Azure support
 HTTP_DESC=	HTTP support
 GCS_DESC=	Google Cloud Storage (GCS) support
 S3_DESC=	Amazon Web Services S3 support
 WEBHDFS_DESC=	WebHDFS support
+ZST_DESC=	Zstandard support
 
 AZURE_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}azure-common>=0:www/py-azure-common@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}azure-core>=0:devel/py-azure-core@${PY_FLAVOR} \
@@ -38,5 +41,6 @@ GCS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}google-cloud-storage>=2.6.0:www/py-googl
 S3_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}boto3>=0:www/py-boto3@${PY_FLAVOR}
 SSH_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}paramiko>=0:security/py-paramiko@${PY_FLAVOR}
 WEBHDFS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
+ZST_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}zstandard>=0:archivers/py-zstandard@${PY_FLAVOR}
 
 .include <bsd.port.mk>
diff --git a/net/py-smart-open/distinfo b/net/py-smart-open/distinfo
index 03477989bc9f..dfc930dd71e9 100644
--- a/net/py-smart-open/distinfo
+++ b/net/py-smart-open/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1694348300
-SHA256 (smart_open-6.4.0.tar.gz) = be3c92c246fbe80ebce8fbacb180494a481a77fcdcb7c1aadb2ea5b9c2bee8b9
-SIZE (smart_open-6.4.0.tar.gz) = 65491
+TIMESTAMP = 1709390702
+SHA256 (smart_open-7.0.1.tar.gz) = c03d00e49483d8e5375720d4d6c1402107f23584bf96505db0b4e17f92339e56
+SIZE (smart_open-7.0.1.tar.gz) = 70456