git: ee78e8f77245 - main - devel/py-cereslib: New port

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

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

commit ee78e8f77245efc67b896bcf7df0a65d60e51681
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-10-08 10:18:00 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-10-10 08:05:02 +0000

    devel/py-cereslib: New port
    
    Unify, eventize and enrich information from Perceval
    
    Ceres is a library that aims at dealing with data in general, and
    software development data in particular.
    
    The initial goal of Ceres is to parse information in several ways from
    the Perceval tool in the GrimoireLab project.
    
    However, the more code is added to this project, the more generic
    methods are found to be useful in other areas of analysis.
    
    WWW: https://github.com/chaoss/grimoirelab-cereslib
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/Makefile              |  1 +
 devel/py-cereslib/Makefile  | 31 +++++++++++++++++++++++++++++++
 devel/py-cereslib/distinfo  |  3 +++
 devel/py-cereslib/pkg-descr |  8 ++++++++
 4 files changed, 43 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 6a20b5ad94a4..8ad77559d3cb 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4601,6 +4601,7 @@
     SUBDIR += py-celery-progress
     SUBDIR += py-celery-singleton
     SUBDIR += py-cerberus
+    SUBDIR += py-cereslib
     SUBDIR += py-certsrv
     SUBDIR += py-cffi
     SUBDIR += py-cfgv
diff --git a/devel/py-cereslib/Makefile b/devel/py-cereslib/Makefile
new file mode 100644
index 000000000000..98315d2e3cb9
--- /dev/null
+++ b/devel/py-cereslib/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	cereslib
+DISTVERSION=	1.0.5
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Unify, eventize and enrich information from Perceval
+WWW=		https://github.com/chaoss/grimoirelab-cereslib
+
+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}grimoirelab-toolkit>=0.3:devel/py-grimoirelab-toolkit@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}scipy>=1.5:science/py-scipy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}six>=1.16.0:devel/py-six@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pandas>=2.2:math/py-pandas@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}httpretty>0:www/py-httpretty@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${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/devel/py-cereslib/distinfo b/devel/py-cereslib/distinfo
new file mode 100644
index 000000000000..346b9761b2c0
--- /dev/null
+++ b/devel/py-cereslib/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728381801
+SHA256 (cereslib-1.0.5.tar.gz) = f3eeb540f316e37e73e2813593c21b53dba321b731b5ee9603a240c2931983bb
+SIZE (cereslib-1.0.5.tar.gz) = 29548
diff --git a/devel/py-cereslib/pkg-descr b/devel/py-cereslib/pkg-descr
new file mode 100644
index 000000000000..29550ecc3f34
--- /dev/null
+++ b/devel/py-cereslib/pkg-descr
@@ -0,0 +1,8 @@
+Ceres is a library that aims at dealing with data in general, and
+software development data in particular.
+
+The initial goal of Ceres is to parse information in several ways from
+the Perceval tool in the GrimoireLab project.
+
+However, the more code is added to this project, the more generic
+methods are found to be useful in other areas of analysis.