git: 463ff015cdf1 - main - security/py-dfwinreg: update to 20240316

From: Antoine Brodin <antoine_at_FreeBSD.org>
Date: Tue, 18 Feb 2025 10:13:41 UTC
The branch main has been updated by antoine:

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

commit 463ff015cdf15663fc88020219efb56be6719b22
Author:     Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2025-02-18 10:11:39 +0000
Commit:     Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2025-02-18 10:11:39 +0000

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

diff --git a/security/py-dfwinreg/Makefile b/security/py-dfwinreg/Makefile
index 2c424dcd3c51..440e7d516170 100644
--- a/security/py-dfwinreg/Makefile
+++ b/security/py-dfwinreg/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	dfwinreg
-PORTVERSION=	20221218
-PORTREVISION=	1
+PORTVERSION=	20240316
 CATEGORIES=	security devel python
 MASTER_SITES=	https://github.com/log2timeline/dfwinreg/releases/download/${PORTVERSION}/ \
 		LOCAL/antoine
@@ -13,6 +12,8 @@ WWW=		https://github.com/log2timeline/dfwinreg
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	libcreg>=e:devel/libcreg \
 		libregf>=a:devel/libregf \
 		${PYTHON_PKGNAMEPREFIX}dtfabric>=0:devel/py-dtfabric@${PY_FLAVOR} \
@@ -20,14 +21,10 @@ RUN_DEPENDS=	libcreg>=e:devel/libcreg \
 		${PYTHON_PKGNAMEPREFIX}pyyaml>=3.10:devel/py-pyyaml@${PY_FLAVOR}
 
 USES=		python
-USE_PYTHON=	distutils autoplist concurrent
+USE_PYTHON=	autoplist pep517
 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
-	${REINPLACE_CMD} "/pip/d" ${WRKSRC}/requirements.txt
-
 .include <bsd.port.mk>
diff --git a/security/py-dfwinreg/distinfo b/security/py-dfwinreg/distinfo
index f4aa7dd7ea82..397ac1afde51 100644
--- a/security/py-dfwinreg/distinfo
+++ b/security/py-dfwinreg/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1677012517
-SHA256 (dfwinreg-20221218.tar.gz) = 192d79d7807cd0be72292c3ea55c1c88e292e81300ff540adc16a24add7de714
-SIZE (dfwinreg-20221218.tar.gz) = 15296056
+TIMESTAMP = 1739799407
+SHA256 (dfwinreg-20240316.tar.gz) = 702445cf517a73a8471586f201739231a876cbf5d1f09bfc334824f86f0bd86d
+SIZE (dfwinreg-20240316.tar.gz) = 15313509