git: ea7c2270c856 - main - www/py-grimoirelab: New port

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

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

commit ea7c2270c856e9b07f74e1133797db85dd74c09f
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-10-10 07:54:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-10-10 08:05:11 +0000

    www/py-grimoirelab: New port
    
    Tool set for software development analytics
    
    GrimoireLab is a CHAOSS toolset for software development analytics. It
    includes a coordinated set of tools to retrieve data from systems used
    to support software development (repositories), store it in databases,
    enrich it by computing relevant metrics, and make it easy to run
    analytics and visualizations on it.
    
    WWW: https://chaoss.github.io/grimoirelab/
    
    Sponsored by:   The FreeBSD Foundation
---
 www/Makefile                 |  1 +
 www/py-grimoirelab/Makefile  | 38 ++++++++++++++++++++++++++++++++++++++
 www/py-grimoirelab/distinfo  |  3 +++
 www/py-grimoirelab/pkg-descr |  5 +++++
 4 files changed, 47 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 84df6273cce9..cebb864501f5 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1715,6 +1715,7 @@
     SUBDIR += py-grafana-dashboard-manager
     SUBDIR += py-graphite-api
     SUBDIR += py-grequests
+    SUBDIR += py-grimoirelab
     SUBDIR += py-grip
     SUBDIR += py-gunicorn
     SUBDIR += py-h2
diff --git a/www/py-grimoirelab/Makefile b/www/py-grimoirelab/Makefile
new file mode 100644
index 000000000000..f2f218077253
--- /dev/null
+++ b/www/py-grimoirelab/Makefile
@@ -0,0 +1,38 @@
+PORTNAME=	grimoirelab
+DISTVERSION=	1.6.0
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Tool set for software development analytics
+WWW=		https://chaoss.github.io/grimoirelab/
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS=	\
+		${PYTHON_PKGNAMEPREFIX}cereslib>=1.0.5:devel/py-cereslib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}graal>=1.0.7:devel/py-graal@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}grimoire-elk>=1.2.0:textproc/py-grimoire-elk@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}grimoirelab-panels>=1.1.1:textproc/py-grimoirelab-panels@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}grimoirelab-toolkit>=1.0.5:devel/py-grimoirelab-toolkit@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}kidash>=1.0.6:textproc/py-kidash@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}perceval>=1.0.7:devel/py-perceval@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}perceval-mozilla>=1.0.7:devel/py-perceval-mozilla@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}perceval-opnfv>=1.0.7:devel/py-perceval-opnfv@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}perceval-puppet>=1.0.7:devel/py-perceval-puppet@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}perceval-weblate>=1.0.7:devel/py-perceval-weblate@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sirmordred>=1.1.1:devel/py-sirmordred@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sortinghat>=1.4.0:devel/py-sortinghat@${PY_FLAVOR}
+
+USES=		python shebangfix
+USE_PYTHON=	autoplist concurrent pep517
+SHEBANG_GLOB=	*.py
+
+BINARY_ALIAS=	python3=${PYTHON_CMD}
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/py-grimoirelab/distinfo b/www/py-grimoirelab/distinfo
new file mode 100644
index 000000000000..ba7850884d13
--- /dev/null
+++ b/www/py-grimoirelab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728290966
+SHA256 (grimoirelab-1.6.0.tar.gz) = 45c36c1d51d4b0fdd023264c7dc867bd15a69735cb4c61c24cb0a1e2aab116a1
+SIZE (grimoirelab-1.6.0.tar.gz) = 17307
diff --git a/www/py-grimoirelab/pkg-descr b/www/py-grimoirelab/pkg-descr
new file mode 100644
index 000000000000..cd4fa54fec7f
--- /dev/null
+++ b/www/py-grimoirelab/pkg-descr
@@ -0,0 +1,5 @@
+GrimoireLab is a CHAOSS toolset for software development analytics. It
+includes a coordinated set of tools to retrieve data from systems used
+to support software development (repositories), store it in databases,
+enrich it by computing relevant metrics, and make it easy to run
+analytics and visualizations on it.