aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-12-01 20:15:46 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-12-02 12:04:13 +0000
commit3eec5c9dae9d18d69890b8b5bf18c74211cc83a3 (patch)
treec35aed8b16ececc1bdfb87777f41ff3b04e7b51f
parent4380448ba09eabca637de6d8a4ae5e973bbac71f (diff)
devel/py-azure-monitor-query: Add py-azure-monitor-query 2.0.0
The Azure Monitor Query client library is used to execute read-only queries against Azure Monitor's Logs data platform. Logs - Collects and organizes log and performance data from monitored resources. Data from different sources such as platform logs from Azure services, log and performance data from virtual machines agents, and usage and performance data from apps can be consolidated into a single Azure Log Analytics workspace. The various data types can be analyzed together using the Kusto Query Language.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-azure-monitor-query/Makefile28
-rw-r--r--devel/py-azure-monitor-query/distinfo3
-rw-r--r--devel/py-azure-monitor-query/pkg-descr8
4 files changed, 40 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3edde152ea46..a5b60d1905d7 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4562,6 +4562,7 @@
SUBDIR += py-azure-mgmt-synapse
SUBDIR += py-azure-mgmt-trafficmanager
SUBDIR += py-azure-mgmt-web
+ SUBDIR += py-azure-monitor-query
SUBDIR += py-azure-multiapi-storage
SUBDIR += py-azure-storage-blob
SUBDIR += py-azure-storage-common
diff --git a/devel/py-azure-monitor-query/Makefile b/devel/py-azure-monitor-query/Makefile
new file mode 100644
index 000000000000..08ef06cd4e7f
--- /dev/null
+++ b/devel/py-azure-monitor-query/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= azure-monitor-query
+PORTVERSION= 2.0.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= azure_monitor_query-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Microsoft Corporation Azure Monitor Query Client Library for Python
+WWW= https://azure.github.io/azure-sdk-for-python/ \
+ https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/monitor/azure-monitor-query \
+ https://github.com/Azure/azure-sdk-for-python
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}azure-core>=1.30.0:devel/py-azure-core@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}isodate>=0.6.1:devel/py-isodate@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.0:devel/py-typing-extensions@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-azure-monitor-query/distinfo b/devel/py-azure-monitor-query/distinfo
new file mode 100644
index 000000000000..7f1c20d6db57
--- /dev/null
+++ b/devel/py-azure-monitor-query/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1764510864
+SHA256 (azure_monitor_query-2.0.0.tar.gz) = 7b05f2fcac4fb67fc9f77a7d4c5d98a0f3099fb73b57c69ec1b080773994671b
+SIZE (azure_monitor_query-2.0.0.tar.gz) = 86658
diff --git a/devel/py-azure-monitor-query/pkg-descr b/devel/py-azure-monitor-query/pkg-descr
new file mode 100644
index 000000000000..b7dc2c8ea5c1
--- /dev/null
+++ b/devel/py-azure-monitor-query/pkg-descr
@@ -0,0 +1,8 @@
+The Azure Monitor Query client library is used to execute read-only queries
+against Azure Monitor's Logs data platform.
+
+Logs - Collects and organizes log and performance data from monitored resources.
+Data from different sources such as platform logs from Azure services, log and
+performance data from virtual machines agents, and usage and performance data
+from apps can be consolidated into a single Azure Log Analytics workspace. The
+various data types can be analyzed together using the Kusto Query Language.