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

25 lines
752 B
Ruby

require 'buildsystems/pip'
class Py3_ruff < Pip
description 'An extremely fast Python linter, written in Rust.'
homepage 'https://docs.astral.sh/ruff'
@_ver = '0.1.3'
version "#{@_ver}-py3.12"
license 'GPL-2.0'
compatibility 'all'
source_url 'SKIP'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '2f0185feab87e3f37d36029ea1ea85dc003220406962929b3d60de7f0c36d5cc',
armv7l: '2f0185feab87e3f37d36029ea1ea85dc003220406962929b3d60de7f0c36d5cc',
i686: '1ca0f02816822fd9cb8bed5a7cf1de3278d754475869e12a057197fb844b65cc',
x86_64: '157ed52235826c56908cec1f699a1628322aba3d2e94366921a283e45937804e'
})
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'python3'
depends_on 'rust' => :build
end