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, 30 Jun 2022 09:02:06
Message-Id: 1656579709.0cfa5ced691e7a76bc98b0b413ca0f0cb3a03835.marecki@gentoo
1 commit: 0cfa5ced691e7a76bc98b0b413ca0f0cb3a03835
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 30 08:17:02 2022 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 30 09:01:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cfa5ced
7
8 dev-vcs/pre-commit: drop 2.17.0, 2.18.1
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 dev-vcs/pre-commit/Manifest | 2 --
13 dev-vcs/pre-commit/pre-commit-2.17.0.ebuild | 51 -----------------------------
14 dev-vcs/pre-commit/pre-commit-2.18.1.ebuild | 51 -----------------------------
15 3 files changed, 104 deletions(-)
16
17 diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest
18 index 915c064870cd..d4fb60efa5d0 100644
19 --- a/dev-vcs/pre-commit/Manifest
20 +++ b/dev-vcs/pre-commit/Manifest
21 @@ -1,3 +1 @@
22 -DIST pre-commit-2.17.0.tar.gz 261131 BLAKE2B 114fac379690ee4c1c60970a1b0fbcd20faea785837c174514c3fc3d247ec79f52fb5f14c96a762921395d682017a9cc406dc59b3042fc955cd65019fb781a3f SHA512 54b5af9088083ad0c57fab09c06c35bd5921b29348454fc8fc16081d3c6a2e0add13f8a18f06b7408a0e06babc5e15659b37ab53797edd3514d516059e2343a8
23 -DIST pre-commit-2.18.1.tar.gz 263642 BLAKE2B 0ddd0e8bc7450c6bce2080155851c4b8d7e81fe1683dbea389d24e79906b52850ca8cc16b57a4b6192a389a10f8e9d0dfeaa23deaf59027093dc4db61b4533c1 SHA512 38ad176675b40eb4fd2475e51f3079cff5d84733401592a8a00021cba6656f01a38c5835298db50607fd8d188728c127600c731795fbc149436a5e4aada94fc1
24 DIST pre-commit-2.19.0.tar.gz 266117 BLAKE2B d2105fb9aa64e63c7d93142228545e3597eb4a1637f850ce5d3f14b0826bdfb8a8d971779690c4fda6823fa1915fc57f9c86b9ffae48dbe39e7a225123304f5c SHA512 9cc28c5e9ce4be87e09e7be01138c35bbe954efb6c1400e92b1a6b5f50e426b59d74651802359015840d5ec4a5583bf8f579bf7f08eb778d5950c8c8dfe4c80c
25
26 diff --git a/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild
27 deleted file mode 100644
28 index 3d2b9177deee..000000000000
29 --- a/dev-vcs/pre-commit/pre-commit-2.17.0.ebuild
30 +++ /dev/null
31 @@ -1,51 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=8
36 -
37 -PYTHON_COMPAT=( python3_{8..10} )
38 -DISTUTILS_SINGLE_IMPL=1
39 -DISTUTILS_USE_PEP517=setuptools
40 -PYTHON_REQ_USE="sqlite"
41 -
42 -inherit distutils-r1
43 -
44 -DESCRIPTION="A framework for managing and maintaining multi-language Git pre-commit hooks"
45 -HOMEPAGE="https://pre-commit.com/"
46 -SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
47 -
48 -LICENSE="MIT"
49 -SLOT="0"
50 -KEYWORDS="amd64 ~hppa ~ppc ~ppc64 x86"
51 -
52 -RDEPEND="dev-vcs/git
53 - $(python_gen_cond_dep '
54 - >=dev-python/cfgv-2.0.0[${PYTHON_USEDEP}]
55 - >=dev-python/identify-1.0.0[${PYTHON_USEDEP}]
56 - >=dev-python/nodeenv-0.11.1[${PYTHON_USEDEP}]
57 - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
58 - dev-python/toml[${PYTHON_USEDEP}]
59 - >=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
60 - ')"
61 -BDEPEND="test? (
62 - $(python_gen_cond_dep '
63 - dev-python/pytest-env[${PYTHON_USEDEP}]
64 - dev-python/re-assert[${PYTHON_USEDEP}]
65 - ')
66 -)"
67 -
68 -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
69 -
70 -# The former two require a boatload of dependencies (e.g. Conda, Go, R and more) in order to run
71 -# and while some of them do include "skip if not found" logic, most of them do not.
72 -# The latter consistently fail with
73 -# Calling "git rev-parse" fails with "fatal: not a git repository (or any of the parent directories): .git".
74 -# including with the sandbox disabled and when run manually with tox.
75 -EPYTEST_DESELECT=(
76 - tests/languages/
77 - tests/repository_test.py
78 - tests/main_test.py::test_all_cmds
79 - tests/main_test.py::test_try_repo
80 -)
81 -
82 -distutils_enable_tests pytest
83
84 diff --git a/dev-vcs/pre-commit/pre-commit-2.18.1.ebuild b/dev-vcs/pre-commit/pre-commit-2.18.1.ebuild
85 deleted file mode 100644
86 index 2794cad11571..000000000000
87 --- a/dev-vcs/pre-commit/pre-commit-2.18.1.ebuild
88 +++ /dev/null
89 @@ -1,51 +0,0 @@
90 -# Copyright 1999-2022 Gentoo Authors
91 -# Distributed under the terms of the GNU General Public License v2
92 -
93 -EAPI=8
94 -
95 -PYTHON_COMPAT=( python3_{8..10} )
96 -DISTUTILS_SINGLE_IMPL=1
97 -DISTUTILS_USE_PEP517=setuptools
98 -PYTHON_REQ_USE="sqlite"
99 -
100 -inherit distutils-r1
101 -
102 -DESCRIPTION="A framework for managing and maintaining multi-language Git pre-commit hooks"
103 -HOMEPAGE="https://pre-commit.com/"
104 -SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
105 -
106 -LICENSE="MIT"
107 -SLOT="0"
108 -KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86"
109 -
110 -RDEPEND="dev-vcs/git
111 - $(python_gen_cond_dep '
112 - >=dev-python/cfgv-2.0.0[${PYTHON_USEDEP}]
113 - >=dev-python/identify-1.0.0[${PYTHON_USEDEP}]
114 - >=dev-python/nodeenv-0.11.1[${PYTHON_USEDEP}]
115 - >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
116 - dev-python/toml[${PYTHON_USEDEP}]
117 - >=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}]
118 - ')"
119 -BDEPEND="test? (
120 - $(python_gen_cond_dep '
121 - dev-python/pytest-env[${PYTHON_USEDEP}]
122 - dev-python/re-assert[${PYTHON_USEDEP}]
123 - ')
124 -)"
125 -
126 -DOCS=( CHANGELOG.md CONTRIBUTING.md README.md )
127 -
128 -# The former two require a boatload of dependencies (e.g. Conda, Go, R and more) in order to run
129 -# and while some of them do include "skip if not found" logic, most of them do not.
130 -# The latter consistently fail with
131 -# Calling "git rev-parse" fails with "fatal: not a git repository (or any of the parent directories): .git".
132 -# including with the sandbox disabled and when run manually with tox.
133 -EPYTEST_DESELECT=(
134 - tests/languages/
135 - tests/repository_test.py
136 - tests/main_test.py::test_all_cmds
137 - tests/main_test.py::test_try_repo
138 -)
139 -
140 -distutils_enable_tests pytest