mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-13 01:18:14 -05:00
* Add unbuilt updated pip packages to updates-2025-01-21-00-17 * Add built packages for linux/386 to updates-2025-01-21-00-17 * Add built packages for linux/amd64 to updates-2025-01-21-00-17 * Add built packages for linux/arm/v7 to updates-2025-01-21-00-17 --------- Co-authored-by: github-merge-queue <github-merge-queue@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
32 lines
1015 B
Ruby
32 lines
1015 B
Ruby
require 'buildsystems/pip'
|
|
|
|
class Py3_pre_commit < Pip
|
|
description 'A framework for managing and maintaining multi-language pre-commit hooks.'
|
|
homepage 'https://pre-commit.com/'
|
|
version "4.1.0-#{CREW_PY_VER}"
|
|
license 'MIT'
|
|
compatibility 'all'
|
|
source_url 'SKIP'
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'c72de9f3173355193b1cff1019d86414fd154c051b4a10013a6bc01f496d8514',
|
|
armv7l: 'c72de9f3173355193b1cff1019d86414fd154c051b4a10013a6bc01f496d8514',
|
|
i686: 'faae0538c16f0b0cae4750006d68e21ffd4219124098100b2d1df4dfe1a4d347',
|
|
x86_64: '88b1cc5a2d8761ec7260b5720a0810dbd8371c48af440ed55f6ea2025872bb0f'
|
|
})
|
|
|
|
depends_on 'py3_cfgv'
|
|
depends_on 'py3_identify' # L
|
|
depends_on 'py3_nodeenv' # L
|
|
depends_on 'py3_pyyaml' # L
|
|
depends_on 'py3_virtualenv' # L
|
|
depends_on 'python3' # R
|
|
|
|
no_source_build
|
|
|
|
def self.postinstall
|
|
ExitMessage.add "\nTo complete the install, execute 'pre-commit install --install-hooks' in your local repository.\n".lightblue
|
|
end
|
|
end
|