Files
chromebrew/packages/oci_cli.rb
Maximilian Downey Twiss eb14c41653 Remove compatibility from packages with incompatible dependencies (#9458)
* Remove i686 compatibility from packages with dependencies incompatible with i686

* Remove armv7l compatibility from packages with dependencies incompatible with arvm7l

* Abort builds/installs if the package has incompatible dependencies
2024-03-11 13:09:12 -04:00

43 lines
1.2 KiB
Ruby

require 'package'
class Oci_cli < Package
description 'Command Line Interface for Oracle Cloud Infrastructure'
homepage 'https://github.com/oracle/oci-cli/'
version '3.1.2'
license 'UPL-1.0'
compatibility 'x86_64 aarch64 armv7l'
source_url 'https://github.com/oracle/oci-cli.git'
git_hashtag "v#{version}"
binary_compression 'tpxz'
binary_sha256({
aarch64: 'e34f28f7fd938279f2c4b4d2ea3089c1080f3f17960de056ccaba8e358a623c3',
armv7l: 'e34f28f7fd938279f2c4b4d2ea3089c1080f3f17960de056ccaba8e358a623c3',
x86_64: '409198208cd2dab9b6f66bed27413dca7e443b1917fca3d5158ae5a304905567'
})
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 'python3' => :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