git: b23e8e605df1 - main - textproc/py-kidash: New port

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Thu, 10 Oct 2024 08:05:37 UTC
The branch main has been updated by bofh:

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

commit b23e8e605df173ba14ed225bba9ee408893f7e36
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-10-08 12:57:02 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-10-10 08:05:04 +0000

    textproc/py-kidash: New port
    
    Kidash is a tool for managing Kibana-related dashboards from the command
    line. The standard GrimoireLab dashboards are available in the Sigils
    repository.
    
    WWW: https://github.com/chaoss/grimoirelab-kidash
    
    Sponsored by:   The FreeBSD Foundation
---
 textproc/Makefile            |  1 +
 textproc/py-kidash/Makefile  | 27 +++++++++++++++++++++++++++
 textproc/py-kidash/distinfo  |  3 +++
 textproc/py-kidash/pkg-descr |  3 +++
 4 files changed, 34 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index 90c6826bdb47..6b5c83df8790 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1422,6 +1422,7 @@
     SUBDIR += py-junit-xml
     SUBDIR += py-jupyter_sphinx
     SUBDIR += py-jupyterlab-pygments
+    SUBDIR += py-kidash
     SUBDIR += py-langcodes
     SUBDIR += py-langdetect
     SUBDIR += py-langid
diff --git a/textproc/py-kidash/Makefile b/textproc/py-kidash/Makefile
new file mode 100644
index 000000000000..2299c28e1046
--- /dev/null
+++ b/textproc/py-kidash/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	kidash
+DISTVERSION=	1.0.6
+CATEGORIES=	textproc python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	GrimoireLab script to manage Kibana dashboards from the command line
+WWW=		https://github.com/chaoss/grimoirelab-kidash
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-dateutil>2.8.2:devel/py-python-dateutil@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.7.0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}urllib3>=2.2:net/py-urllib3@${PY_FLAVOR}
+
+USES=		python shebangfix
+USE_PYTHON=	autoplist concurrent pep517 unittest2
+SHEBANG_GLOB=	*.py
+
+NO_ARCH=	yes
+
+TEST_WRKSRC=	${WRKSRC}/tests
+
+.include <bsd.port.mk>
diff --git a/textproc/py-kidash/distinfo b/textproc/py-kidash/distinfo
new file mode 100644
index 000000000000..4fc366d49e59
--- /dev/null
+++ b/textproc/py-kidash/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728392118
+SHA256 (kidash-1.0.6.tar.gz) = f55906c9cd0d296c0e7538819f2b073e4e0da32a6abc4e6ba856a227096c859f
+SIZE (kidash-1.0.6.tar.gz) = 33137
diff --git a/textproc/py-kidash/pkg-descr b/textproc/py-kidash/pkg-descr
new file mode 100644
index 000000000000..27a6260f80ff
--- /dev/null
+++ b/textproc/py-kidash/pkg-descr
@@ -0,0 +1,3 @@
+Kidash is a tool for managing Kibana-related dashboards from the command
+line. The standard GrimoireLab dashboards are available in the Sigils
+repository.