dev-vcs / pre-commit

A framework for managing and maintaining multi-language Git pre-commit hooks

Official package sites : https://github.com/pre-commit/pre-commit/ · https://pre-commit.com/ ·

v3.8.0-r1 :: 0 :: gentoo

Modified
License
MIT
Keywords
amd64 x86 ~arm64 ~hppa ~ppc ~ppc64
USE flags
test

General

test
Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)

python_single_target

python3_10
Build for Python 3.10 only
python3_11
Build for Python 3.11 only
python3_12
Build for Python 3.12 only
python3_13
Build for Python 3.13 only

dev-lang / python : An interpreted, interactive, object-oriented programming language

dev-python / cfgv : Validate configuration and produce human-readable error messages

dev-python / identify : File identification library for Python

dev-python / nodeenv : Node.js virtual environment builder

dev-python / pyyaml : YAML parser and emitter for Python

dev-python / virtualenv : Virtual Python Environment builder

dev-vcs / git : Stupid content tracker: distributed VCS designed for speed and efficiency

app-shells / autojump : change directory command that learns

Repository mirror & CI · gentoo
Merge updates from master
Maciej Barć · gentoo
dev-vcs/pre-commit: add python 3.10 compat for autojump
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Maciej Barć · gentoo
dev-vcs/pre-commit: drop old 3.7.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Maciej Barć · gentoo
dev-vcs/pre-commit: drop old 3.7.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 3.8.0 x86, #938985
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 3.8.0 amd64, #938985
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 3.7.1 x86, #937063
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 3.7.1 amd64, #937063
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Maciej Barć · gentoo
dev-vcs/pre-commit: bump to 3.8.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Maciej Barć · gentoo
dev-vcs/pre-commit: drop old 3.6.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 3.7.0 amd64, #935761
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 3.7.0 x86, #935761
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Maciej Barć · gentoo
dev-vcs/pre-commit: bump to 3.7.1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: drop 3.3.3, 3.5.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Marek Szuba · gentoo
dev-vcs/pre-commit: add 3.7.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 3.6.0 amd64, #925453
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 3.6.0 x86, #925453
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 3.6.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: deselect tests that fail if pre-commit is installed
On the one hand quite a few bits of pre-commit rely on the executable "git" being present in PATH, on the other the tests delete the directory containing "pre-commit" from PATH prior to executing. If both reside in /usr/bin, hilarity ensues. Just deselect these tests, they aren't directly relevant to packaged pre-commit anyway. Thanks-to: Alfred Wingate <parona@protonmail.com> Closes: https://bugs.gentoo.org/894502 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 3.5.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: drop 3.0.4
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 3.3.3 amd64, #912749
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 3.3.3 x86, #912749
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: drop 3.3.2
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 3.3.3, drop 3.2.2
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 3.3.2
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Marek Szuba · gentoo
dev-vcs/pre-commit: drop 3.2.1, 3.3.1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 3.3.1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Keyword 3.2.2 arm64, #905058
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 3.2.2
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: drop 2.20.0-r1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 3.0.4 x86, #903053
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 3.0.4 amd64, #903053
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 3.2.1, drop 3.1.1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 3.1.1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 3.0.4, drop 3.0.2
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 3.0.2
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
David Seifert · gentoo
*/*: remove py3.8 from PYTHON_COMPAT
Signed-off-by: David Seifert <soap@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: require non-multicall coreutils for tests
Two of the parse_shebang_test.py tests do not like it it where echo is a wrapper around the multicall binary. Given the behaviour demonstrated by pre-commit upstream, I don't really them to address this any time soon. Closes: https://bugs.gentoo.org/885559 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: drop ebuilds depending on dev-python/toml
Closes: https://bugs.gentoo.org/878677 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 2.20.0-r1 x86, #881279
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 2.20.0-r1 amd64, #881279
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: allow the tests to use the 'file' transport
Needed for the test suite to work against git versions including the fix for CVE-2022-39253. Should be harmless enough even if upstream gets compromised and publishes a tarball containing malicious symlinks, unless someone makes a serious effort to grant Portage a lot of unnecessary privileges. Closes: https://bugs.gentoo.org/878781 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: drop dependency on dev-python/toml
Backported to 2.20.0 from upstream Git master branch. Bug: https://bugs.gentoo.org/878677 Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: drop 2.19.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 2.20.0 x86, #867877
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 2.20.0 amd64, #867877
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 2.20.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: drop 2.17.0, 2.18.1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Agostino Sarubbo · gentoo
dev-vcs/pre-commit: amd64 stable wrt bug #855026
Package-Manager: Portage-3.0.30, Repoman-3.0.3 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 2.19.0 x86, #855026
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 2.19.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 2.18.1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: drop 2.15.0, 2.16.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 2.17.0 x86, #833974
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Jakov Smolić · gentoo
dev-vcs/pre-commit: Stabilize 2.17.0 amd64, #833974
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 2.17.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 2.16.0, drop 2.13.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 2.15.0 amd64, #819075
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 2.15.0 x86, #819075
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit-2.15.0: remove DISTUTILS_USE_SETUPTOOLS=rdepend
Turns out entry_points no longer require setuptools so having been yelled at for a long time by QA about not having setuptools in RDEPEND, we now have to revert this everywhere. Gotta love moving targets. Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 2.15.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Keyword 2.13.0 ppc64, #793794
Signed-off-by: Sam James <sam@gentoo.org>
Sam James · gentoo
dev-vcs/pre-commit: Keyword 2.13.0 x86, #793794
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Keyword 2.13.0 ppc, #793794
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: drop 2.12.1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Sam James · gentoo
dev-vcs/pre-commit: Stabilize 2.13.0 amd64, #798678
Signed-off-by: Sam James <sam@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: support python3_10
Builds and installs fine, tests (when unrestricted) fail the same way as for older Python versions. Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Rolf Eike Beer · gentoo
dev-vcs/pre-commit: keyworded 2.13.0 for hppa, bug #793794
Package-Manager: Portage-3.0.18, Repoman-3.0.2 RepoMan-Options: --include-arches="hppa" Signed-off-by: Rolf Eike Beer <eike@sf-mail.de> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Agostino Sarubbo · gentoo
dev-vcs/pre-commit: amd64 stable wrt bug #791949
Package-Manager: Portage-3.0.13, Repoman-3.0.2 RepoMan-Options: --include-arches="amd64" Signed-off-by: Agostino Sarubbo <ago@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 2.13.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: drop 2.12.0
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: add 2.12.1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: actually restrict tests
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Marek Szuba · gentoo
dev-vcs/pre-commit: use pytest-env now that it is in the tree
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Repository mirror & CI · gentoo
Merge updates from master
Marek Szuba · gentoo
dev-vcs/pre-commit: new package
With tests regrettably restricted for now - although their vast majority (excluding the language/repository ones, which have a lot of dependencies and do not always handle their absence correctly) passes, there are 9 which fail due to unspecified problems invoking git. Closes: https://bugs.gentoo.org/679014 Signed-off-by: Marek Szuba <marecki@gentoo.org>