pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-msgraph-core: new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Fri Sep 16 00:32:44 2022 +0200
Changeset:	98e4e4a2e4d45bffd0ba36f69efbf70b79b3b652

Modified Files:
	Makefile
	py-parsedmarc/Makefile
Added Files:
	py-msgraph-core/DESCR
	py-msgraph-core/Makefile
	py-msgraph-core/PLIST
	py-msgraph-core/distinfo

Log Message:
py-msgraph-core: new package

The Microsoft Graph Core Python client library is a lightweight
wrapper around the Microsoft Graph API. It provides functionality
to create clients with desired configuration and middleware.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=98e4e4a2e4d45bffd0ba36f69efbf70b79b3b652

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                 |  1 +
 py-msgraph-core/DESCR    |  3 +++
 py-msgraph-core/Makefile | 27 +++++++++++++++++++++++++++
 py-msgraph-core/PLIST    | 44 ++++++++++++++++++++++++++++++++++++++++++++
 py-msgraph-core/distinfo |  5 +++++
 py-parsedmarc/Makefile   |  2 +-
 6 files changed, 81 insertions(+), 1 deletion(-)

diffs:
diff --git a/Makefile b/Makefile
index 5c22b99585..f7e4b3d837 100644
--- a/Makefile
+++ b/Makefile
@@ -4191,6 +4191,7 @@ SUBDIR+=	py-msal
 SUBDIR+=	py-msal-extensions
 SUBDIR+=	py-msdas
 SUBDIR+=	py-msedge-selenium-tools
+SUBDIR+=	py-msgraph-core
 SUBDIR+=	py-msrest
 SUBDIR+=	py-mssql2
 SUBDIR+=	py-msumastro
