git: e52f3496d1b6 - main - security/py-dfdatetime: update to 20221218

From: Antoine Brodin <antoine_at_FreeBSD.org>
Date: Wed, 22 Feb 2023 14:15:59 UTC
The branch main has been updated by antoine:

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

commit e52f3496d1b696232405cffa29b5d0b4a83c67b5
Author:     Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2023-02-22 14:15:49 +0000
Commit:     Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2023-02-22 14:15:49 +0000

    security/py-dfdatetime: update to 20221218
---
 security/py-dfdatetime/Makefile | 13 +++++--------
 security/py-dfdatetime/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 11 deletions(-)

diff --git a/security/py-dfdatetime/Makefile b/security/py-dfdatetime/Makefile
index 520f6aba02de..536712184886 100644
--- a/security/py-dfdatetime/Makefile
+++ b/security/py-dfdatetime/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	dfdatetime
-PORTVERSION=	20210509
+PORTVERSION=	20221218
 CATEGORIES=	security devel python
 MASTER_SITES=	PYPI \
 		https://github.com/log2timeline/dfdatetime/releases/download/${PORTVERSION}/
@@ -12,18 +12,15 @@ WWW=		https://github.com/log2timeline/dfdatetime
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pbr>=4.2.0:devel/py-pbr@${PY_FLAVOR}
-
-USES=		python:3.5+
+USES=		python
 USE_PYTHON=	distutils autoplist concurrent
+DO_MAKE_TEST=	${SETENV} ${TEST_ENV} ${PYTHON_CMD}
+TEST_TARGET=	run_tests.py
 
 NO_ARCH=	yes
 
 post-patch:
 	${REINPLACE_CMD} "s,share/doc/dfdatetime,${DOCSDIR_REL}," ${WRKSRC}/setup.py
-
-do-test:
-	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} run_tests.py)
+	${REINPLACE_CMD} "/pip/d" ${WRKSRC}/requirements.txt
 
 .include <bsd.port.mk>
diff --git a/security/py-dfdatetime/distinfo b/security/py-dfdatetime/distinfo
index c78a9cac2cf4..e0216519e310 100644
--- a/security/py-dfdatetime/distinfo
+++ b/security/py-dfdatetime/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1620647485
-SHA256 (dfdatetime-20210509.tar.gz) = 3d3cf885f83afb2a85c07f538cc01bc28d9ef2ff6f7b3c3b9c9fa481908de552
-SIZE (dfdatetime-20210509.tar.gz) = 65234
+TIMESTAMP = 1677011181
+SHA256 (dfdatetime-20221218.tar.gz) = 96230a5aa22960d2d2c49aca9b2d0284a0783fe8b290c74abc64b466582584b1
+SIZE (dfdatetime-20221218.tar.gz) = 74863