Files
chromebrew/packages/aws2.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

21 lines
534 B
Ruby

require 'package'
class Aws2 < Package
description 'This package makes it easy to start, stop and save AWS spot instances; and to manage EC2 resources.'
homepage 'https://github.com/simonm3/aws2'
@_ver = '0.2.7'
version "#{@_ver}-1"
license 'GPL-3'
compatibility 'all'
source_url 'SKIP'
no_compile_needed
depends_on 'rust' => :build
depends_on 'python3' => :build
def self.install
system "pip install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} -I aws2==#{@_ver} --no-warn-script-location"
end
end