mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-11 00:18:06 -05:00
oci-cli and oci sdk
This commit is contained in:
@@ -1,42 +0,0 @@
|
||||
require 'package'
|
||||
|
||||
class Oci < Package
|
||||
description 'Command Line Interface for Oracle Cloud Infrastructure'
|
||||
homepage 'https://github.com/oracle/oci-cli'
|
||||
version '2.4.23'
|
||||
license 'UPL-1.0'
|
||||
compatibility 'i686,x86_64'
|
||||
case ARCH
|
||||
when 'i686', 'x86_64'
|
||||
source_url 'https://github.com/oracle/oci-cli/releases/download/v2.4.23/oci-cli-2.4.23.zip'
|
||||
source_sha256 '84e6b312497c891144a0c32068097226c396a5a2467ebef3d00f55eb91228863'
|
||||
depends_on 'virtualenv'
|
||||
end
|
||||
|
||||
binary_url ({
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/oci/2.4.23_i686/oci-2.4.23-chromeos-i686.tar.xz',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/oci/2.4.23_x86_64/oci-2.4.23-chromeos-x86_64.tar.xz',
|
||||
})
|
||||
binary_sha256 ({
|
||||
i686: '541ead165b4ff71b8bea745779f68057a6f79b67da838369a8d9a94ed22b66b6',
|
||||
x86_64: 'c99356e8373dde7f00b3a24351e0eacdaf2037b47d30f52fedfc7c2233a2300b',
|
||||
})
|
||||
|
||||
def self.install
|
||||
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}"
|
||||
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
|
||||
36
packages/oci_cli.rb
Normal file
36
packages/oci_cli.rb
Normal file
@@ -0,0 +1,36 @@
|
||||
require 'package'
|
||||
|
||||
class Oci_cli < Package
|
||||
description 'Command Line Interface for Oracle Cloud Infrastructure'
|
||||
homepage 'https://github.com/oracle/oci-cli/'
|
||||
@_ver = '2.24.3'
|
||||
version @_ver
|
||||
license 'UPL-1.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/oracle/oci-cli.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_arrow'
|
||||
depends_on 'py3_six'
|
||||
depends_on 'py3_terminaltables'
|
||||
depends_on 'py3_certifi'
|
||||
depends_on 'py3_dateutil'
|
||||
depends_on 'py3_click'
|
||||
depends_on 'py3_jmespath'
|
||||
depends_on 'py3_retrying'
|
||||
depends_on 'py3_pyopenssl'
|
||||
depends_on 'py3_pyyaml'
|
||||
depends_on 'py3_cryptography'
|
||||
depends_on 'py3_configparser'
|
||||
depends_on 'py3_pytz'
|
||||
depends_on 'py3_oci'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
23
packages/py3_arrow.rb
Normal file
23
packages/py3_arrow.rb
Normal file
@@ -0,0 +1,23 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_arrow < Package
|
||||
description 'Arrow is a Python library that offers a sensible and human-friendly approach to creating, manipulating, formatting and converting dates, times and timestamps.'
|
||||
homepage 'https://arrow.readthedocs.io/'
|
||||
@_ver = '0.17.0'
|
||||
version @_ver
|
||||
license 'Apache-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/arrow-py/arrow.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_dateutil'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
22
packages/py3_certifi.rb
Normal file
22
packages/py3_certifi.rb
Normal file
@@ -0,0 +1,22 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_certifi < Package
|
||||
description 'Certifi provides Mozilla\'s CA Bundle.'
|
||||
homepage 'https://certifi.io/' # 403 Forbidden on 2021.05.08
|
||||
@_ver = '2020.12.05'
|
||||
version @_ver
|
||||
license 'MPL-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/certifi/python-certifi.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
22
packages/py3_click.rb
Normal file
22
packages/py3_click.rb
Normal file
@@ -0,0 +1,22 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_click < Package
|
||||
description 'Click is a simple wrapper around optparse for powerful command line utilities.'
|
||||
homepage 'https://click.palletsprojects.com'
|
||||
@_ver = '7.1.2'
|
||||
version @_ver
|
||||
license 'BSD-3'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/pallets/click.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
22
packages/py3_configparser.rb
Normal file
22
packages/py3_configparser.rb
Normal file
@@ -0,0 +1,22 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_configparser < Package
|
||||
description 'Configparser backports newer configparser modules to earlier python versions.'
|
||||
homepage 'https://github.com/jaraco/configparser/'
|
||||
@_ver = '5.0.2'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/jaraco/configparser.git'
|
||||
git_hashtag 'v' + @_ver
|
||||
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
22
packages/py3_jmespath.rb
Normal file
22
packages/py3_jmespath.rb
Normal file
@@ -0,0 +1,22 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_jmespath < Package
|
||||
description 'JMESPath is a query language for JSON.'
|
||||
homepage 'https://jmespath.org/'
|
||||
@_ver = '0.10.0'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/jmespath/jmespath.py.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
28
packages/py3_oci.rb
Normal file
28
packages/py3_oci.rb
Normal file
@@ -0,0 +1,28 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_oci < Package
|
||||
description 'Oracle Cloud Infrastructure Python SDK'
|
||||
homepage 'https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/'
|
||||
@_ver = '2.38.1'
|
||||
version @_ver
|
||||
license 'UPL-1.0 or Apache-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/oracle/oci-python-sdk.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'py3_dateutil'
|
||||
depends_on 'py3_configparser'
|
||||
depends_on 'py3_pyopenssl'
|
||||
depends_on 'py3_certifi'
|
||||
depends_on 'py3_pytz'
|
||||
depends_on 'py3_cryptography'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
25
packages/py3_pyopenssl.rb
Normal file
25
packages/py3_pyopenssl.rb
Normal file
@@ -0,0 +1,25 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_pyopenssl < Package
|
||||
description 'PyOpenSSL is a Python wrapper module around the OpenSSL library.'
|
||||
homepage 'https://www.pyopenssl.org/'
|
||||
@_ver = '20.0.1'
|
||||
version @_ver
|
||||
license 'Apache-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/pyca/pyopenssl.git'
|
||||
git_hashtag @_ver
|
||||
|
||||
depends_on 'openssl'
|
||||
depends_on 'py3_cryptography'
|
||||
depends_on 'py3_six'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
23
packages/py3_retrying.rb
Normal file
23
packages/py3_retrying.rb
Normal file
@@ -0,0 +1,23 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_retrying < Package
|
||||
description 'Retrying simplifies the task of adding retry behavior to just about anything.'
|
||||
homepage 'https://github.com/rholder/retrying/'
|
||||
@_ver = '1.3.3'
|
||||
version @_ver
|
||||
license 'Apache-2.0'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/rholder/retrying.git'
|
||||
git_hashtag 'v' + @_ver
|
||||
|
||||
depends_on 'py3_six'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
23
packages/py3_terminaltables.rb
Normal file
23
packages/py3_terminaltables.rb
Normal file
@@ -0,0 +1,23 @@
|
||||
require 'package'
|
||||
|
||||
class Py3_terminaltables < Package
|
||||
description 'Terminaltables generates simple tables in terminals from a nested list of strings.'
|
||||
homepage 'https://robpol86.github.io/terminaltables/'
|
||||
@_ver = '3.1.0'
|
||||
version @_ver
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/Robpol86/terminaltables.git'
|
||||
git_hashtag 'terminaltables-' + @_ver
|
||||
|
||||
depends_on 'py3_dateutil'
|
||||
depends_on 'py3_setuptools' => :build
|
||||
|
||||
def self.build
|
||||
system "python3 setup.py build #{PY3_SETUP_BUILD_OPTIONS}"
|
||||
end
|
||||
|
||||
def self.install
|
||||
system "python3 setup.py install #{PY_SETUP_INSTALL_OPTIONS}"
|
||||
end
|
||||
end
|
||||
@@ -2,7 +2,7 @@ require 'package'
|
||||
|
||||
class Pygobject2 < Package
|
||||
description 'PyGObject is a Python package which provides bindings for GObject based libraries such as GTK+, GStreamer, WebKitGTK+, GLib, GIO and many more.'
|
||||
homepage 'https://pygobject.readthedocs.io/en/latest/'
|
||||
homepage 'https://pygobject.readthedocs.io/'
|
||||
version '2.28.7'
|
||||
license 'LGPL-2.1+'
|
||||
compatibility 'all'
|
||||
|
||||
@@ -2,7 +2,7 @@ require 'package'
|
||||
|
||||
class Stack < Package
|
||||
description 'The Haskell Tool Stack - Stack is a cross-platform program for developing Haskell projects. It is aimed at Haskellers both new and experienced.'
|
||||
homepage 'https://docs.haskellstack.org/en/stable/README/'
|
||||
homepage 'https://docs.haskellstack.org/'
|
||||
@_ver = '2.5.1'
|
||||
version @_ver
|
||||
license 'BSD'
|
||||
|
||||
@@ -2,7 +2,7 @@ require 'package'
|
||||
|
||||
class Textract < Package
|
||||
description 'Extract text from any document.'
|
||||
homepage 'http://textract.readthedocs.io/en/stable/'
|
||||
homepage 'http://textract.readthedocs.io/'
|
||||
version '1.6.1'
|
||||
license 'MIT'
|
||||
compatibility 'all'
|
||||
|
||||
@@ -2,7 +2,7 @@ require 'package'
|
||||
|
||||
class Uwsgi < Package
|
||||
description 'uWSGI application server container'
|
||||
homepage 'https://uwsgi-docs.readthedocs.io/en/latest/'
|
||||
homepage 'https://uwsgi-docs.readthedocs.io/'
|
||||
version '2.0.17'
|
||||
license 'GPL-2'
|
||||
compatibility 'all'
|
||||
|
||||
Reference in New Issue
Block a user