Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/pre-commit/
Date: Thu, 01 Sep 2022 23:22:51
Message-Id: 1662074333.ccd8da73716c237b357a7cd72d880c01b067771b.marecki@gentoo
1 commit: ccd8da73716c237b357a7cd72d880c01b067771b
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 1 23:18:53 2022 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 1 23:18:53 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccd8da73
7
8 dev-vcs/pre-commit: drop 2.19.0
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 dev-vcs/pre-commit/Manifest | 1 -
13 dev-vcs/pre-commit/pre-commit-2.19.0.ebuild | 52 -----------------------------
14 2 files changed, 53 deletions(-)
15
16 diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
17 index 99ed099e2246..06a74933c9d1 100644
18 --- a/dev-vcs/pre-commit/Manifest
19 +++ b/dev-vcs/pre-commit/Manifest
20 @@ -1,2 +1 @@
21 -DIST pre-commit-2.19.0.tar.gz 266117 BLAKE2B d2105fb9aa64e63c7d93142228545e3597eb4a1637f850ce5d3f14b0826bdfb8a8d971779690c4fda6823fa1915fc57f9c86b9ffae48dbe39e7a225123304f5c SHA512 9cc28c5e9ce4be87e09e7be01138c35bbe954efb6c1400e92b1a6b5f50e426b59d74651802359015840d5ec4a5583bf8f579bf7f08eb778d5950c8c8dfe4c80c
22 DIST pre-commit-2.20.0.tar.gz 266604 BLAKE2B 470f032e6d5bfcdd9ac8ba8f37d4323b601da0c82bcd524ffc575dc688fe81ad326a1f6a8ddd03da6e37130319ee40070c03d9789cd6e0e4b427a1d6e646416e SHA512 b1da558a0e5d8f2f655427089f1d0b11b01ad7513ece7a0b3b67c33529cf3584edba558c78704e6da6ca18876b1d6c0fa8698e01fd7c2439b8d4dc0a93961e52
23
24 diff --git a/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild
25 deleted file mode 100644
26 index 6697add00888..000000000000
27 --- a/dev-vcs/pre-commit/pre-commit-2.19.0.ebuild
28 +++ /dev/null
29 @@ -1,52 +0,0 @@
30 -# Copyright 1999-2022 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=8
34 -
35 -# Many test failures with py3.11 as of 2.19.0
36 -PYTHON_COMPAT=( python3_{8..10} )
37 -DISTUTILS_SINGLE_IMPL=1
38 -DISTUTILS_USE_PEP517=setuptools
39 -PYTHON_REQ_USE="sqlite"
40 -
41 -inherit distutils-r1
42 -
43 -DESCRIPTION="A framework for managing and maintaining multi-language Git pre-commit hooks"
44 -HOMEPAGE="https://pre-commit.com/"
45 -SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
46 -
47 -LICENSE="MIT"
48 -SLOT="0"
49 -KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86"
50 -
51 -RDEPEND="dev-vcs/git
52 - $(python_gen_cond_dep '
53 - >=dev-python/cfgv-2.0.0[${PYTHON_USEDEP}]
54 - >=dev-python/identify-1.0.0[${PYTHON_USEDEP}]
55 - >=dev-python/nodeenv-0.11.1[${PYTHON_USEDEP}]
56 - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
57 - dev-python/toml[${PYTHON_USEDEP}]
58 - >=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
59 - ')"
60 -BDEPEND="test? (
61 - $(python_gen_cond_dep '
62 - dev-python/pytest-env[${PYTHON_USEDEP}]
63 - dev-python/re-assert[${PYTHON_USEDEP}]
64 - ')
65 -)"
66 -
67 -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
68 -
69 -# The former two require a boatload of dependencies (e.g. Conda, Go, R and more) in order to run
70 -# and while some of them do include "skip if not found" logic, most of them do not.
71 -# The latter consistently fail with
72 -# Calling "git rev-parse" fails with "fatal: not a git repository (or any of the parent directories): .git".
73 -# including with the sandbox disabled and when run manually with tox.
74 -EPYTEST_DESELECT=(
75 - tests/languages/
76 - tests/repository_test.py
77 - tests/main_test.py::test_all_cmds
78 - tests/main_test.py::test_try_repo
79 -)
80 -
81 -distutils_enable_tests pytest