dev-vcs/pre-commit: add 3.7.0
Closes: #3194 Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
parent
d13b16e603
commit
c46ab0afd4
|
@ -617,11 +617,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
|
|||
|
||||
## Licenses
|
||||
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
|
||||
There are 2003 Ebuilds in total, 1992 of them have in total 2011 (42 different) licenses assigned.
|
||||
There are 2004 Ebuilds in total, 1993 of them have in total 2012 (42 different) licenses assigned.
|
||||
|
||||
|License| Ebuilds using it|
|
||||
|-------|-----|
|
||||
|MIT|1131|
|
||||
|MIT|1132|
|
||||
|Apache-2.0|462|
|
||||
|GPL-3|129|
|
||||
|BSD|113|
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
AUX pre-commit-2.20.0-tests_git_file_transport.patch 2021 BLAKE2B 764b353d3268176162ae2a5d6fc97c0cb9ad7d2cd5de69f19f8fcd78c8bba507f25f53cd3d6c767fbcb9b9f885f8eceda2fc82d1b6ed54f34c1d4907d0fddd72 SHA512 6d8a3b5c9026f5c20a84d581ca92d74743643de010af468217b2f44324560d56b504e033ccebe102194492b25a01a4ed503995c222561ce406577fce211c2eab
|
||||
AUX pre-commit-3.1.1-tests_git_file_transport.patch 1527 BLAKE2B 18d047f3b8a6fdc3da77aa5b8d9f60970ab5b69adc3790489ceffc17839a4cd21ed46428c5e2e98b50278b2c4dc49e35a09dd778000546828327ae96f910f95b SHA512 36cb194250dc0fefad2900452447ab590f678e6cd5edf07a7f072363733c263b7cb1167297c465a9372d4a38ab77a6c057046c66b872a958132a97d1a937d029
|
||||
DIST pre-commit-3.6.2.gh.tar.gz 269614 BLAKE2B d927c8ac5024a09ffeba2cb728056c012ae2f6a9ea2acc3a62c9fb46360901804f56d745f4a6a4f33055caf079873507ba497d1cfa01d85a653f8702915826d3 SHA512 a99031e8e5f8b1bff05c8f5fa8d7fac4215d6d1828e8f64a35188345033a6982ce3673ebcf30883ce185e03f3f4179cdc620a383db65f914d0f6913973fc62ea
|
||||
DIST pre-commit-3.7.0.gh.tar.gz 269999 BLAKE2B 9ca1b2279e1ed753a09c3da83f6de19fc9b36821ba6f642962b9be1da29894e3260c48a2cdb582eb5331543fa6c7e9065d799fde7ab4e84dd54032c2ff84e4a7 SHA512 2a238e74ce2f080914e4403b7ce7b8dbd2a257a736d8292e2ec299c8015d3c4611e51f4be1a95ff2bd29db4888f6997e335346931567e943a8b5d78be7c14725
|
||||
EBUILD pre-commit-3.6.2.ebuild 1930 BLAKE2B 262b74095ac6ad3483be5af6a86713980d3cda7933348b3415b990374b3cce705d572be5cb03a25e088a1f1e4dd1b3ac1e9bd0c1712072c6428f725368bb739f SHA512 1acb78c79d8147250c6004b3eefb1d804993cd1ce9f09817392fa9099e39902a09a7f346f3aa6183544f918d6672b87068322bd539b63805557c868be4c3990c
|
||||
EBUILD pre-commit-3.7.0.ebuild 1930 BLAKE2B 262b74095ac6ad3483be5af6a86713980d3cda7933348b3415b990374b3cce705d572be5cb03a25e088a1f1e4dd1b3ac1e9bd0c1712072c6428f725368bb739f SHA512 1acb78c79d8147250c6004b3eefb1d804993cd1ce9f09817392fa9099e39902a09a7f346f3aa6183544f918d6672b87068322bd539b63805557c868be4c3990c
|
||||
MISC metadata.xml 519 BLAKE2B 7469b66ef61333b6a6c6b48a1c2ec373f0d3f75dc2b8cd5a9807bf26a72022c437b88b14907617317bab7c19c9a2300357c71dfe28b67828671bee0d59e1ccd2 SHA512 343867cf7f60f4456d9818ba7c0a652496c8c3ce1b5cca2b2be1510c2af793b062a4f3902d02f60c2874563bbd61691668370e25349c54ddc89aa5c425affc6d
|
||||
|
|
|
@ -0,0 +1,60 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..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 )
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# All of these 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.
|
||||
tests/languages/
|
||||
tests/repository_test.py
|
||||
# These three 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.
|
||||
tests/main_test.py::test_all_cmds
|
||||
tests/main_test.py::test_hook_stage_migration
|
||||
tests/main_test.py::test_try_repo
|
||||
# These two fail if pre-commit is already installed (Bug #894502)
|
||||
tests/commands/install_uninstall_test.py::test_environment_not_sourced
|
||||
tests/commands/install_uninstall_test.py::test_installed_from_venv
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
Loading…
Reference in New Issue