diff --git a/py-msgraph-core/DESCR b/py-msgraph-core/DESCR
new file mode 100644
index 0000000000..afc26aa761
--- /dev/null
+++ b/py-msgraph-core/DESCR
@@ -0,0 +1,3 @@
+The Microsoft Graph Core Python client library is a lightweight
+wrapper around the Microsoft Graph API. It provides functionality
+to create clients with desired configuration and middleware.
diff --git a/py-msgraph-core/Makefile b/py-msgraph-core/Makefile
new file mode 100644
index 0000000000..ded140fe70
--- /dev/null
+++ b/py-msgraph-core/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD$
+
+DISTNAME=	msgraph-core-0.2.2
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	security www python
+MASTER_SITES=	${MASTER_SITE_PYPI:=m/msgraph-core/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/microsoftgraph/msgraph-sdk-python-core
+COMMENT=	Lightweight wrapper around the Microsoft Graph API
+LICENSE=	mit
+
+DEPENDS+=	${PYPKGPREFIX}-azure-core-[0-9]*:../../wip/py-azure-core
+DEPENDS+=	${PYPKGPREFIX}-azure-identity-[0-9]*:../../wip/py-azure-identity
+DEPENDS+=	${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+DEPENDS+=	${PYPKGPREFIX}-responses-[0-9]*:../../net/py-responses
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES=	# none
+
+# needs credentials for testing; without:
+# 22 failed, 37 passed
+do-test:
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-msgraph-core/PLIST b/py-msgraph-core/PLIST
new file mode 100644
index 0000000000..d412bee57e
--- /dev/null
+++ b/py-msgraph-core/PLIST
@@ -0,0 +1,44 @@
+@comment $NetBSD$
+${PYSITELIB}/msgraph/__init__.py
+${PYSITELIB}/msgraph/__init__.pyc
+${PYSITELIB}/msgraph/__init__.pyo
+${PYSITELIB}/msgraph/core/__init__.py
+${PYSITELIB}/msgraph/core/__init__.pyc
+${PYSITELIB}/msgraph/core/__init__.pyo
+${PYSITELIB}/msgraph/core/_client_factory.py
+${PYSITELIB}/msgraph/core/_client_factory.pyc
+${PYSITELIB}/msgraph/core/_client_factory.pyo
+${PYSITELIB}/msgraph/core/_constants.py
+${PYSITELIB}/msgraph/core/_constants.pyc
+${PYSITELIB}/msgraph/core/_constants.pyo
+${PYSITELIB}/msgraph/core/_enums.py
+${PYSITELIB}/msgraph/core/_enums.pyc
+${PYSITELIB}/msgraph/core/_enums.pyo
+${PYSITELIB}/msgraph/core/_graph_client.py
+${PYSITELIB}/msgraph/core/_graph_client.pyc
+${PYSITELIB}/msgraph/core/_graph_client.pyo
+${PYSITELIB}/msgraph/core/middleware/__init__.py
+${PYSITELIB}/msgraph/core/middleware/__init__.pyc
+${PYSITELIB}/msgraph/core/middleware/__init__.pyo
+${PYSITELIB}/msgraph/core/middleware/abc_token_credential.py
+${PYSITELIB}/msgraph/core/middleware/abc_token_credential.pyc
+${PYSITELIB}/msgraph/core/middleware/abc_token_credential.pyo
+${PYSITELIB}/msgraph/core/middleware/authorization.py
+${PYSITELIB}/msgraph/core/middleware/authorization.pyc
+${PYSITELIB}/msgraph/core/middleware/authorization.pyo
+${PYSITELIB}/msgraph/core/middleware/middleware.py
+${PYSITELIB}/msgraph/core/middleware/middleware.pyc
+${PYSITELIB}/msgraph/core/middleware/middleware.pyo
+${PYSITELIB}/msgraph/core/middleware/request_context.py
+${PYSITELIB}/msgraph/core/middleware/request_context.pyc
+${PYSITELIB}/msgraph/core/middleware/request_context.pyo
+${PYSITELIB}/msgraph/core/middleware/retry.py
+${PYSITELIB}/msgraph/core/middleware/retry.pyc
+${PYSITELIB}/msgraph/core/middleware/retry.pyo
+${PYSITELIB}/msgraph/core/middleware/telemetry.py
+${PYSITELIB}/msgraph/core/middleware/telemetry.pyc
+${PYSITELIB}/msgraph/core/middleware/telemetry.pyo
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff --git a/py-msgraph-core/distinfo b/py-msgraph-core/distinfo
new file mode 100644
index 0000000000..818999f88a
--- /dev/null
+++ b/py-msgraph-core/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (msgraph-core-0.2.2.tar.gz) = 61325b44898deb948dc7730a57dbf18f0d9c2d4bd922c7b91d7f082e92e3fadf
+SHA512 (msgraph-core-0.2.2.tar.gz) = 14beb6f4b19033fd9027704ea68c37b65a296e7e346ecc8051e1aea0ac7f8f9012539a406fb9205455a2d1a5059ce8969de2edc56d04df3e95ad1284f166c3ab
+Size (msgraph-core-0.2.2.tar.gz) = 49258 bytes
diff --git a/py-parsedmarc/Makefile b/py-parsedmarc/Makefile
index d102cdf999..bee58f8924 100644
--- a/py-parsedmarc/Makefile
+++ b/py-parsedmarc/Makefile
@@ -26,7 +26,7 @@ DEPENDS+=	${PYPKGPREFIX}-kafka-python>=1.4.4:../../devel/py-kafka-python
 DEPENDS+=	${PYPKGPREFIX}-tqdm>=4.31.1:../../misc/py-tqdm
 DEPENDS+=	${PYPKGPREFIX}-lxml>=4.4.0:../../textproc/py-lxml
 DEPENDS+=	${PYPKGPREFIX}-boto3>=1.16.63:../../net/py-boto3
-#DEPENDS+=	# TODO: msgraph-core>=0.2.2
+DEPENDS+=	${PYPKGPREFIX}-msgraph-core>=0.2.2:../../wip/py-msgraph-core
 DEPENDS+=	${PYPKGPREFIX}-azure-identity>=1.9.0:../../wip/py-azure-identity
 DEPENDS+=	${PYPKGPREFIX}-google-api-core>=2.4.0:../../devel/py-google-api-core
 DEPENDS+=	${PYPKGPREFIX}-google-api-core>=0:../../devel/py-google-api-core


Home | Main Index | Thread Index | Old Index