Commit graph

7 commits

Author SHA1 Message Date
David Naylor
a3b2d6a954 net-mgmt/py-msrestazure: update to 0.5.1
- Switch to PyPi source
 - PyPi source does not provide LICENSE file
 - Change Log:
   - Bugfixes:
     - Fix CloudError if response and error message are provided at the same
       time #114
     - Fix LRO polling if last call is an empty Location (Autorest.Python 3.x
        only) #120
   - Features:
     - Altered resource id parsing logic to allow for resource group IDs #117
2018-11-02 19:10:18 +00:00
David Naylor
ca4c4444b3 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
2018-08-09 16:32:16 +00:00
Mathieu Arnold
4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00
Jochen Neumeister
2b890e6be3 Back to pool
Approved by:	xmj via irc
2018-06-09 07:07:30 +00:00
Dmitry Marakasov
c637402081 Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.

Approved by:	portmgr blanket, mat
2018-04-25 16:42:37 +00:00
Mathieu Arnold
551be3c723 Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored.  They will
  automatically get flavors (py27, py34, py35, py36) depending on what
  versions they support.

  There is also a USE_PYTHON=flavors for ports that do not use distutils
  but need FLAVORS to be set.  A USE_PYTHON=noflavors can be set if
  using distutils but flavors are not wanted.

  A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
  added to cope with Python ports that did not have the Python
  PKGNAMEPREFIX but are flavored.

  USES=python now also exports a PY_FLAVOR variable that contains the
  current python flavor.  It can be used in dependency lines when the
  port itself is not python flavored.  For example, deskutils/calibre.

  By default, all the flavors are generated.  To only generate flavors
  for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
  BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.

  In all the ports with Python dependencies, the *_DEPENDS entries MUST
  end with the flavor so that the framework knows which to build/use.
  This is done by appending '@${PY_FLAVOR}' after the origin (or
  @${FLAVOR} if in a Python module with Python flavors, as the content
  will be the same).  For example:

    RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}

PR:		223071
Reviewed by:	portmgr, python
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D12464
2017-11-30 15:50:30 +00:00
Tobias C. Berner
04319b4176 New port: net-mgmt/py-msrestazure: Azure-specific AutoRest swagger generator Python
PR:		222211
Submitted by:	xmj
2017-09-30 11:09:19 +00:00