git: e882ec856c71 - main - devel/py-perceval-weblate: New port

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

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

commit e882ec856c7115a18274e021defa21cf748097d2
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-10-08 09:52:57 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-10-10 08:05:02 +0000

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

diff --git a/devel/Makefile b/devel/Makefile
index 41fcdc28ef94..6a20b5ad94a4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5377,6 +5377,7 @@
     SUBDIR += py-perceval-mozilla
     SUBDIR += py-perceval-opnfv
     SUBDIR += py-perceval-puppet
+    SUBDIR += py-perceval-weblate
     SUBDIR += py-period
     SUBDIR += py-persistent
     SUBDIR += py-petname
diff --git a/devel/py-perceval-weblate/Makefile b/devel/py-perceval-weblate/Makefile
new file mode 100644
index 000000000000..a026108378be
--- /dev/null
+++ b/devel/py-perceval-weblate/Makefile
@@ -0,0 +1,31 @@
+PORTNAME=	perceval-weblate
+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 Weblate
+WWW=		https://github.com/chaoss/grimoirelab-perceval-weblate
+
+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-weblate/distinfo b/devel/py-perceval-weblate/distinfo
new file mode 100644
index 000000000000..ad8adc4915d5
--- /dev/null
+++ b/devel/py-perceval-weblate/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728379217
+SHA256 (perceval_weblate-1.0.7.tar.gz) = 43e328db19bc39995ad41175075f3c7783a54a96cb9d40fc97a85f58cd480f0e
+SIZE (perceval_weblate-1.0.7.tar.gz) = 24762
diff --git a/devel/py-perceval-weblate/pkg-descr b/devel/py-perceval-weblate/pkg-descr
new file mode 100644
index 000000000000..49e9c3c6f85e
--- /dev/null
+++ b/devel/py-perceval-weblate/pkg-descr
@@ -0,0 +1 @@
+Bundle of Perceval backends for Weblate.