git: 7d16df6c7796 - main - devel/py-sirmordred: New port

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

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

commit 7d16df6c7796950a3698705258ccd21d301e1997
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-10-10 07:50:03 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-10-10 08:05:10 +0000

    devel/py-sirmordred: New port
    
    Drive GrimoireLab tools to produce a dashboard
    
    SirMordred is the tool used to coordinate the execution of the
    GrimoireLab platform, via two main configuration files, the setup.cfg
    and projects.json, which are summarized in their corresponding sections.
    
    WWW: https://github.com/chaoss/grimoirelab-sirmordred
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/Makefile                |  1 +
 devel/py-sirmordred/Makefile  | 41 +++++++++++++++++++++++++++++++++++++++++
 devel/py-sirmordred/distinfo  |  3 +++
 devel/py-sirmordred/pkg-descr |  3 +++
 4 files changed, 48 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 296291cac3c7..f3d0d9649fbc 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5878,6 +5878,7 @@
     SUBDIR += py-simpy
     SUBDIR += py-single-version
     SUBDIR += py-sip
+    SUBDIR += py-sirmordred
     SUBDIR += py-six
     SUBDIR += py-smmap
     SUBDIR += py-snakeviz
diff --git a/devel/py-sirmordred/Makefile b/devel/py-sirmordred/Makefile
new file mode 100644
index 000000000000..e30249082f3b
--- /dev/null
+++ b/devel/py-sirmordred/Makefile
@@ -0,0 +1,41 @@
+PORTNAME=	sirmordred
+DISTVERSION=	1.1.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Drive GrimoireLab tools to produce a dashboard
+WWW=		https://github.com/chaoss/grimoirelab-sirmordred
+
+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}colorlog>=6.4.1:devel/py-colorlog@${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}file-read-backwards>=3.1.0:textproc/py-file-read-backwards@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}graal>=0.3:devel/py-graal@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}grimoire-elk>=0.102:textproc/py-grimoire-elk@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}grimoirelab-panels>=0.1:textproc/py-grimoirelab-panels@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}grimoirelab-toolkit>=0.3:devel/py-grimoirelab-toolkit@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}kidash>=0.5:textproc/py-kidash@${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}sortinghat>=0.7.20:devel/py-sortinghat@${PY_FLAVOR}
+
+USES=		python shebangfix
+USE_PYTHON=	autoplist concurrent pep517 unittest
+SHEBANG_GLOB=	*.py
+
+NO_ARCH=	yes
+
+TEST_WRKSRC=	${WRKSRC}/tests
+
+.include <bsd.port.mk>
diff --git a/devel/py-sirmordred/distinfo b/devel/py-sirmordred/distinfo
new file mode 100644
index 000000000000..73ae1a137265
--- /dev/null
+++ b/devel/py-sirmordred/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728546326
+SHA256 (sirmordred-1.1.1.tar.gz) = 70cbd1eb0d44fe833a5acff6092785fbc533e220d28221e0bb43a02b18260a7a
+SIZE (sirmordred-1.1.1.tar.gz) = 6187540
diff --git a/devel/py-sirmordred/pkg-descr b/devel/py-sirmordred/pkg-descr
new file mode 100644
index 000000000000..51ed09efd7a5
--- /dev/null
+++ b/devel/py-sirmordred/pkg-descr
@@ -0,0 +1,3 @@
+SirMordred is the tool used to coordinate the execution of the
+GrimoireLab platform, via two main configuration files, the setup.cfg
+and projects.json, which are summarized in their corresponding sections.