Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chromebrew
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
chromebrew
Commits
410fe7f0
Commit
410fe7f0
authored
May 26, 2018
by
Chris Thurber
Committed by
GitHub
May 26, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2388 from uberhacker/add-oci-package
Add oci package
parents
274ea363
e029e7ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
packages/oci.rb
packages/oci.rb
+41
-0
No files found.
packages/oci.rb
0 → 100644
View file @
410fe7f0
require
'package'
class
Oci
<
Package
description
'Command Line Interface for Oracle Cloud Infrastructure'
homepage
'https://github.com/oracle/oci-cli'
version
'2.4.23'
source_url
'https://github.com/oracle/oci-cli/releases/download/v2.4.23/oci-cli-2.4.23.zip'
source_sha256
'84e6b312497c891144a0c32068097226c396a5a2467ebef3d00f55eb91228863'
binary_url
({
i686:
'https://dl.bintray.com/chromebrew/chromebrew/oci-2.4.23-chromeos-i686.tar.xz'
,
x86_64:
'https://dl.bintray.com/chromebrew/chromebrew/oci-2.4.23-chromeos-x86_64.tar.xz'
,
})
binary_sha256
({
i686:
'541ead165b4ff71b8bea745779f68057a6f79b67da838369a8d9a94ed22b66b6'
,
x86_64:
'c99356e8373dde7f00b3a24351e0eacdaf2037b47d30f52fedfc7c2233a2300b'
,
})
depends_on
'python3'
depends_on
'virtualenv'
def
self
.
install
system
"pip3 install setuptools"
system
"pip3 install oci_cli-*-py2.py3-none-any.whl --root
#{
CREW_DEST_DIR
}
--prefix
#{
CREW_PREFIX
}
"
system
"pip3 install oci_cli --root
#{
CREW_DEST_DIR
}
--prefix
#{
CREW_PREFIX
}
"
system
"pip3 uninstall --yes setuptools"
end
def
self
.
postinstall
puts
puts
"To complete the installation, setup a virtualenvs directory:"
.
lightblue
puts
puts
"mkdir ~/virtualenvs"
.
lightblue
puts
"virtualenv ~/virtualenvs/testenv"
.
lightblue
puts
puts
"Replace 'testenv' with the name of the environment you want to create."
.
lightblue
puts
puts
"For more information, see https://docs.us-phoenix-1.oraclecloud.com/Content/API/SDKDocs/cliusing.htm."
.
lightblue
puts
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment