From owner-svn-ports-all@freebsd.org Thu Aug 9 16:32:18 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6DCF106BEBA; Thu, 9 Aug 2018 16:32:17 +0000 (UTC) (envelope-from dbn@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8BF4F7CA31; Thu, 9 Aug 2018 16:32:17 +0000 (UTC) (envelope-from dbn@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6E37E1BEB2; Thu, 9 Aug 2018 16:32:17 +0000 (UTC) (envelope-from dbn@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w79GWHO7032340; Thu, 9 Aug 2018 16:32:17 GMT (envelope-from dbn@FreeBSD.org) Received: (from dbn@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w79GWGi0032338; Thu, 9 Aug 2018 16:32:16 GMT (envelope-from dbn@FreeBSD.org) Message-Id: <201808091632.w79GWGi0032338@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dbn set sender to dbn@FreeBSD.org using -f From: David Naylor Date: Thu, 9 Aug 2018 16:32:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r476789 - head/net-mgmt/py-msrestazure X-SVN-Group: ports-head X-SVN-Commit-Author: dbn X-SVN-Commit-Paths: head/net-mgmt/py-msrestazure X-SVN-Commit-Revision: 476789 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2018 16:32:18 -0000 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 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