aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-10-10 05:06:54 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-10-10 08:05:09 +0000
commit1bf50b4e0e526d1d043e1ed057c2a808cfa90abc (patch)
tree29be1c8389dc013e5538e12528445585a44eeecc
parent55d52c0038271e8fdcbafeb2179765b472fd1466 (diff)
textproc/py-grimoire-elk: New port
GrimoireELK processes and stores software development data to ElasticSearch Each of the files found in this directory are a JSON file that contains all of the information related to a Kibana dashboard. This usually has information about the following artifacts: - Original indexes where the information come from. - Searches on those indexes that provide a sub-set of the information. - Widgets either built on top of the original indexes or on top of the searches. - Final panels that are an aggregation of several widgets. WWW: https://github.com/chaoss/grimoirelab-elk Sponsored by: The FreeBSD Foundation
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/py-grimoire-elk/Makefile40
-rw-r--r--textproc/py-grimoire-elk/distinfo3
-rw-r--r--textproc/py-grimoire-elk/pkg-descr9
4 files changed, 53 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 6b5c83df8790..ae558c71f491 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1392,6 +1392,7 @@
SUBDIR += py-grapheme
SUBDIR += py-grep-ast
SUBDIR += py-griffe
+ SUBDIR += py-grimoire-elk
SUBDIR += py-grimoirelab-panels
SUBDIR += py-guess-language
SUBDIR += py-hashids
diff --git a/textproc/py-grimoire-elk/Makefile b/textproc/py-grimoire-elk/Makefile
new file mode 100644
index 000000000000..c110f0c8be52
--- /dev/null
+++ b/textproc/py-grimoire-elk/Makefile
@@ -0,0 +1,40 @@
+PORTNAME= grimoire-elk
+DISTVERSION= 1.2.0
+CATEGORIES= textproc python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER= bofh@FreeBSD.org
+COMMENT= GrimoireELK processes and stores software development data to ElasticSearch
+WWW= https://github.com/chaoss/grimoirelab-elk
+
+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}cereslib>=0.3:devel/py-cereslib@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}elasticsearch6>=6.3.1:textproc/py-elasticsearch6@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}elasticsearch-dsl6>=6.3.1:textproc/py-elasticsearch-dsl6@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}geopy>=2.0.0:net/py-geopy@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}graal>=0.3:devel/py-graal@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}grimoirelab-toolkit>=0.3:devel/py-grimoirelab-toolkit@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pandas>=0.22:math/py-pandas@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}perceval>=0.19:devel/py-perceval@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}perceval-mozilla>=0.3:devel/py-perceval-mozilla@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}perceval-opnfv>=0.2:devel/py-perceval-opnfv@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}perceval-puppet>=0.2:devel/py-perceval-puppet@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}perceval-weblate>=0.2:devel/py-perceval-weblate@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.7.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}sortinghat>=0.7.20:devel/py-sortinghat@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}statsmodels>=0.9.0:math/py-statsmodels@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}urllib3>=1.26:net/py-urllib3@${PY_FLAVOR}
+
+USES= python shebangfix
+USE_PYTHON= autoplist concurrent pep517
+SHEBANG_GLOB= *.py
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/py-grimoire-elk/distinfo b/textproc/py-grimoire-elk/distinfo
new file mode 100644
index 000000000000..382d84c26b5a
--- /dev/null
+++ b/textproc/py-grimoire-elk/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728525230
+SHA256 (grimoire_elk-1.2.0.tar.gz) = 616cbd04b17d39710d8ee75fff359f43e1490b52caa3104ac0297aef623dc7e2
+SIZE (grimoire_elk-1.2.0.tar.gz) = 894472
diff --git a/textproc/py-grimoire-elk/pkg-descr b/textproc/py-grimoire-elk/pkg-descr
new file mode 100644
index 000000000000..82ee08e4a43e
--- /dev/null
+++ b/textproc/py-grimoire-elk/pkg-descr
@@ -0,0 +1,9 @@
+Each of the files found in this directory are a JSON file that contains
+all of the information related to a Kibana dashboard. This usually has
+information about the following artifacts:
+
+- Original indexes where the information come from.
+- Searches on those indexes that provide a sub-set of the information.
+- Widgets either built on top of the original indexes or on top of the
+ searches.
+- Final panels that are an aggregation of several widgets.