1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

sysutils/py-azure-cli: Update to 2.0.81

Changelog:	https://pypi.org/project/azure-cli/2.0.81/
Reported by:	portscout
This commit is contained in:
Danilo G. Baio 2020-02-10 22:39:15 +00:00
parent ebd1d0d016
commit 266bf590e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=525763
3 changed files with 15 additions and 15 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= azure-cli
PORTVERSION= 2.0.80
PORTVERSION= 2.0.81
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1579218897
SHA256 (azure-cli-2.0.80.tar.gz) = cbc17396e5e6cb58bddedb1b125daabd8112557f732c35a4d924378e5e78f630
SIZE (azure-cli-2.0.80.tar.gz) = 1155965
TIMESTAMP = 1581281581
SHA256 (azure-cli-2.0.81.tar.gz) = 85de3dc3973be295d1bc09359bbbd133fde73a370f10ec24d9c152b4ff519467
SIZE (azure-cli-2.0.81.tar.gz) = 1187545

View File

@ -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')