dev-vcs/pre-commit: add 3.4.0

Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2023-10-21 16:28:31 +02:00 committed by Andreas Billmeier
parent 19aaf3e15e
commit 10ec652b6c
Signed by untrusted user: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 62 additions and 4 deletions

View File

@ -2,6 +2,8 @@ AUX pre-commit-2.20.0-tests_git_file_transport.patch 2021 BLAKE2B 764b353d326817
AUX pre-commit-3.1.1-tests_git_file_transport.patch 1527 BLAKE2B 18d047f3b8a6fdc3da77aa5b8d9f60970ab5b69adc3790489ceffc17839a4cd21ed46428c5e2e98b50278b2c4dc49e35a09dd778000546828327ae96f910f95b SHA512 36cb194250dc0fefad2900452447ab590f678e6cd5edf07a7f072363733c263b7cb1167297c465a9372d4a38ab77a6c057046c66b872a958132a97d1a937d029
DIST pre-commit-3.0.0.gh.tar.gz 265698 BLAKE2B 8182a0dc24cd8e99895dd8e3a9dd5fb786ea19e926d4d252420bedd0571f0ada0088e1e842cb8e3dfb27f44662e70068fbff02d98158456dfcb34db0f897a9f6 SHA512 ce7b53d76ce0f1e09de01fb5cb3f825f086687703ed1fcf1badf9276635d91402b53bc4d513a985c9e11f47348b162012f0f4969ed010e79992ca1e437c77895
DIST pre-commit-3.1.0.gh.tar.gz 265885 BLAKE2B b8f485acbf1d2df21f7ba28e8ab4c86b221256c62dfeed8ad7492d05bf546e02178fd4c8ae8a8a6e3b8b80fb54d2f981474354cf1992e47ea68ea83c2ca39526 SHA512 4304c5002b509dba9dce4284779f5ebfe44b1ddb3b73f947c49ac7ed959d9f76efd5cb7cd3764b5dc5db0b17632c475c76ca6cadd592b7830d39529176128e80
EBUILD pre-commit-3.0.0.ebuild 1703 BLAKE2B c505ffe9e8054cf5ea4fbbe55bbc28cf43e4397a32d34a9528d8a74dd41882113fcb6fd31019bfa9f99ee9c8ddc6d337efe4118e0fb026687e00fef8487361ae SHA512 b22542fc0addca8268034b6925d305801a6dc4cded6fb99e4b84a63610899aabc0ad5056f01df25c81163ee3b0400153cd8da8aebfd891de86a02dace2c4eb5a
EBUILD pre-commit-3.1.0.ebuild 1702 BLAKE2B 3afba89fd382d2d965f552b1bcbd28b1de7236d633f01c4c5ce84523e8b8eb444d1164a02a9189ac4a55449ae9babdfab8621b63e63ee0f2476f074ee55a1ce6 SHA512 9200cb721ac1f9859417013014e543a3bf244221cbaa9ccce77ec19e8eb579660b5212d9e34c50a60abbe55e3cfd9489dd70dcef8c1f996004e548296198c738
DIST pre-commit-3.4.0.gh.tar.gz 268485 BLAKE2B 9fd611fd8d40e8de5a1a59ab50cf08dbb39f6d8938a03ab006045b7f0f031f79c2355a0f526e2ce6fa2452121322aeabe6a2d99c15e9b7d17f944ca695beb827 SHA512 f3f37bb3e363286682043af5ae804575f915877282ba986a23ffaf4777dc172c1a051f81e67fccd0f5d064c2f58801f920eb9449fe170856cc124a54d5588862
EBUILD pre-commit-3.0.0.ebuild 1704 BLAKE2B d8792e96b4036ca4dd963dd875526356390dd8573c90def1b8d088dd068e26689025dc87b15aed185d4bf6832d40d3514e96583b138972cfb3299e49307792ce SHA512 e2a7e5b24414225255c081d6b85b04979800377ca44d0d8bc9899884d5f5e83ef4c00858dbfc86aa6de21ba69f2b0c1f6292fc64cc2674c3e528224935e93ec9
EBUILD pre-commit-3.1.0.ebuild 1703 BLAKE2B 2b012add57cbfb2b2c69359275abae0563da463fb7cd5b3da93948c4ff3e53eed600469f0c3e89b2f611ec527d44070ddabacaf2056e9e8b9991defbe73c6bf1 SHA512 d5dc361c394a62517d40f9122d019f75a168e7dfa10118785fdc16ca24c2451fca52c69ad5899f22b8c5d19da6ef23a0d176d19e69bef8a009276667cb4417c9
EBUILD pre-commit-3.4.0.ebuild 1703 BLAKE2B 2b012add57cbfb2b2c69359275abae0563da463fb7cd5b3da93948c4ff3e53eed600469f0c3e89b2f611ec527d44070ddabacaf2056e9e8b9991defbe73c6bf1 SHA512 d5dc361c394a62517d40f9122d019f75a168e7dfa10118785fdc16ca24c2451fca52c69ad5899f22b8c5d19da6ef23a0d176d19e69bef8a009276667cb4417c9
MISC metadata.xml 519 BLAKE2B 7469b66ef61333b6a6c6b48a1c2ec373f0d3f75dc2b8cd5a9807bf26a72022c437b88b14907617317bab7c19c9a2300357c71dfe28b67828671bee0d59e1ccd2 SHA512 343867cf7f60f4456d9818ba7c0a652496c8c3ce1b5cca2b2be1510c2af793b062a4f3902d02f60c2874563bbd61691668370e25349c54ddc89aa5c425affc6d

View File

@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_REQ_USE="sqlite"

View File

@ -3,7 +3,7 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_REQ_USE="sqlite"

View File

@ -0,0 +1,56 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_REQ_USE="sqlite"
inherit distutils-r1
DESCRIPTION="A framework for managing and maintaining multi-language Git pre-commit hooks"
HOMEPAGE="https://pre-commit.com/"
SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 arm arm64 x86"
RDEPEND="dev-vcs/git
$(python_gen_cond_dep '
>=dev-python/cfgv-2.0.0[${PYTHON_USEDEP}]
>=dev-python/identify-1.0.0[${PYTHON_USEDEP}]
>=dev-python/nodeenv-0.11.1[${PYTHON_USEDEP}]
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
>=dev-python/virtualenv-20.10.0[${PYTHON_USEDEP}]
')"
# coreutils requirement: see Bug #885559
BDEPEND="test? (
$(python_gen_cond_dep '
dev-python/pytest-env[${PYTHON_USEDEP}]
dev-python/re-assert[${PYTHON_USEDEP}]
')
sys-apps/coreutils[-multicall]
)"
PATCHES=(
"${FILESDIR}"/${PN}-3.1.1-tests_git_file_transport.patch
)
DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
# The former two require a boatload of dependencies (e.g. Conda, Go, R and more) in order to run
# and while some of them do include "skip if not found" logic, most of them do not.
# The latter consistently fail with
# Calling "git rev-parse" fails with "fatal: not a git repository (or any of the parent directories): .git".
# including with the sandbox disabled and when run manually with tox.
EPYTEST_DESELECT=(
tests/languages/
tests/repository_test.py
tests/main_test.py::test_all_cmds
tests/main_test.py::test_try_repo
)
distutils_enable_tests pytest