bump pre-commit-2.19.0 (from main)

This commit is contained in:
Andreas Billmeier 2022-05-26 17:04:40 +02:00 committed by Andreas Billmeier
parent e627290dda
commit a801b2e127
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
6 changed files with 66 additions and 138 deletions

View File

@ -524,11 +524,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 1747 Ebuilds in total, 1740 of them have in total 1747 (35 different) licenses assigned.
There are 1746 Ebuilds in total, 1739 of them have in total 1746 (35 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1069|
|MIT|1068|
|Apache-2.0|311|
|GPL-3|108|
|BSD|96|

View File

@ -1,5 +1,3 @@
DIST pre-commit-2.14.0.tar.gz 253468 BLAKE2B fbd7045151f53d365c6241628e91161dcced52d2cdeb54fb4e7a5eaed56d3bd6dc691a4dbc891f09772ca8fab3e23b21611129ba2a9efe8d7b1584240bb4c4ad SHA512 79581767e28cef82dea604656b03ed99d7014299aa4f49e25b4ed53244d7b62c46193e25ba6add9189613a5d1517859ccc7208d7d7238674a0a1ce2ed29f131a
DIST pre-commit-2.16.0.tar.gz 256930 BLAKE2B e515dcc9109c91cc7ab5ce60f662ebd62cce4f23e32676b7c295332c959fa10a34c320a197d15d7307b94aee53e7ade5da62aed8bbe122262db15d88d82e9757 SHA512 c9eb14a40e25e8408c2b2b5687eba4908d609bbb7bcf58a0153326696d272bca555156fd75f3ec5f0dec219aeeb4084df77f329f47cf190e40052c11e92fe185
EBUILD pre-commit-2.14.0.ebuild 2101 BLAKE2B ab198453b3b14cd39a5914f64dd566fff1eaeab1396038cbbbb3b10e9fa791eda528c4873aa93a6678b98e1a17a844afa6d8b63aa138a9cb0b53f2bbcb3a7696 SHA512 310274bd7d7a71d81fe5319a94eb92cc1392ca0da533d577e40b0effb6cc060634956ba127d19a345e105dc55cbd57895d30f04fa996163a1a62f5fb7bdf3872
EBUILD pre-commit-2.16.0-r1.ebuild 2092 BLAKE2B d3f2a5b26d02cb33359564991df1019d68cbd0918e59eb2ef3c2de6a79514282da31b5d3528e98c5ef6f52543666434f5dd81830c7f331cecf272e040c0e63fc SHA512 61a3a75adef347cc26f90cc0f48ee8c1227b7cf873431b8539635c98fb5626038c2d7f3c379df77ba8aa4557b7cd493db5879b84cca690ba71cfa2938436cffb
MISC metadata.xml 456 BLAKE2B 6b37832c4420e61dfc59240d3ed06a9eec654c3cf67d19999331f9a5dd3a518a0c7a5d6004ac0feec71ca7fb1478ab9523eb92bb679c5bc090ee9fb703403dde SHA512 0080d0fb37f16d7869a778025a26265b2b270387b1a19a57791c6f1f5f18f27dc01a3bf919d753450d2ea3e860457cd85ac6b7399049381b2f0b350ee5f7409a
DIST pre-commit-2.19.0.tar.gz 266117 BLAKE2B d2105fb9aa64e63c7d93142228545e3597eb4a1637f850ce5d3f14b0826bdfb8a8d971779690c4fda6823fa1915fc57f9c86b9ffae48dbe39e7a225123304f5c SHA512 9cc28c5e9ce4be87e09e7be01138c35bbe954efb6c1400e92b1a6b5f50e426b59d74651802359015840d5ec4a5583bf8f579bf7f08eb778d5950c8c8dfe4c80c
EBUILD pre-commit-2.19.0.ebuild 1600 BLAKE2B 6b9a7d9e7e640ffa62a7f797cfc8fec15e4cfb9fe1fe207694e67920f723eb4471f980d0b7a8b71776ec914fdba7d5c417db01384f63e075492ba6d8ddd94de3 SHA512 3ac9c85151f10089e0170ac8e922bba85eb71701b020890d03e8e0ed0c08de40058af7de73eb96ba3e73b680384436ca0164bfcb00affed9d807013fa84b682e
MISC metadata.xml 380 BLAKE2B 99842a97367e91700c6f714f427b7b3d4b7212c401abae5ab715dfaa724776f02fe250184a33504d3433bb58cd5679af59a32ec21a7e7432481160dab36a4d95 SHA512 45330930d1e58fc1de0fd0ba55cd488dee96579ceab3be5073b91ff8f4f2b9adefff533dbfa5b0e8b23fbb648d45c0b7b4073a1ec57b586600cc2bf6347e0bbb

View File

@ -1,15 +1,12 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">pre-commit</remote-id>
<maintainer status="unknown">
<email>asottile@umich.edu</email>
<name>Anthony Sottile</name>
</maintainer>
</upstream>
<maintainer type="person">
<email>marecki@gentoo.org</email>
<name>Marek Szuba</name>
</maintainer>
<upstream>
<remote-id type="github">pre-commit/pre-commit</remote-id>
<remote-id type="pypi">pre-commit</remote-id>
</upstream>
</pkgmetadata>

View File

@ -1,59 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_SETUPTOOLS=rdepend
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}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
# TODO: figure out why these tests - all of which invoke git - fail:
# - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall],
# tests/main_test.py::test_try_repo:
# Calling "git rev-parse" fails with "fatal: not a git repository (or any of the parent directories): .git".
# NOT a sandbox issue it seems, as disabling it does not help.
# - tests/commands/install_uninstall_test.py::test_environment_not_sourced:
# Unexpected error "/usr/bin/env: 'python3.8': No such file or directory" - but only if pre-commit
# has previously been installed.
# - tests/commands/install_uninstall_test.py::test_installed_from_venv:
# the function invoking "git commit" returns 1 instead of 0, no details.
RESTRICT="test"
RDEPEND="dev-vcs/git
$(python_gen_cond_dep '
dev-python/cfgv[${PYTHON_USEDEP}]
dev-python/identify[${PYTHON_USEDEP}]
dev-python/nodeenv[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/toml[${PYTHON_USEDEP}]
>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
')"
BDEPEND="test? (
$(python_gen_cond_dep '
dev-python/pytest-env[${PYTHON_USEDEP}]
dev-python/re-assert[${PYTHON_USEDEP}]
')
)"
DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
distutils_enable_tests --install pytest
src_prepare() {
default
# These tests 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.
rm -rf tests/languages tests/repository_test.py
}

View File

@ -1,59 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{8..10} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_SETUPTOOLS=rdepend
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}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86"
# TODO: figure out why these tests - all of which invoke git - fail:
# - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall],
# tests/main_test.py::test_try_repo:
# Calling "git rev-parse" fails with "fatal: not a git repository (or any of the parent directories): .git".
# NOT a sandbox issue it seems, as disabling it does not help.
# - tests/commands/install_uninstall_test.py::test_environment_not_sourced:
# Unexpected error "/usr/bin/env: 'python3.8': No such file or directory" - but only if pre-commit
# has previously been installed.
# - tests/commands/install_uninstall_test.py::test_installed_from_venv:
# the function invoking "git commit" returns 1 instead of 0, no details.
RESTRICT="test"
RDEPEND="dev-vcs/git
$(python_gen_cond_dep '
dev-python/cfgv[${PYTHON_USEDEP}]
dev-python/identify[${PYTHON_USEDEP}]
dev-python/nodeenv[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/toml[${PYTHON_USEDEP}]
dev-python/virtualenv[${PYTHON_USEDEP}]
')"
BDEPEND="test? (
$(python_gen_cond_dep '
dev-python/pytest-env[${PYTHON_USEDEP}]
dev-python/re-assert[${PYTHON_USEDEP}]
')
)"
DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
distutils_enable_tests --install pytest
src_prepare() {
default
# These tests 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.
rm -rf tests/languages tests/repository_test.py
}

View File

@ -0,0 +1,51 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
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}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~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/toml[${PYTHON_USEDEP}]
>=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
')"
BDEPEND="test? (
$(python_gen_cond_dep '
dev-python/pytest-env[${PYTHON_USEDEP}]
dev-python/re-assert[${PYTHON_USEDEP}]
')
)"
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