FreeBSD Bugzilla – Attachment 209707 Details for
Bug 242391
sysutils/py-azure-cli: azcopy module doesn't grok FreeBSD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-azure-cli-azcopy.patch
py-azure-cli-azcopy.patch (text/plain), 2.21 KB, created by
Danilo G. Baio
on 2019-12-05 00:18:45 UTC
(
hide
)
Description:
py-azure-cli-azcopy.patch
Filename:
MIME Type:
Creator:
Danilo G. Baio
Created:
2019-12-05 00:18:45 UTC
Size:
2.21 KB
patch
obsolete
>Index: sysutils/py-azure-cli/Makefile >=================================================================== >--- sysutils/py-azure-cli/Makefile (revisão 519050) >+++ sysutils/py-azure-cli/Makefile (cópia de trabalho) >@@ -2,6 +2,7 @@ > > PORTNAME= azure-cli > PORTVERSION= 2.0.77 >+PORTREVISION= 1 > CATEGORIES= sysutils python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >Index: sysutils/py-azure-cli/files/patch-azure_cli_command__modules_storage_azcopy_util.py >=================================================================== >--- sysutils/py-azure-cli/files/patch-azure_cli_command__modules_storage_azcopy_util.py (nonexistent) >+++ sysutils/py-azure-cli/files/patch-azure_cli_command__modules_storage_azcopy_util.py (cópia de trabalho) >@@ -0,0 +1,20 @@ >+--- azure/cli/command_modules/storage/azcopy/util.py.orig 2019-12-04 23:30:55 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(): >+ if not home_dir: >+ return None >+ install_location = os.path.join(home_dir, r'.azcopy\azcopy.exe') >+- elif system in ('Linux', 'Darwin'): >++ elif system in ('Linux', 'Darwin', 'FreeBSD'): >+ install_location = os.path.expanduser(os.path.join('~', 'bin/azcopy')) >+ else: >+ install_location = None > >Property changes on: sysutils/py-azure-cli/files/patch-azure_cli_command__modules_storage_azcopy_util.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242391
: 209707