sysutils/py-azure-cli: Update to 2.0.73
- Patches removed were incorporated upstream Changelog: https://pypi.org/project/azure-cli/2.0.73/ Reported by: portscout
This commit is contained in:
parent
1f3b4d98fd
commit
d4ad7503a0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=511911
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= azure-cli
|
||||
PORTVERSION= 2.0.72
|
||||
PORTVERSION= 2.0.73
|
||||
CATEGORIES= sysutils python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
@ -12,8 +12,8 @@ COMMENT= Microsoft Azure Command-Line Tools
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}azure-batch>=7.0:devel/py-azure-batch@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-cli-core>=2.0.72:sysutils/py-azure-cli-core@${PY_FLAVOR} \
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}azure-batch>=8.0:devel/py-azure-batch@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-cli-core>=2.0.73:sysutils/py-azure-cli-core@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-cli-telemetry>=1.0.2:sysutils/py-azure-cli-telemetry@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-cosmos>=3.0.2:devel/py-azure-cosmos@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-datalake-store>=0.0.45:devel/py-azure-datalake-store@${PY_FLAVOR} \
|
||||
@ -21,21 +21,22 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}azure-batch>=7.0:devel/py-azure-batch@${PY_F
|
||||
${PYTHON_PKGNAMEPREFIX}azure-graphrbac>=0.60.0:devel/py-azure-graphrbac@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-keyvault>=1.1:devel/py-azure-keyvault@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-advisor>=2.0.1:devel/py-azure-mgmt-advisor@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-apimanagement>=0.1.0:devel/py-azure-mgmt-apimanagement@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-applicationinsights>=0.1.1:devel/py-azure-mgmt-applicationinsights@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-appconfiguration>=0.1.0:devel/py-azure-mgmt-appconfiguration@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-authorization>=0.52.0:devel/py-azure-mgmt-authorization@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-batch>=6.0:devel/py-azure-mgmt-batch@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-batch>=7.0:devel/py-azure-mgmt-batch@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-batchai>=2.0:devel/py-azure-mgmt-batchai@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-billing>=0.2:devel/py-azure-mgmt-billing@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-botservice>=0.2.0:devel/py-azure-mgmt-botservice@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-cdn>=3.1:devel/py-azure-mgmt-cdn@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-cognitiveservices>=5.0.0:devel/py-azure-mgmt-cognitiveservices@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-compute>=6.0:devel/py-azure-mgmt-compute@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-compute>=7.0:devel/py-azure-mgmt-compute@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-consumption>=2.0:devel/py-azure-mgmt-consumption@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-containerinstance>=1.4:devel/py-azure-mgmt-containerinstance@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-containerregistry>=3.0.0.r5:devel/py-azure-mgmt-containerregistry@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-containerservice>=5.2:devel/py-azure-mgmt-containerservice@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-cosmosdb>=0.7.0:devel/py-azure-mgmt-cosmosdb@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-cosmosdb>=0.8.0:devel/py-azure-mgmt-cosmosdb@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-datalake-analytics>=0.2.1:devel/py-azure-mgmt-datalake-analytics@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-datalake-store>=0.5.0:devel/py-azure-mgmt-datalake-store@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-datamigration>=0.1.0:devel/py-azure-mgmt-datamigration@${PY_FLAVOR} \
|
||||
@ -69,7 +70,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}azure-batch>=7.0:devel/py-azure-batch@${PY_F
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-redis>=6.0:devel/py-azure-mgmt-redis@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-relay>=0.1.0:devel/py-azure-mgmt-relay@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-reservations>=0.3.1:devel/py-azure-mgmt-reservations@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-resource>=2.1:devel/py-azure-mgmt-resource@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-resource>=3.1:devel/py-azure-mgmt-resource@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-search>=2.0:devel/py-azure-mgmt-search@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-security>=0.1.0:devel/py-azure-mgmt-security@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}azure-mgmt-servicebus>=0.6.0:devel/py-azure-mgmt-servicebus@${PY_FLAVOR} \
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1567853924
|
||||
SHA256 (azure-cli-2.0.72.tar.gz) = d40fbadeff0957f4776df3dd50a6b7563927c74c3115111b086d1709d9cd9585
|
||||
SIZE (azure-cli-2.0.72.tar.gz) = 1018576
|
||||
TIMESTAMP = 1568330527
|
||||
SHA256 (azure-cli-2.0.73.tar.gz) = 500775ef323668264b315284b8534d744fe1b018818aa9de2c513e52dd30adae
|
||||
SIZE (azure-cli-2.0.73.tar.gz) = 1028533
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Part of
|
||||
# https://github.com/Azure/azure-cli/commit/b33944353f474a35cae113b1496e90822d2eb8c6
|
||||
--- azure/cli/command_modules/resource/_help.py.orig 2019-09-07 20:28:46 UTC
|
||||
+++ azure/cli/command_modules/resource/_help.py
|
||||
@@ -799,6 +799,19 @@ examples:
|
||||
"effect": "deny"
|
||||
}
|
||||
}'
|
||||
+ - name: Create a policy definition with mode. The mode 'Indexed' indicates the policy should be evaluated only for resource types that support tags and location.
|
||||
+ text: |
|
||||
+ az policy definition create --name TagsPolicyDefinition --subscription 'MySubscription' --mode Indexed --rules '{
|
||||
+ "if":
|
||||
+ {
|
||||
+ "field": "tags",
|
||||
+ "exists": "false"
|
||||
+ },
|
||||
+ "then":
|
||||
+ {
|
||||
+ "effect": "deny"
|
||||
+ }
|
||||
+ }'
|
||||
"""
|
||||
|
||||
helps['policy definition delete'] = """
|
@ -1,21 +0,0 @@
|
||||
# Part of
|
||||
# https://github.com/Azure/azure-cli/commit/b33944353f474a35cae113b1496e90822d2eb8c6
|
||||
--- azure/cli/command_modules/resource/_params.py.orig 2019-09-07 20:29:39 UTC
|
||||
+++ azure/cli/command_modules/resource/_params.py
|
||||
@@ -102,7 +102,6 @@ def load_arguments(self, _):
|
||||
c.argument('resource_group_name', arg_type=resource_group_name_type, help='the resource group where the policy will be applied')
|
||||
|
||||
with self.argument_context('policy definition', resource_type=ResourceType.MGMT_RESOURCE_POLICY) as c:
|
||||
- from azure.mgmt.resource.policy.models import PolicyMode
|
||||
c.argument('policy_definition_name', arg_type=existing_policy_definition_name_type)
|
||||
c.argument('rules', help='JSON formatted string or a path to a file with such content', type=file_type, completer=FilesCompleter())
|
||||
c.argument('display_name', help='Display name of policy definition.')
|
||||
@@ -110,7 +109,7 @@ def load_arguments(self, _):
|
||||
c.argument('params', help='JSON formatted string or a path to a file or uri with parameter definitions.', type=file_type, completer=FilesCompleter(), min_api='2016-12-01')
|
||||
c.argument('metadata', min_api='2017-06-01-preview', nargs='+', validator=validate_metadata, help='Metadata in space-separated key=value pairs.')
|
||||
c.argument('management_group', arg_type=management_group_name_type)
|
||||
- c.argument('mode', arg_type=get_enum_type(PolicyMode), options_list=['--mode', '-m'], help='Mode of the policy definition.', min_api='2016-12-01')
|
||||
+ c.argument('mode', options_list=['--mode', '-m'], help='Mode of the policy definition, e.g. All, Indexed. Please visit https://aka.ms/azure-policy-mode for more information.', min_api='2016-12-01')
|
||||
c.argument('subscription', arg_type=subscription_type)
|
||||
c.ignore('_subscription') # disable global subscription
|
||||
|
Loading…
Reference in New Issue
Block a user