git: 291dd02520c1 - main - devel/py-perceval-opnfv: New port

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

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

commit 291dd02520c1451387d69f34d9f50860a29153b9
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-10-08 09:49:30 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-10-10 08:05:00 +0000

    devel/py-perceval-opnfv: New port
    
    Bundle of Perceval backends for OPNFV ecosystem.
    
    WWW: https://github.com/chaoss/grimoirelab-perceval-opnfv
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/Makefile                    |  1 +
 devel/py-perceval-opnfv/Makefile  | 31 +++++++++++++++++++++++++++++++
 devel/py-perceval-opnfv/distinfo  |  3 +++
 devel/py-perceval-opnfv/pkg-descr |  1 +
 4 files changed, 36 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index a54a90e6f80d..6e008ce9f36c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5375,6 +5375,7 @@
     SUBDIR += py-pep8-naming
     SUBDIR += py-perceval
     SUBDIR += py-perceval-mozilla
+    SUBDIR += py-perceval-opnfv
     SUBDIR += py-period
     SUBDIR += py-persistent
     SUBDIR += py-petname
diff --git a/devel/py-perceval-opnfv/Makefile b/devel/py-perceval-opnfv/Makefile
new file mode 100644
index 000000000000..903c626bb40b
--- /dev/null
+++ b/devel/py-perceval-opnfv/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	perceval-opnfv
+DISTVERSION=	1.0.7
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${DISTVERSION}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Bundle of Perceval backends for OPNFV ecosystem
+WWW=		https://github.com/chaoss/grimoirelab-perceval-opnfv
+
+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}perceval>=0.19:devel/py-perceval@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=2.7.0:www/py-requests@${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-perceval-opnfv/distinfo b/devel/py-perceval-opnfv/distinfo
new file mode 100644
index 000000000000..ebade88d77dc
--- /dev/null
+++ b/devel/py-perceval-opnfv/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728378733
+SHA256 (perceval_opnfv-1.0.7.tar.gz) = a2d4a055f10a4da165ee1c18b404f6ec327d6f4e1af2403e360d6839d1543b6b
+SIZE (perceval_opnfv-1.0.7.tar.gz) = 32924
diff --git a/devel/py-perceval-opnfv/pkg-descr b/devel/py-perceval-opnfv/pkg-descr
new file mode 100644
index 000000000000..f01d68864c80
--- /dev/null
+++ b/devel/py-perceval-opnfv/pkg-descr
@@ -0,0 +1 @@
+Bundle of Perceval backends for OPNFV ecosystem.