git: 1991382268f7 - main - graphics/py-plotly: update 5.24.1 → 7.1.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 02 Oct 2026 08:41:17 UTC
The branch main has been updated by yuri:

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

commit 1991382268f7c1cb8d9a5ce1bd2a34a125ae260f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-02 04:10:28 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-02 08:41:13 +0000

    graphics/py-plotly: update 5.24.1 → 7.1.0
    
    PR:             295406
    Approved by:    jjachuf@gmail.com (maintainer's timeout; 4 months 12 days)
---
 graphics/py-plotly/Makefile | 12 ++++++++----
 graphics/py-plotly/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/graphics/py-plotly/Makefile b/graphics/py-plotly/Makefile
index 10232483d0d8..ab230123d273 100644
--- a/graphics/py-plotly/Makefile
+++ b/graphics/py-plotly/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	plotly
-PORTVERSION=	5.24.1
-PORTREVISION=	1
+DISTVERSION=	7.1.0
 CATEGORIES=	graphics python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +11,16 @@ WWW=		https://plotly.com/python/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}tenacity>=6.2.0:devel/py-tenacity@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>=1.26:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}narwhals>=1.15.1:math/py-narwhals@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist
+USE_PYTHON=	autoplist pep517
 
 NO_ARCH=	yes
 
+USES+=		shebangfix
+SHEBANG_FILES=	${WRKSRC}/_plotly_utils/png.py
+
 .include <bsd.port.mk>
diff --git a/graphics/py-plotly/distinfo b/graphics/py-plotly/distinfo
index 09259691bafa..bd1d51c9c22d 100644
--- a/graphics/py-plotly/distinfo
+++ b/graphics/py-plotly/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1731442628
-SHA256 (plotly-5.24.1.tar.gz) = dbc8ac8339d248a4bcc36e08a5659bacfe1b079390b8953533f4eb22169b4bae
-SIZE (plotly-5.24.1.tar.gz) = 9479398
+TIMESTAMP = 1790695931
+SHA256 (plotly-7.1.0.tar.gz) = f860166a4a3d78c69cb1f4a15f28a5c8283eade98a282a698f3bb853a449ace5
+SIZE (plotly-7.1.0.tar.gz) = 6689315