mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
* 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
41 lines
1.7 KiB
Ruby
41 lines
1.7 KiB
Ruby
require 'package'
|
|
|
|
class Ansible < Package
|
|
description 'Ansible is a radically simple IT automation engine that automates cloud provisioning, configuration management, application deployment, intra-service orchestration, and many other IT needs.'
|
|
homepage 'https://www.ansible.com/'
|
|
@_ver = '2.11.6'
|
|
version @_ver
|
|
license 'GPL-3'
|
|
compatibility 'all'
|
|
source_url 'https://github.com/ansible/ansible.git'
|
|
git_hashtag "v#{@_ver}"
|
|
|
|
binary_url({
|
|
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible/2.11.6_armv7l/ansible-2.11.6-chromeos-armv7l.tpxz',
|
|
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible/2.11.6_armv7l/ansible-2.11.6-chromeos-armv7l.tpxz',
|
|
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible/2.11.6_i686/ansible-2.11.6-chromeos-i686.tpxz',
|
|
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/ansible/2.11.6_x86_64/ansible-2.11.6-chromeos-x86_64.tpxz'
|
|
})
|
|
binary_sha256({
|
|
aarch64: 'e99dda3d567d2f51088c406f87cf4a046253414af0f772449acdaf5c580990c6',
|
|
armv7l: 'e99dda3d567d2f51088c406f87cf4a046253414af0f772449acdaf5c580990c6',
|
|
i686: 'e4e6c38d5cbac73ad2504b7815e7e119976943b0f04dd74d69f6a13b46efd0fb',
|
|
x86_64: 'a3fc4acfca1229ca1c2bbb1c8107e4ee207afea58f092796daecb17e42a3b9fb'
|
|
})
|
|
|
|
depends_on 'xdg_base'
|
|
depends_on 'py3_cryptography'
|
|
depends_on 'py3_pyyaml'
|
|
depends_on 'py3_packaging'
|
|
depends_on 'py3_jinja2'
|
|
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
|