git: a423d42153f7 - main - devel/py-azure-mgmt-redhatopenshift: Update to 3.0.0

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

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

commit a423d42153f7600c2b1e17fb7691bfcd51feed70
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-21 17:01:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-21 17:12:16 +0000

    devel/py-azure-mgmt-redhatopenshift: Update to 3.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/redhatopenshift/azure-mgmt-redhatopenshift/CHANGELOG.md
---
 devel/py-azure-mgmt-redhatopenshift/Makefile        | 21 +++++++++++++--------
 devel/py-azure-mgmt-redhatopenshift/distinfo        |  6 +++---
 .../files/patch-pyproject.toml                      | 19 +++++++++++++++++++
 devel/py-azure-mgmt-redhatopenshift/pkg-descr       |  7 +++----
 4 files changed, 38 insertions(+), 15 deletions(-)

diff --git a/devel/py-azure-mgmt-redhatopenshift/Makefile b/devel/py-azure-mgmt-redhatopenshift/Makefile
index a90f61f56e96..1e5c9437b9c1 100644
--- a/devel/py-azure-mgmt-redhatopenshift/Makefile
+++ b/devel/py-azure-mgmt-redhatopenshift/Makefile
@@ -1,22 +1,27 @@
 PORTNAME=	azure-mgmt-redhatopenshift
-DISTVERSION=	1.4.0
-PORTREVISION=	1
+PORTVERSION=	3.0.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	azure_mgmt_redhatopenshift-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Microsoft Azure Red Hat Openshift Management Client Library for Python
-WWW=		https://pypi.org/project/azure-mgmt-redhatopenshift/
+WWW=		https://azure.github.io/azure-sdk-for-python/ \
+		https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/redhatopenshift/azure-mgmt-redhatopenshift \
+		https://github.com/Azure/azure-sdk-for-python
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-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}
+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}isodate>=0.6.1:devel/py-isodate@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}typing-extensions>=4.6.0:devel/py-typing-extensions@${PY_FLAVOR}
 
-USES=		azurepy python
-USE_PYTHON=	autoplist concurrent distutils
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-azure-mgmt-redhatopenshift/distinfo b/devel/py-azure-mgmt-redhatopenshift/distinfo
index 9d75cfdfc3e0..6bcac5e5fc24 100644
--- a/devel/py-azure-mgmt-redhatopenshift/distinfo
+++ b/devel/py-azure-mgmt-redhatopenshift/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1703610593
-SHA256 (azure-mgmt-redhatopenshift-1.4.0.tar.gz) = 04bd9ad8bd80c095afb3457e569486692f3ffc058ccb99baadd00f0c93dbac4a
-SIZE (azure-mgmt-redhatopenshift-1.4.0.tar.gz) = 201649
+TIMESTAMP = 1773841149
+SHA256 (azure_mgmt_redhatopenshift-3.0.0.tar.gz) = 4775c9bdf363238834da145e5f59f97683ab04f8ddbd250de45d45e33798327f
+SIZE (azure_mgmt_redhatopenshift-3.0.0.tar.gz) = 57828
diff --git a/devel/py-azure-mgmt-redhatopenshift/files/patch-pyproject.toml b/devel/py-azure-mgmt-redhatopenshift/files/patch-pyproject.toml
new file mode 100644
index 000000000000..646496601cbf
--- /dev/null
+++ b/devel/py-azure-mgmt-redhatopenshift/files/patch-pyproject.toml
@@ -0,0 +1,19 @@
+--- pyproject.toml.orig	2026-02-06 02:44:51 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 Redhatopenshift Managem
+     { name = "Microsoft Corporation", email = "azpysdkhelp@microsoft.com" },
+ ]
+ description = "Microsoft Azure Redhatopenshift 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-redhatopenshift/pkg-descr b/devel/py-azure-mgmt-redhatopenshift/pkg-descr
index 36dc91076194..32ffa506c49d 100644
--- a/devel/py-azure-mgmt-redhatopenshift/pkg-descr
+++ b/devel/py-azure-mgmt-redhatopenshift/pkg-descr
@@ -1,4 +1,3 @@
-This is the Microsoft Azure Management Core Library for Python
-
-Azure Resource Manager (ARM) is the next generation of management APIs that
-replace the old Azure Service Management (ASM).
+This is the Microsoft Azure Red Hat Openshift Management Client Library. This
+package has been tested with Python 3.8+. For a more complete view of Azure
+libraries, see the azure sdk python release.