git: d0abc2860d82 - main - devel/py-pyintelowl: New port: Python SDK and Command Line Client for interacting with IntelOwl API

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sun, 30 Apr 2023 00:33:33 UTC
The branch main has been updated by acm:

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

commit d0abc2860d822a6b69cafb457ff1bfd435f57047
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-04-30 00:32:06 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-04-30 00:32:06 +0000

    devel/py-pyintelowl: New port: Python SDK and Command Line Client for interacting with IntelOwl API
    
    Robust Python SDK and Command Line Client for interacting with IntelOwl's API.
    
    Features
    
    - Easy one-time configuration with self documented help and hints along the
      way.
    - Request new analysis for observables and files.
    - Select which analyzers you want to run for every analysis you perform.
    - Choose whether you want to HTTP poll for the analysis to finish or not.
    - List all jobs or view one job in a prettified tabular form.
    - List all tags or view one tag in a prettified tabular form.
    - Tabular view of the analyzer_config.json and connector_config.json from
      IntelOwl with RegEx matching capabilities.
---
 devel/Makefile                |  1 +
 devel/py-pyintelowl/Makefile  | 26 ++++++++++++++++++++++++++
 devel/py-pyintelowl/distinfo  |  3 +++
 devel/py-pyintelowl/pkg-descr | 13 +++++++++++++
 4 files changed, 43 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 51c9766c13b0..cf204c8120c1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5209,6 +5209,7 @@
     SUBDIR += py-pyinotify
     SUBDIR += py-pyinquirer
     SUBDIR += py-pyinstaller
+    SUBDIR += py-pyintelowl
     SUBDIR += py-pyjq
     SUBDIR += py-pyjsparser
     SUBDIR += py-pylama
diff --git a/devel/py-pyintelowl/Makefile b/devel/py-pyintelowl/Makefile
new file mode 100644
index 000000000000..5cdd74c16bb6
--- /dev/null
+++ b/devel/py-pyintelowl/Makefile
@@ -0,0 +1,26 @@
+PORTNAME=	pyintelowl
+DISTVERSION=	4.4.2
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	acm@FreeBSD.org
+COMMENT=	Python SDK and Command Line Client for interacting with IntelOwl API
+WWW=		https://github.com/intelowlproject/pyintelowl
+
+LICENSE=	AGPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}geocoder>0:devel/py-geocoder@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}rich>0:textproc/py-rich@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click-creds>0:devel/py-click-creds@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES=		python:3.7+
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-pyintelowl/distinfo b/devel/py-pyintelowl/distinfo
new file mode 100644
index 000000000000..3d236e502c5f
--- /dev/null
+++ b/devel/py-pyintelowl/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1680291896
+SHA256 (pyintelowl-4.4.2.tar.gz) = b87cf34ca3d2f6bf92a9a9d5c64e38de28fc5c21305fe338f19c4081f4caba38
+SIZE (pyintelowl-4.4.2.tar.gz) = 44419
diff --git a/devel/py-pyintelowl/pkg-descr b/devel/py-pyintelowl/pkg-descr
new file mode 100644
index 000000000000..2f441991bb03
--- /dev/null
+++ b/devel/py-pyintelowl/pkg-descr
@@ -0,0 +1,13 @@
+Robust Python SDK and Command Line Client for interacting with IntelOwl's API.
+
+Features
+
+- Easy one-time configuration with self documented help and hints along the
+  way.
+- Request new analysis for observables and files.
+- Select which analyzers you want to run for every analysis you perform.
+- Choose whether you want to HTTP poll for the analysis to finish or not.
+- List all jobs or view one job in a prettified tabular form.
+- List all tags or view one tag in a prettified tabular form.
+- Tabular view of the analyzer_config.json and connector_config.json from
+  IntelOwl with RegEx matching capabilities.