Files
chromebrew/packages/aws2.rb
Maximilian Downey Twiss de24923ee8 Add Rubocop CI (#7083)
* Rename IgnoredPatterns to AllowedPatterns.

* Exclude docopt.rb (not our code) from Rubocop

* Disable Style/RedundantReturn

* Disable Style/MutableConstant

* Disable Style/NumericLiterals

* Set Layout/IndentationStyle to spaces

* Temporarily disable various cops.

* Add Rubocop CI via Octocop

* Lint tree with rubocop -A -c .rubocop.yml

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2022-08-22 13:31:25 -04:00

24 lines
564 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'
binary_url({
})
binary_sha256({
})
depends_on 'rust' => :build
depends_on 'py3_setuptools' => :build
def self.install
system "pip install --prefix #{CREW_PREFIX} --root #{CREW_DEST_DIR} -I aws2==#{@_ver} --no-warn-script-location"
end
end