diff options
| author | Danilo G. Baio <dbaio@FreeBSD.org> | 2020-02-10 22:39:15 +0000 |
|---|---|---|
| committer | Danilo G. Baio <dbaio@FreeBSD.org> | 2020-02-10 22:39:15 +0000 |
| commit | 266bf590e7288dbb2bb055db228d44c908a487f4 (patch) | |
| tree | 69e35bd4241ffc8daf9d153d1e445d0d75da899a /sysutils/py-azure-cli/files | |
| parent | sysutils/py-azure-cli-core: Update to 2.0.81 (diff) | |
sysutils/py-azure-cli: Update to 2.0.81
Changelog: https://pypi.org/project/azure-cli/2.0.81/
Reported by: portscout
Notes
Notes:
svn path=/head/; revision=525763
Diffstat (limited to 'sysutils/py-azure-cli/files')
| -rw-r--r-- | sysutils/py-azure-cli/files/patch-azure_cli_command__modules_storage_azcopy_util.py | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_storage_azcopy_util.py b/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_storage_azcopy_util.py index 676bcf4e35a4..647ea116904a 100644 --- a/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_storage_azcopy_util.py +++ b/sysutils/py-azure-cli/files/patch-azure_cli_command__modules_storage_azcopy_util.py @@ -1,15 +1,15 @@ ---- azure/cli/command_modules/storage/azcopy/util.py.orig 2019-12-04 23:30:55 UTC +--- azure/cli/command_modules/storage/azcopy/util.py.orig 2020-01-31 12:42:39 UTC +++ azure/cli/command_modules/storage/azcopy/util.py -@@ -41,6 +41,8 @@ class AzCopy(object): - file_url = base_url.format('linux', 'tar.gz') - elif self.system == 'Darwin': - file_url = base_url.format('darwin', 'zip') -+ elif self.system == 'FreeBSD': -+ raise CLIError('Azcopy ({}) binary not available, follow instructions at https://wiki.freebsd.org/Ports/sysutils/py-azure-cli'.format(self.system)) - else: - raise CLIError('Azcopy ({}) does not exist.'.format(self.system)) - try: -@@ -163,7 +165,7 @@ def _get_default_install_location(): +@@ -50,6 +50,8 @@ class AzCopy(object): + file_url = base_url.format('linux', 'amd64', AZCOPY_VERSION, 'tar.gz') + elif self.system == 'Darwin': + file_url = base_url.format('darwin', 'amd64', AZCOPY_VERSION, 'zip') ++ elif self.system == 'FreeBSD': ++ raise CLIError('Azcopy ({}) binary not available, follow instructions at https://wiki.freebsd.org/Ports/sysutils/py-azure-cli'.format(self.system)) + else: + raise CLIError('Azcopy ({}) does not exist.'.format(self.system)) + try: +@@ -180,7 +182,7 @@ def _get_default_install_location(): if not home_dir: return None install_location = os.path.join(home_dir, r'.azcopy\azcopy.exe') |
