git: 9e67c21e9a88 - main - security/py-dfwinreg: update to 20221218

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

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

commit 9e67c21e9a88b5200f8dd0b48f046c9af7557bbf
Author:     Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2023-02-22 14:11:12 +0000
Commit:     Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2023-02-22 14:14:20 +0000

    security/py-dfwinreg: update to 20221218
---
 security/py-dfwinreg/Makefile | 14 +++++++-------
 security/py-dfwinreg/distinfo |  6 +++---
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/security/py-dfwinreg/Makefile b/security/py-dfwinreg/Makefile
index dd6c8070d6ac..82412590ba16 100644
--- a/security/py-dfwinreg/Makefile
+++ b/security/py-dfwinreg/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	dfwinreg
-PORTVERSION=	20211207
+PORTVERSION=	20221218
 CATEGORIES=	security devel python
 MASTER_SITES=	https://github.com/log2timeline/dfwinreg/releases/download/${PORTVERSION}/ \
 		LOCAL/antoine
@@ -15,18 +15,18 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 RUN_DEPENDS=	libcreg>=e:devel/libcreg \
 		libregf>=a:devel/libregf \
 		${PYTHON_PKGNAMEPREFIX}dtfabric>=0:devel/py-dtfabric@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}dfdatetime>=0:security/py-dfdatetime@${PY_FLAVOR}
-TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}dfdatetime>=0:security/py-dfdatetime@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}yaml>=3.10:devel/py-yaml@${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/dfwinreg,${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-dfwinreg/distinfo b/security/py-dfwinreg/distinfo
index ce3e9d305869..f4aa7dd7ea82 100644
--- a/security/py-dfwinreg/distinfo
+++ b/security/py-dfwinreg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1652290860
-SHA256 (dfwinreg-20211207.tar.gz) = 6cfe4daf178e78970376b4482879536077d599cc59c4d025abb96b355ac8a703
-SIZE (dfwinreg-20211207.tar.gz) = 15295848
+TIMESTAMP = 1677012517
+SHA256 (dfwinreg-20221218.tar.gz) = 192d79d7807cd0be72292c3ea55c1c88e292e81300ff540adc16a24add7de714
+SIZE (dfwinreg-20221218.tar.gz) = 15296056