git: 4b7326450e45 - main - devel/py-dtfabric: update to 20221218

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

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

commit 4b7326450e45b739447ddf842c40c9be8d21c971
Author:     Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2023-02-22 14:08:22 +0000
Commit:     Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2023-02-22 14:14:19 +0000

    devel/py-dtfabric: update to 20221218
---
 devel/py-dtfabric/Makefile | 15 +++++++--------
 devel/py-dtfabric/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 11 deletions(-)

diff --git a/devel/py-dtfabric/Makefile b/devel/py-dtfabric/Makefile
index 2a2797402ee1..da503cfe8df8 100644
--- a/devel/py-dtfabric/Makefile
+++ b/devel/py-dtfabric/Makefile
@@ -1,8 +1,8 @@
 PORTNAME=	dtfabric
-PORTVERSION=	20200621
+PORTVERSION=	20221218
 CATEGORIES=	devel python
-MASTER_SITES=	PYPI
-#		https://github.com/libyal/dtfabric/releases/download/${PORTVERSION}/
+MASTER_SITES=	PYPI \
+		https://github.com/libyal/dtfabric/releases/download/${PORTVERSION}/
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	antoine@FreeBSD.org
@@ -13,16 +13,15 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}yaml>=0:devel/py-yaml@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>=0:devel/py-mock@${PY_FLAVOR}
 
 NO_ARCH=	yes
-USES=		python:3.5+
+USES=		python
 USE_PYTHON=	distutils autoplist concurrent
+DO_MAKE_TEST=	${SETENV} ${TEST_ENV} ${PYTHON_CMD}
+TEST_TARGET=	run_tests.py
 
 post-patch:
 	${REINPLACE_CMD} "s,share/doc/dtfabric,${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/devel/py-dtfabric/distinfo b/devel/py-dtfabric/distinfo
index 4aa07b1ebab8..9a9441ed5edd 100644
--- a/devel/py-dtfabric/distinfo
+++ b/devel/py-dtfabric/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1592817374
-SHA256 (dtfabric-20200621.tar.gz) = d76f8fb41f9453ca8a00689cb7a0e09c4b0ba309376d5182b3858f509096c761
-SIZE (dtfabric-20200621.tar.gz) = 67827
+TIMESTAMP = 1677012206
+SHA256 (dtfabric-20221218.tar.gz) = 1381ce748063d0c732fcf3434adc179ac8f05b75a96496261430d6bd16933e55
+SIZE (dtfabric-20221218.tar.gz) = 73244