git: 0fd931112952 - main - devel/py-traitlets: Update 5.8.0 → 5.9.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 02 Mar 2023 08:25:56 UTC
The branch main has been updated by yuri:

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

commit 0fd931112952534f813f84c9c940f5dfe44453e4
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-03-02 08:09:26 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-03-02 08:25:48 +0000

    devel/py-traitlets: Update 5.8.0 → 5.9.0
    
    Reported by:    portscout
---
 devel/py-traitlets/Makefile | 17 ++++++-----------
 devel/py-traitlets/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 14 deletions(-)

diff --git a/devel/py-traitlets/Makefile b/devel/py-traitlets/Makefile
index ecc2862a4820..34321e64ed77 100644
--- a/devel/py-traitlets/Makefile
+++ b/devel/py-traitlets/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	traitlets
-DISTVERSION=	5.8.0
+DISTVERSION=	5.9.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,19 +11,14 @@ WWW=		https://github.com/ipython/traitlets
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING.md
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ipython_genutils>0:devel/py-ipython_genutils@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}hatchling>0:devel/py-hatchling@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}argcomplete>=2.0:devel/py-argcomplete@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pre-commit>0:devel/py-pre-commit@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-mock>0:devel/py-pytest-mock@${PY_FLAVOR}
 
 USES=		python:3.7+
-USE_PYTHON=	distutils autoplist pytest
+USE_PYTHON=	pep517 autoplist pytest
 
 NO_ARCH=	yes
 
-# upstream stopped providing setup.py
-post-patch:
-	@${ECHO_CMD} 'import setuptools; setuptools.setup()' > ${WRKSRC}/setup.py
-
-post-install:
-	@${REINPLACE_CMD} -i '' -e 's|Version: .*|Version: ${DISTVERSION}|' ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/traitlets-*/PKG-INFO
-
 .include <bsd.port.mk>
diff --git a/devel/py-traitlets/distinfo b/devel/py-traitlets/distinfo
index a7a65cafe8dc..713e12b29b0a 100644
--- a/devel/py-traitlets/distinfo
+++ b/devel/py-traitlets/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1671584560
-SHA256 (traitlets-5.8.0.tar.gz) = 6cc57d6dc28c85d5365961726ffd19b538739347749e13ebe34e03323a0e8f84
-SIZE (traitlets-5.8.0.tar.gz) = 149460
+TIMESTAMP = 1677744112
+SHA256 (traitlets-5.9.0.tar.gz) = f6cde21a9c68cf756af02035f72d5a723bf607e862e7be33ece505abf4a3bad9
+SIZE (traitlets-5.9.0.tar.gz) = 150207