Files
chromebrew/packages/py3_pre_commit.rb
github-actions[bot] 8404599f4f AutoBuild: updates-2025-03-19-00-19 started at 2025-03-19-00UTC (#11574)
* Add unbuilt updated pip packages to updates-2025-03-19-00-19

* Add unbuilt updated ruby gem packages to updates-2025-03-19-00-19

* Add built packages for linux/386 to updates-2025-03-19-00-19

* Add built packages for linux/amd64 to updates-2025-03-19-00-19

* Add built packages for linux/arm/v7 to updates-2025-03-19-00-19

---------

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>
2025-03-19 01:05:31 +00:00

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.2.0-#{CREW_PY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'
binary_compression 'tar.zst'
binary_sha256({
aarch64: '468013f1695e5a50453ec82c75006ccb724f651d5c2d3a530e24879fae554073',
armv7l: '468013f1695e5a50453ec82c75006ccb724f651d5c2d3a530e24879fae554073',
i686: '0f36161b9110d8caf0a5e6ef617266353cd7253a1d73cf03debc9d311c5bf731',
x86_64: 'd91a6528ee1888d65cd16e67c12cf13e789cdec6bc47be8c4b9339cec4b50e92'
})
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