git: bf127151fc72 - main - security/py-zaproxy: New port: ZAP api client

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Mon, 20 Jan 2025 05:15:31 UTC
The branch main has been updated by acm:

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

commit bf127151fc727c4c90a3e302a21e0c7791d1f1b1
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2025-01-20 05:14:25 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2025-01-20 05:14:25 +0000

    security/py-zaproxy: New port: ZAP api client
    
    The Python implementation to access the ZAP API. For more information about ZAP
    consult the (main) ZAP project.
---
 security/Makefile             |  1 +
 security/py-zaproxy/Makefile  | 24 ++++++++++++++++++++++++
 security/py-zaproxy/distinfo  |  3 +++
 security/py-zaproxy/pkg-descr |  2 ++
 4 files changed, 30 insertions(+)

diff --git a/security/Makefile b/security/Makefile
index 1e190d10e886..5b94fa9a200d 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1091,6 +1091,7 @@
     SUBDIR += py-yara
     SUBDIR += py-yara-python-dex
     SUBDIR += py-yubikey-manager
+    SUBDIR += py-zaproxy
     SUBDIR += py-zkg
     SUBDIR += py-zxcvbn
     SUBDIR += pygost
diff --git a/security/py-zaproxy/Makefile b/security/py-zaproxy/Makefile
new file mode 100644
index 000000000000..c4b2b9439338
--- /dev/null
+++ b/security/py-zaproxy/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	zaproxy
+DISTVERSION=	0.3.2
+CATEGORIES=	security python
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	acm@FreeBSD.org
+COMMENT=	ZAP api client
+WWW=		https://github.com/zaproxy/zap-api-python
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	${PORTNAME}
+GH_PROJECT=	zap-api-python
+
+USES=		python
+USE_PYTHON=	pep517 autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/security/py-zaproxy/distinfo b/security/py-zaproxy/distinfo
new file mode 100644
index 000000000000..56122f0a263b
--- /dev/null
+++ b/security/py-zaproxy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1737349504
+SHA256 (zaproxy-zap-api-python-0.3.2_GH0.tar.gz) = 5be83ce5737a5c5022dfe47c0b0fdeb45bc9de5e89e2b6912729d98a2fbe6f53
+SIZE (zaproxy-zap-api-python-0.3.2_GH0.tar.gz) = 55307
diff --git a/security/py-zaproxy/pkg-descr b/security/py-zaproxy/pkg-descr
new file mode 100644
index 000000000000..b245cfe5c2d5
--- /dev/null
+++ b/security/py-zaproxy/pkg-descr
@@ -0,0 +1,2 @@
+The Python implementation to access the ZAP API. For more information about ZAP
+consult the ZAP project.