git: 85a66246c858 - main - devel/py-perceval-mozilla: New port

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

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

commit 85a66246c858b8195b239da7ab0faffd353ad2fa
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-10-08 09:44:09 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-10-10 08:04:59 +0000

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

diff --git a/devel/Makefile b/devel/Makefile
index b635094a8d5d..a54a90e6f80d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5374,6 +5374,7 @@
     SUBDIR += py-pep621
     SUBDIR += py-pep8-naming
     SUBDIR += py-perceval
+    SUBDIR += py-perceval-mozilla
     SUBDIR += py-period
     SUBDIR += py-persistent
     SUBDIR += py-petname
diff --git a/devel/py-perceval-mozilla/Makefile b/devel/py-perceval-mozilla/Makefile
new file mode 100644
index 000000000000..dc5fc9ae11f4
--- /dev/null
+++ b/devel/py-perceval-mozilla/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	perceval-mozilla
+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 Mozilla ecosystem
+WWW=		https://github.com/chaoss/grimoirelab-perceval-mozilla
+
+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-mozilla/distinfo b/devel/py-perceval-mozilla/distinfo
new file mode 100644
index 000000000000..afedc68e7350
--- /dev/null
+++ b/devel/py-perceval-mozilla/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728349191
+SHA256 (perceval_mozilla-1.0.7.tar.gz) = 873df26dab47d8cffc5614669bd7506d024976582e5686db3849324159dd3845
+SIZE (perceval_mozilla-1.0.7.tar.gz) = 151108
diff --git a/devel/py-perceval-mozilla/pkg-descr b/devel/py-perceval-mozilla/pkg-descr
new file mode 100644
index 000000000000..2c65f8713477
--- /dev/null
+++ b/devel/py-perceval-mozilla/pkg-descr
@@ -0,0 +1 @@
+Bundle of Perceval backends for Mozilla ecosystem.