Skip site navigation (1)Skip section navigation (2)



index | | raw e-mail

    devel/py-azure-mgmt-authorization: Convert to USE_PYTHON=pep517
    
    - Update WWW
    - Add LICENSE_FILE
    - Update version requirement of RUN_DEPENDS
    - Sort RUN_DEPENDS
    - Update pkg-descr
    - Bump PORTREVISION for package change
---
 devel/py-azure-mgmt-authorization/Makefile  | 21 ++++++++++++++-------
 devel/py-azure-mgmt-authorization/distinfo  |  6 +++---
 devel/py-azure-mgmt-authorization/pkg-descr |  7 +++----
 3 files changed, 20 insertions(+), 14 deletions(-)

diff --git a/devel/py-azure-mgmt-authorization/Makefile b/devel/py-azure-mgmt-authorization/Makefile
index 0391654d353a..666cb45b09a3 100644
--- a/devel/py-azure-mgmt-authorization/Makefile
+++ b/devel/py-azure-mgmt-authorization/Makefile
@@ -1,22 +1,29 @@
 PORTNAME=	azure-mgmt-authorization
-PORTVERSION=	4.0.0
-PORTREVISION=	1
+DISTVERSION=	5.0.0b1
+PORTREVISION=	2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	azure_mgmt_authorization-${DISTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Microsoft Azure Authorization Management Client Library for Python
-WWW=		https://pypi.org/project/azure-mgmt-authorization/
+WWW=		https://azure.github.io/azure-sdk-for-python/ \
+		https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/authorization/azure-mgmt-authorization \
+		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.5.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 zip
-USE_PYTHON=	autoplist concurrent distutils
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
diff --git a/devel/py-azure-mgmt-authorization/distinfo b/devel/py-azure-mgmt-authorization/distinfo
index 8dbb1bbbefab..08c0016ff407 100644
--- a/devel/py-azure-mgmt-authorization/distinfo
+++ b/devel/py-azure-mgmt-authorization/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1696202685
-SHA256 (azure-mgmt-authorization-4.0.0.zip) = 69b85abc09ae64fc72975bd43431170d8c7eb5d166754b98aac5f3845de57dc4
-SIZE (azure-mgmt-authorization-4.0.0.zip) = 1134795
+TIMESTAMP = 1765482645
+SHA256 (azure_mgmt_authorization-5.0.0b1.tar.gz) = 2b96eab3a61ef9dd84776a476482e82726013bfe110262d90619685b235e5737
+SIZE (azure_mgmt_authorization-5.0.0b1.tar.gz) = 144029
diff --git a/devel/py-azure-mgmt-authorization/pkg-descr b/devel/py-azure-mgmt-authorization/pkg-descr
index 769b528b52e5..8b45c4b3e224 100644
--- a/devel/py-azure-mgmt-authorization/pkg-descr
+++ b/devel/py-azure-mgmt-authorization/pkg-descr
@@ -1,4 +1,3 @@
-This is the Microsoft Azure Authorization 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 Authorization 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.


home | help