Date: Thu, 9 Aug 2018 16:32:16 +0000 (UTC) From: David Naylor <dbn@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476789 - head/net-mgmt/py-msrestazure Message-ID: <201808091632.w79GWGi0032338@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dbn Date: Thu Aug 9 16:32:16 2018 New Revision: 476789 URL: https://svnweb.freebsd.org/changeset/ports/476789 Log: net-mgmt/py-msrestazure: update to 0.5.0 - Add LICENSE_FILE - py-keyring: remove unused dependecency (per setup.py) - Switch to using GitHub (i.e. caconical source) - Take over maintainership - ChangeLog: - Features: * Implementation is now using ADAL and not request-oauthlib. This allows more AD scenarios (like federated) * Add additionalInfo parsing for CloudError * Implement new LRO options of Autorest * Improve MSI for VM token polling algorithm * Allow ADAL 0.5.0 to 2.0.0 excluded as valid ADAL dependency * MSIAuthentication now uses IMDS endpoint if available * MSIAuthentication can be used in any environment that defines MSI_ENDPOINT env variable * CloudError now includes the "innererror" attribute to match OData v4 * Introduces ARMPolling implementation of Azure Resource Management LRO. * Improve MSIAuthentication to support User Assigned Identity * Add support for WebApp/Functions in MSIAuthentication classes * Add parse_resource_id(), resource_id(), validate_resource_id() to parse ARM ids * Retry strategy now reachs 24 seconds (instead of 12 seconds) * Add Managed Service Integrated (MSI) authentication * Add "timeout" to ServicePrincipalCredentials and UserPasswordCredentials * Threads created by AzureOperationPoller have now a name prefixed by "AzureOperationPoller" to help identify them * Add cloud definitions for public Azure, German Azure, China Azure and Azure Gov * Add get_cloud_from_metadata_endpoint to automatically create a Cloud object from an ARM endpoint * Add cloud_environment to all Credentials objects (except AdalAuthentication) * Add proxies parameters to ServicePrincipal and UserPassword credentials class * Add automatic Azure provider registration if needed - Breaking changes: These breaking changes applies to ServicePrincipalCredentials, UserPassCredentials, AADTokenCredentials * Remove "auth_uri" attribute and parameter. This was unused. * Remove "state" attribute. This was unused. * Remove "client" attribute. This was exposed by mistake and should have been internal. No replacement is possible. * Remove "token_uri" attribute and parameter. Use "cloud_environment" and "tenant" to impact the login url now. * Remove token caching based on "keyring". Token caching should be implemented using ADAL now. This implies: o Remove the "keyring" parameter o Remove the "clear_cached_token" method o Remove the "retrieve_session" method Modified: head/net-mgmt/py-msrestazure/Makefile head/net-mgmt/py-msrestazure/distinfo head/net-mgmt/py-msrestazure/pkg-descr Modified: head/net-mgmt/py-msrestazure/Makefile ============================================================================== --- head/net-mgmt/py-msrestazure/Makefile Thu Aug 9 16:16:14 2018 (r476788) +++ head/net-mgmt/py-msrestazure/Makefile Thu Aug 9 16:32:16 2018 (r476789) @@ -2,21 +2,24 @@ # $FreeBSD$ PORTNAME= msrestazure -PORTVERSION= 0.4.8 +DISTVERSIONPREFIX= v +DISTVERSION= 0.5.0 CATEGORIES= net-mgmt python -MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org +MAINTAINER= dbn@FreeBSD.org COMMENT= Azure-specific AutoRest swagger generator Python client runtime LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.md -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}keyring>0:security/py-keyring@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}msrest>0:net-mgmt/py-msrest@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}msrest>0:net-mgmt/py-msrest@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}adal>0:net-mgmt/py-adal@${PY_FLAVOR} -USES= python zip +USES= python USE_PYTHON= autoplist distutils +USE_GITHUB= yes +GH_ACCOUNT= Azure +GH_PROJECT= msrestazure-for-python .include <bsd.port.mk> Modified: head/net-mgmt/py-msrestazure/distinfo ============================================================================== --- head/net-mgmt/py-msrestazure/distinfo Thu Aug 9 16:16:14 2018 (r476788) +++ head/net-mgmt/py-msrestazure/distinfo Thu Aug 9 16:32:16 2018 (r476789) @@ -1,3 +1,3 @@ -TIMESTAMP = 1505102538 -SHA256 (msrestazure-0.4.8.zip) = efa2b8a23d77c79609ffdb80150194e19521aa69f67aa676ccfda18e3ddff46d -SIZE (msrestazure-0.4.8.zip) = 23832 +TIMESTAMP = 1533807711 +SHA256 (Azure-msrestazure-for-python-v0.5.0_GH0.tar.gz) = 22b394eb04167ffe75043ec4d910224583dc719c7f90e8dbb0ee688488122b5f +SIZE (Azure-msrestazure-for-python-v0.5.0_GH0.tar.gz) = 43770 Modified: head/net-mgmt/py-msrestazure/pkg-descr ============================================================================== --- head/net-mgmt/py-msrestazure/pkg-descr Thu Aug 9 16:16:14 2018 (r476788) +++ head/net-mgmt/py-msrestazure/pkg-descr Thu Aug 9 16:32:16 2018 (r476789) @@ -1,3 +1,3 @@ AutoRest swagger generator Python client runtime. Azure-specific module. -WWW: https://pypi.org/project/msrestazure/ +WWW: https://github.com/Azure/msrestazure-for-python
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808091632.w79GWGi0032338>