Files
chromebrew/packages/avocado_framework.rb
Maximilian Downey Twiss f6dc1d8d4e Derive binary_url in package.rb (#7082)
* Add binary_compression value to each package

* Remove binary_url values and arrays

* Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
2024-01-25 11:03:31 -05:00

32 lines
1.0 KiB
Ruby

require 'package'
class Avocado_framework < Package
description 'Avocado is a next generation testing framework inspired by Autotest and modern development tools such as git.'
homepage 'https://avocado-framework.github.io/'
version '94.0'
license 'GPL-2 and GPL-2+'
compatibility 'all'
source_url 'https://github.com/avocado-framework/avocado.git'
git_hashtag version
binary_compression 'tar.xz'
binary_sha256({
aarch64: 'c687be4dd45ff08f79449baa438f8ba6eb27d9ec9a78759c63a2827c325e6ae3',
armv7l: 'c687be4dd45ff08f79449baa438f8ba6eb27d9ec9a78759c63a2827c325e6ae3',
i686: '2751e897254e5edc450a986ff98b7e07af21dfbff7c75d7ddf5cd16a3d0b65b7',
x86_64: '210640e2c6917979fd6b69ab54e2e786dfb5d0d26c7efba653e70253d266a571'
})
depends_on 'xdg_base'
depends_on 'xzutils'
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