git: 5d360d8b9097 - main - security/py-artifacts: update to 20240518

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

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

commit 5d360d8b90977bf099d4e391665b1f15f4deb507
Author:     Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2025-02-18 10:10:14 +0000
Commit:     Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2025-02-18 10:10:14 +0000

    security/py-artifacts: update to 20240518
---
 security/py-artifacts/Makefile | 12 ++++--------
 security/py-artifacts/distinfo |  6 +++---
 2 files changed, 7 insertions(+), 11 deletions(-)

diff --git a/security/py-artifacts/Makefile b/security/py-artifacts/Makefile
index 744d42ab7c0d..b7b64fdc4ce2 100644
--- a/security/py-artifacts/Makefile
+++ b/security/py-artifacts/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	artifacts
-PORTVERSION=	20230928
-PORTREVISION=	1
+PORTVERSION=	20240518
 CATEGORIES=	security python
 MASTER_SITES=	PYPI \
 		https://github.com/ForensicArtifacts/artifacts/releases/download/${PORTVERSION}/
@@ -13,17 +12,14 @@ WWW=		https://github.com/ForensicArtifacts/artifacts
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyyaml>=3.10:devel/py-pyyaml@${PY_FLAVOR}
 
 NO_ARCH=	yes
 USES=		python
-USE_PYTHON=	distutils autoplist concurrent
+USE_PYTHON=	autoplist concurrent pep517
 DO_MAKE_TEST=	${SETENV} ${TEST_ENV} ${PYTHON_CMD}
 TEST_TARGET=	run_tests.py
 
-post-patch:
-	${REINPLACE_CMD} "s,share/artifacts,${DATADIR_REL}, ; \
-		s,share/doc/artifacts,${DOCSDIR_REL}," ${WRKSRC}/setup.py
-	${REINPLACE_CMD} "/pip/d" ${WRKSRC}/requirements.txt
-
 .include <bsd.port.mk>
diff --git a/security/py-artifacts/distinfo b/security/py-artifacts/distinfo
index e99ff71e54d8..0a8f186b779d 100644
--- a/security/py-artifacts/distinfo
+++ b/security/py-artifacts/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1707754234
-SHA256 (artifacts-20230928.tar.gz) = b918f2977e5797e06e4df111351ba6b26d8b7446a0eb64eec6b2f3fa7df1cb8f
-SIZE (artifacts-20230928.tar.gz) = 116137
+TIMESTAMP = 1739782667
+SHA256 (artifacts-20240518.tar.gz) = d0558eb7fa876198de1dab2328ef489bd9a523b87cda0699a91d010d6305123e
+SIZE (artifacts-20240518.tar.gz) = 118997