summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanilo G. Baio <dbaio@FreeBSD.org>2019-09-13 00:18:00 +0000
committerDanilo G. Baio <dbaio@FreeBSD.org>2019-09-13 00:18:00 +0000
commitd4ad7503a06b67e95132df0564e88b69aa66b9c6 (patch)
tree7b0f2ed04763d9aa6b49598ac6c5e0ac003b1ae1
parentsysutils/py-azure-cli-core: Update to 2.0.73 (diff)
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
Notes
Notes: svn path=/head/; revision=511911
-rw-r--r--sysutils/py-azure-cli/Makefile15
-rw-r--r--sysutils/py-azure-cli/distinfo6
-rw-r--r--sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___help.py24
-rw-r--r--sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___params.py21
4 files changed, 11 insertions, 55 deletions
diff --git a/sysutils/py-azure-cli/Makefile b/sysutils/py-azure-cli/Makefile
index 967d1ce5c47c..35b425502455 100644
--- a/sysutils/py-azure-cli/Makefile
+++ b/sysutils/py-azure-cli/Makefile
@@ -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} \
diff --git a/sysutils/py-azure-cli/distinfo b/sysutils/py-azure-cli/distinfo
index 396ecf1a66bf..df9cd640d2a7 100644
--- a/sysutils/py-azure-cli/distinfo
+++ b/sysutils/py-azure-cli/distinfo
@@ -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
diff --git a/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___help.py b/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___help.py
deleted file mode 100644
index f3fd7d00e436..000000000000
--- a/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___help.py
+++ /dev/null
@@ -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'] = """
diff --git a/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___params.py b/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___params.py
deleted file mode 100644
index 4d83465381a4..000000000000
--- a/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_resource___params.py
+++ /dev/null
@@ -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
-