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

35 lines
1.0 KiB
Ruby

require 'package'
class Thefuck < Package
description 'Thef*ck is a magnificent app which corrects your previous console command.'
homepage 'https://github.com/nvbn/thefuck/'
version '3.31'
license 'MIT'
compatibility 'all'
source_url 'https://github.com/nvbn/thefuck.git'
git_hashtag version
binary_compression 'tpxz'
binary_sha256({
aarch64: 'cdef429be5b7192bc2d6c01f11806b5e71e08b02862a81e1463cebb7c04f59a5',
armv7l: 'cdef429be5b7192bc2d6c01f11806b5e71e08b02862a81e1463cebb7c04f59a5',
i686: 'ff2af1b04e69b0d2b117ef94d1bf6da5de58aaafc687fbafea35c6888631d8ed',
x86_64: 'f51e73b3c59d1052923d4b6dd72af0767c6ad0a9ba05911cf1954d3dcd02f436'
})
depends_on 'py3_six'
depends_on 'py3_colorama'
depends_on 'py3_psutil'
depends_on 'py3_pyte'
depends_on 'py3_decorator'
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