git: 1c00d9c834ca - main - devel/py-azure-mgmt-security: Update to 7.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Apr 2026 17:14:37 UTC
The branch main has been updated by sunpoet:

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

commit 1c00d9c834ca3ceb00bfb9f70a3bdb16dfa8bfa7
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-21 17:01:36 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-21 17:12:19 +0000

    devel/py-azure-mgmt-security: Update to 7.0.0
    
    - Update COMMENT
    - Update WWW
    - Add LICENSE_FILE
    - Convert to USE_PYTHON=pep517
    - Update pkg-descr
    
    Changes:        https://github.com/Azure/azure-sdk-for-python/releases
                    https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/security/azure-mgmt-security/CHANGELOG.md
---
 devel/py-azure-mgmt-security/Makefile  | 20 ++++++++++++--------
 devel/py-azure-mgmt-security/distinfo  |  6 +++---
 devel/py-azure-mgmt-security/pkg-descr |  7 +++----
 3 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/devel/py-azure-mgmt-security/Makefile b/devel/py-azure-mgmt-security/Makefile
index d313be6d9ffc..ad0ef1c3e8f5 100644
--- a/devel/py-azure-mgmt-security/Makefile
+++ b/devel/py-azure-mgmt-security/Makefile
@@ -1,22 +1,26 @@
 PORTNAME=	azure-mgmt-security
-DISTVERSION=	5.0.0
-PORTREVISION=	1
+PORTVERSION=	7.0.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Microsoft Azure Secutiry Center Management Client Library for Python
-WWW=		https://pypi.org/project/azure-mgmt-security/
+COMMENT=	Microsoft Azure Security Center Management Client Library for Python
+WWW=		https://azure.github.io/azure-sdk-for-python/ \
+		https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/security/azure-mgmt-security \
+		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-common>=1.1:www/py-azure-common@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}azure-mgmt-core>=1.3.2<2.0.0:devel/py-azure-mgmt-core@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}isodate>=0.6.1<1.0.0:devel/py-isodate@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}azure-mgmt-core>=1.3.2:devel/py-azure-mgmt-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}isodate>=0.6.1:devel/py-isodate@${PY_FLAVOR}
 
-USES=		azurepy python zip
-USE_PYTHON=	autoplist concurrent distutils
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-azure-mgmt-security/distinfo b/devel/py-azure-mgmt-security/distinfo
index 0af8976cfab9..1cc3b093169d 100644
--- a/devel/py-azure-mgmt-security/distinfo
+++ b/devel/py-azure-mgmt-security/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1696202142
-SHA256 (azure-mgmt-security-5.0.0.zip) = 38b03efe82c2344cea203fda95e6d00b7ac22782fa1c0b585cd0ea2c8ff3e702
-SIZE (azure-mgmt-security-5.0.0.zip) = 1121885
+TIMESTAMP = 1765293932
+SHA256 (azure-mgmt-security-7.0.0.tar.gz) = 5912eed7e9d3758fdca8d26e1dc26b41943dc4703208a1184266e2c252e1ad66
+SIZE (azure-mgmt-security-7.0.0.tar.gz) = 684730
diff --git a/devel/py-azure-mgmt-security/pkg-descr b/devel/py-azure-mgmt-security/pkg-descr
index ae95810b3b06..8561b0178ecc 100644
--- a/devel/py-azure-mgmt-security/pkg-descr
+++ b/devel/py-azure-mgmt-security/pkg-descr
@@ -1,4 +1,3 @@
-This is the Microsoft Azure Secutiry Center Management Client Library.
-
-Azure Resource Manager (ARM) is the next generation of management APIs that
-replace the old Azure Service Management (ASM).
+This is the Microsoft Azure Security Center Management Client Library. This
+package has been tested with Python 3.9+. For a more complete view of Azure
+libraries, see the azure sdk python release.