git: 641943a12072 - main - devel/py-sgqlc: New port

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

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

commit 641943a120724a1259e943e83e84051dd748df23
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-10-09 14:40:16 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-10-10 08:05:08 +0000

    devel/py-sgqlc: New port
    
    Simple GraphQL Client
    
    This package provides a library composed by functions widely used in
    other GrimoireLab projects. These function deal with date handling,
    introspection, URIs/URLs, among other topics.
    
    WWW: https://github.com/profusion/sgqlc
    
    Sponsored by:   The FreeBSD Foundation
---
 devel/Makefile           |  1 +
 devel/py-sgqlc/Makefile  | 27 +++++++++++++++++++++++++++
 devel/py-sgqlc/distinfo  |  3 +++
 devel/py-sgqlc/pkg-descr |  3 +++
 4 files changed, 34 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 30ac758b0c2a..07e6ec207df2 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5861,6 +5861,7 @@
     SUBDIR += py-setuptools_scm_git_archive
     SUBDIR += py-sexpdata
     SUBDIR += py-sgmllib3k
+    SUBDIR += py-sgqlc
     SUBDIR += py-sh
     SUBDIR += py-shapely
     SUBDIR += py-shellingham
diff --git a/devel/py-sgqlc/Makefile b/devel/py-sgqlc/Makefile
new file mode 100644
index 000000000000..15ffd0946209
--- /dev/null
+++ b/devel/py-sgqlc/Makefile
@@ -0,0 +1,27 @@
+PORTNAME=	sgqlc
+DISTVERSION=	16.4
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	bofh@FreeBSD.org
+COMMENT=	Simple GraphQL Client
+WWW=		https://github.com/profusion/sgqlc
+
+LICENSE=	ISCL
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
+RUN_DEPENDS=	\
+		${PYTHON_PKGNAMEPREFIX}graphql-core>=3.2.4:devel/py-graphql-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}websocket-client>0:www/py-websocket-client@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517 unittest
+
+NO_ARCH=	yes
+
+TEST_WRKSRC=	${WRKSRC}/tests
+
+.include <bsd.port.mk>
diff --git a/devel/py-sgqlc/distinfo b/devel/py-sgqlc/distinfo
new file mode 100644
index 000000000000..b7d7f6cf6a3f
--- /dev/null
+++ b/devel/py-sgqlc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1728484708
+SHA256 (sgqlc-16.4.tar.gz) = a1a32db1c573edae229dbb61f6ae0a546aecceaaed2bac0652992a73e8c95017
+SIZE (sgqlc-16.4.tar.gz) = 242759
diff --git a/devel/py-sgqlc/pkg-descr b/devel/py-sgqlc/pkg-descr
new file mode 100644
index 000000000000..194006ccb284
--- /dev/null
+++ b/devel/py-sgqlc/pkg-descr
@@ -0,0 +1,3 @@
+This package provides a library composed by functions widely used in
+other GrimoireLab projects. These function deal with date handling,
+introspection, URIs/URLs, among other topics.