git: f41dbe8d7ab8 - main - devel/py-nbdime: Update to 4.0.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 27 Nov 2023 10:36:08 UTC
The branch main has been updated by sunpoet:

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

commit f41dbe8d7ab8dcf6beeb9e8b5b854e4c4ea61f73
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-27 10:02:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-27 10:28:14 +0000

    devel/py-nbdime: Update to 4.0.1
    
    - Add GitHub to MASTER_SITES
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/jupyter/nbdime/releases
---
 devel/py-nbdime/Makefile | 10 +++++++---
 devel/py-nbdime/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/devel/py-nbdime/Makefile b/devel/py-nbdime/Makefile
index 9b76e666fc1c..ea6a72588e94 100644
--- a/devel/py-nbdime/Makefile
+++ b/devel/py-nbdime/Makefile
@@ -1,7 +1,8 @@
 PORTNAME=	nbdime
-PORTVERSION=	3.2.1
+PORTVERSION=	4.0.1
 CATEGORIES=	devel python
-MASTER_SITES=	PYPI
+MASTER_SITES=	PYPI \
+		https://github.com/jupyter/nbdime/releases/download/${PORTVERSION}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -11,6 +12,9 @@ WWW=		https://github.com/jupyter/nbdime
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE.md
 
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatch-jupyter-builder>=0.5:devel/py-hatch-jupyter-builder@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}hatchling>=1.5.0:devel/py-hatchling@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jupyterlab>=4.0.0<5:devel/py-jupyterlab@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}gitpython>=0:devel/py-gitpython@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>=2.9:devel/py-Jinja2@${PY_FLAVOR} \
@@ -22,7 +26,7 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tornado>=0:www/py-tornado@${PY_FLAVOR}
 
 USES=		cpe python
-USE_PYTHON=	autoplist concurrent distutils
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-nbdime/distinfo b/devel/py-nbdime/distinfo
index e191220d3e97..a851bd9139d9 100644
--- a/devel/py-nbdime/distinfo
+++ b/devel/py-nbdime/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1682903094
-SHA256 (nbdime-3.2.1.tar.gz) = 31409a30f848ffc6b32540697e82d5a0a1b84dcc32716ca74e78bcc4b457c453
-SIZE (nbdime-3.2.1.tar.gz) = 7642926
+TIMESTAMP = 1700759792
+SHA256 (nbdime-4.0.1.tar.gz) = f1a760c0b00c1ba9b4945c16ce92577f393fb51d184f351b7685ba6e8502098e
+SIZE (nbdime-4.0.1.tar.gz) = 9414125