git: cac9fec9fdec - main - www/py-azure-search: New port: Microsoft Azure Cognitive Search Client Library for Python

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 09 Jul 2026 16:35:43 UTC
The branch main has been updated by yuri:

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

commit cac9fec9fdecc59f327551bfd23a437787e0a86f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-09 16:19:28 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-09 16:35:37 +0000

    www/py-azure-search: New port: Microsoft Azure Cognitive Search Client Library for Python
---
 devel/Makefile                  |  1 +
 devel/py-azure-search/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-azure-search/distinfo  |  3 +++
 devel/py-azure-search/pkg-descr |  4 ++++
 4 files changed, 32 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 9701c06c070b..82af90ff3b8c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4653,6 +4653,7 @@
     SUBDIR += py-azure-monitor-opentelemetry-exporter
     SUBDIR += py-azure-monitor-query
     SUBDIR += py-azure-multiapi-storage
+    SUBDIR += py-azure-search
     SUBDIR += py-azure-storage-blob
     SUBDIR += py-azure-storage-common
     SUBDIR += py-azure-storage-file-datalake
diff --git a/devel/py-azure-search/Makefile b/devel/py-azure-search/Makefile
new file mode 100644
index 000000000000..02c29cc87340
--- /dev/null
+++ b/devel/py-azure-search/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	azure-search
+PORTVERSION=	1.0.0b2
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Microsoft Azure Cognitive Search Client Library for Python
+WWW=		https://github.com/Azure/azure-sdk-for-python/tree/master/sdk/search/azure-search
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+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.2.2:devel/py-azure-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}msrest>=0.6.10:net-mgmt/py-msrest@${PY_FLAVOR}
+
+USES=		python zip
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-azure-search/distinfo b/devel/py-azure-search/distinfo
new file mode 100644
index 000000000000..7d5353da2477
--- /dev/null
+++ b/devel/py-azure-search/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1783066311
+SHA256 (azure-search-1.0.0b2.zip) = 49cbb1937b2e256f6631d467f62f8a1c94a14c5fed84f6625d24bc7b210a25d4
+SIZE (azure-search-1.0.0b2.zip) = 80702
diff --git a/devel/py-azure-search/pkg-descr b/devel/py-azure-search/pkg-descr
new file mode 100644
index 000000000000..d13f1ac43601
--- /dev/null
+++ b/devel/py-azure-search/pkg-descr
@@ -0,0 +1,4 @@
+Azure Search is the Microsoft Azure Cognitive Search client library
+for Python. It provides APIs for creating and managing search indexes,
+uploading documents, and executing search queries against Azure
+Cognitive Search services.