Files
chromebrew/packages/aws_shell.rb
Satadru Pramanik 001060b261 Python 3.11 (#7570)
* Python 3.11 initial binary upload

* switch py_libxml2 to -py3.11

* fixup package versions

* fix py3_pillow

* build python with ensurepip

* add flit_core to pyparsing

* update some package versions

* update wheel

* update core python packages

* more updates

* update py3_libxml2.rb py3_pyelftools.rb py3_codespell.rb

* add all successful builds

* update versions in broken builds

* fix package

* adding some binaries

* add build

* add meson build

* add py3_numpy builds

* update itstool

* update xcb_proto

* add more packages

* update bind to not include py3_ply

* rebuild libcaca

* update py3_gi_docgen

* remove some conflicts_ok

* remove setuptools and pip deps

* attempt pip uninstall during install

* add preflight to pip and setuptools

* try excluding pip again

* adjust logic

* lint
2022-12-02 12:27:01 -06:00

31 lines
1.4 KiB
Ruby

require 'package'
class Aws_shell < Package
description 'An integrated shell for working with the AWS CLI.'
homepage 'https://github.com/awslabs/aws-shell'
version '0.2.1'
license 'Apache-2.0'
compatibility 'all'
source_url 'https://github.com/awslabs/aws-shell/archive/0.2.1.tar.gz'
source_sha256 '84262f0ccba6757a318ce415d8a77026b43db958cfac9ef615e75c3515d78f78'
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/aws_shell/0.2.1_armv7l/aws_shell-0.2.1-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/aws_shell/0.2.1_armv7l/aws_shell-0.2.1-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/aws_shell/0.2.1_i686/aws_shell-0.2.1-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/aws_shell/0.2.1_x86_64/aws_shell-0.2.1-chromeos-x86_64.tar.xz'
})
binary_sha256({
aarch64: '7b973100dd69dc756fd4578fd8776670279f8dcbe086e9c3874997aa0f2425bb',
armv7l: '7b973100dd69dc756fd4578fd8776670279f8dcbe086e9c3874997aa0f2425bb',
i686: '69f956d76dd2c0acc500f2253310bb719c4b08573f72922d98fd9c0ebf1239e4',
x86_64: '41ad9b4fbe0104c4e7d48fb7b5c2469f89562f46c1184b985114da37bf0ed479'
})
depends_on 'python3' => :build
def self.install
system "python setup.py install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR}"
end
end