git: 0638f2157bdb - main - devel/py-azure-mgmt-web: Update to 10.1.0

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

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

commit 0638f2157bdb260702bdac13ab36dfaa90a1d274
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-21 17:01:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-21 17:12:24 +0000

    devel/py-azure-mgmt-web: Update to 10.1.0
    
    - Update COMMENT
    - Update WWW
    - Add LICENSE_FILE
    - Update version requirement of RUN_DEPENDS
    - Sort RUN_DEPENDS
    - 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/appservice/azure-mgmt-web/CHANGELOG.md
---
 devel/py-azure-mgmt-web/Makefile                   | 23 +++++++++++++---------
 devel/py-azure-mgmt-web/distinfo                   |  6 +++---
 devel/py-azure-mgmt-web/files/patch-pyproject.toml | 19 ++++++++++++++++++
 devel/py-azure-mgmt-web/pkg-descr                  |  7 +++----
 4 files changed, 39 insertions(+), 16 deletions(-)

diff --git a/devel/py-azure-mgmt-web/Makefile b/devel/py-azure-mgmt-web/Makefile
index a61d2021b645..d1f0e2e34f49 100644
--- a/devel/py-azure-mgmt-web/Makefile
+++ b/devel/py-azure-mgmt-web/Makefile
@@ -1,22 +1,27 @@
 PORTNAME=	azure-mgmt-web
-PORTVERSION=	7.0.0
-PORTREVISION=	1
+PORTVERSION=	10.1.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	azure_mgmt_web-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Microsoft Azure Web Apps Management Client Library for Python
-WWW=		https://pypi.org/project/azure-mgmt-web/
+COMMENT=	Microsoft Azure Web 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/appservice/azure-mgmt-web \
+		https://github.com/Azure/azure-sdk-for-python
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}msrest>=0.6.21:net-mgmt/py-msrest@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}azure-common>=1.1:www/py-azure-common@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}azure-mgmt-core>=1.3.1<2.0.0:devel/py-azure-mgmt-core@${PY_FLAVOR}
+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-mgmt-core>=1.6.0:devel/py-azure-mgmt-core@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}msrest>=0.7.1:net-mgmt/py-msrest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.0:devel/py-typing-extensions@${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-web/distinfo b/devel/py-azure-mgmt-web/distinfo
index 9f228216dce0..4cc5209f387a 100644
--- a/devel/py-azure-mgmt-web/distinfo
+++ b/devel/py-azure-mgmt-web/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1659804197
-SHA256 (azure-mgmt-web-7.0.0.zip) = 5afc8d81f8a5884b7aa9ac2acbc2def1e89f871bac324a196dfe987326354810
-SIZE (azure-mgmt-web-7.0.0.zip) = 4260048
+TIMESTAMP = 1765296938
+SHA256 (azure_mgmt_web-10.1.0.tar.gz) = 26d3594bbe1b30589b72922c35855bc5b74c151f0224147a60d1a75234859226
+SIZE (azure_mgmt_web-10.1.0.tar.gz) = 573655
diff --git a/devel/py-azure-mgmt-web/files/patch-pyproject.toml b/devel/py-azure-mgmt-web/files/patch-pyproject.toml
new file mode 100644
index 000000000000..e6cb6c0ded14
--- /dev/null
+++ b/devel/py-azure-mgmt-web/files/patch-pyproject.toml
@@ -0,0 +1,19 @@
+--- pyproject.toml.orig	2025-11-17 08:31:48 UTC
++++ pyproject.toml
+@@ -1,6 +1,6 @@ requires = [
+ [build-system]
+ requires = [
+-    "setuptools>=77.0.3",
++    "setuptools>=61",
+     "wheel",
+ ]
+ build-backend = "setuptools.build_meta"
+@@ -11,7 +11,7 @@ description = "Microsoft Azure Web Management Client L
+     { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" },
+ ]
+ description = "Microsoft Azure Web Management Client Library for Python"
+-license = "MIT"
++license = { text = "MIT" }
+ classifiers = [
+     "Development Status :: 5 - Production/Stable",
+     "Programming Language :: Python",
diff --git a/devel/py-azure-mgmt-web/pkg-descr b/devel/py-azure-mgmt-web/pkg-descr
index 40488bb77326..c013d21b379a 100644
--- a/devel/py-azure-mgmt-web/pkg-descr
+++ b/devel/py-azure-mgmt-web/pkg-descr
@@ -1,4 +1,3 @@
-This is the Microsoft Azure Web Apps 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 Web Apps 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.