1 |
commit: f84f9ce37d1c459b455527d175074b9e4d399b2d |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 24 14:14:20 2022 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 24 14:22:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f84f9ce3 |
7 |
|
8 |
dev-vcs/pre-commit: drop 2.15.0, 2.16.0 |
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.15.0.ebuild | 58 ----------------------------- |
14 |
dev-vcs/pre-commit/pre-commit-2.16.0.ebuild | 58 ----------------------------- |
15 |
3 files changed, 118 deletions(-) |
16 |
|
17 |
diff --git a/dev-vcs/pre-commit/Manifest b/dev-vcs/pre-commit/Manifest |
18 |
index 3cc696338bf0..8f1598c77ea6 100644 |
19 |
--- a/dev-vcs/pre-commit/Manifest |
20 |
+++ b/dev-vcs/pre-commit/Manifest |
21 |
@@ -1,3 +1 @@ |
22 |
-DIST pre-commit-2.15.0.tar.gz 255545 BLAKE2B 8fbb1fd6b1298ff1c5a6884dae53c79d108e8c4b74d05d6be36d562327fd024432d60e6df4570217e1b3f4ad8e33ee4d0d54a5d940f4833a46d4e9cb59698b3c SHA512 b87985aa625509d7a21e31e5774f259c264ec74fef88fc5e290cbac0326cdbadc37ab54b5bf3048d815cf9bc6d4adb71619fcb84c955c1bc9741da8dfd34251c |
23 |
-DIST pre-commit-2.16.0.tar.gz 256930 BLAKE2B e515dcc9109c91cc7ab5ce60f662ebd62cce4f23e32676b7c295332c959fa10a34c320a197d15d7307b94aee53e7ade5da62aed8bbe122262db15d88d82e9757 SHA512 c9eb14a40e25e8408c2b2b5687eba4908d609bbb7bcf58a0153326696d272bca555156fd75f3ec5f0dec219aeeb4084df77f329f47cf190e40052c11e92fe185 |
24 |
DIST pre-commit-2.17.0.tar.gz 261131 BLAKE2B 114fac379690ee4c1c60970a1b0fbcd20faea785837c174514c3fc3d247ec79f52fb5f14c96a762921395d682017a9cc406dc59b3042fc955cd65019fb781a3f SHA512 54b5af9088083ad0c57fab09c06c35bd5921b29348454fc8fc16081d3c6a2e0add13f8a18f06b7408a0e06babc5e15659b37ab53797edd3514d516059e2343a8 |
25 |
|
26 |
diff --git a/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild |
27 |
deleted file mode 100644 |
28 |
index 46bca801fe4a..000000000000 |
29 |
--- a/dev-vcs/pre-commit/pre-commit-2.15.0.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,58 +0,0 @@ |
32 |
-# Copyright 1999-2021 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 |
-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 |
-# TODO: figure out why these tests - all of which invoke git - fail: |
52 |
-# - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall], |
53 |
-# tests/main_test.py::test_try_repo: |
54 |
-# Calling "git rev-parse" fails with "fatal: not a git repository (or any of the parent directories): .git". |
55 |
-# NOT a sandbox issue it seems, as disabling it does not help. |
56 |
-# - tests/commands/install_uninstall_test.py::test_environment_not_sourced: |
57 |
-# Unexpected error "/usr/bin/env: 'python3.8': No such file or directory" - but only if pre-commit |
58 |
-# has previously been installed. |
59 |
-# - tests/commands/install_uninstall_test.py::test_installed_from_venv: |
60 |
-# the function invoking "git commit" returns 1 instead of 0, no details. |
61 |
-RESTRICT="test" |
62 |
- |
63 |
-RDEPEND="dev-vcs/git |
64 |
- $(python_gen_cond_dep ' |
65 |
- dev-python/cfgv[${PYTHON_USEDEP}] |
66 |
- dev-python/identify[${PYTHON_USEDEP}] |
67 |
- dev-python/nodeenv[${PYTHON_USEDEP}] |
68 |
- dev-python/pyyaml[${PYTHON_USEDEP}] |
69 |
- dev-python/toml[${PYTHON_USEDEP}] |
70 |
- >=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}] |
71 |
- ')" |
72 |
-BDEPEND="test? ( |
73 |
- $(python_gen_cond_dep ' |
74 |
- dev-python/pytest-env[${PYTHON_USEDEP}] |
75 |
- dev-python/re-assert[${PYTHON_USEDEP}] |
76 |
- ') |
77 |
-)" |
78 |
- |
79 |
-DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) |
80 |
- |
81 |
-distutils_enable_tests --install pytest |
82 |
- |
83 |
-src_prepare() { |
84 |
- default |
85 |
- |
86 |
- # These tests require a boatload of dependencies (e.g. Conda, Go, R and more) in order to run |
87 |
- # and while some of them do include "skip if not found" logic, most of them do not. |
88 |
- rm -rf tests/languages tests/repository_test.py |
89 |
-} |
90 |
|
91 |
diff --git a/dev-vcs/pre-commit/pre-commit-2.16.0.ebuild b/dev-vcs/pre-commit/pre-commit-2.16.0.ebuild |
92 |
deleted file mode 100644 |
93 |
index a75c6d3fd4cb..000000000000 |
94 |
--- a/dev-vcs/pre-commit/pre-commit-2.16.0.ebuild |
95 |
+++ /dev/null |
96 |
@@ -1,58 +0,0 @@ |
97 |
-# Copyright 1999-2022 Gentoo Authors |
98 |
-# Distributed under the terms of the GNU General Public License v2 |
99 |
- |
100 |
-EAPI=8 |
101 |
- |
102 |
-PYTHON_COMPAT=( python3_{8..10} ) |
103 |
-DISTUTILS_SINGLE_IMPL=1 |
104 |
-PYTHON_REQ_USE="sqlite" |
105 |
- |
106 |
-inherit distutils-r1 |
107 |
- |
108 |
-DESCRIPTION="A framework for managing and maintaining multi-language Git pre-commit hooks" |
109 |
-HOMEPAGE="https://pre-commit.com/" |
110 |
-SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
111 |
- |
112 |
-LICENSE="MIT" |
113 |
-SLOT="0" |
114 |
-KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" |
115 |
- |
116 |
-# TODO: figure out why these tests - all of which invoke git - fail: |
117 |
-# - tests/main_test.py::test_all_cmds[autoupdate,hook-impl,install,install-hooks,migrate-config,run,uninstall], |
118 |
-# tests/main_test.py::test_try_repo: |
119 |
-# Calling "git rev-parse" fails with "fatal: not a git repository (or any of the parent directories): .git". |
120 |
-# NOT a sandbox issue it seems, as disabling it does not help. |
121 |
-# - tests/commands/install_uninstall_test.py::test_environment_not_sourced: |
122 |
-# Unexpected error "/usr/bin/env: 'python3.8': No such file or directory" - but only if pre-commit |
123 |
-# has previously been installed. |
124 |
-# - tests/commands/install_uninstall_test.py::test_installed_from_venv: |
125 |
-# the function invoking "git commit" returns 1 instead of 0, no details. |
126 |
-RESTRICT="test" |
127 |
- |
128 |
-RDEPEND="dev-vcs/git |
129 |
- $(python_gen_cond_dep ' |
130 |
- >=dev-python/cfgv-2.0.0[${PYTHON_USEDEP}] |
131 |
- >=dev-python/identify-1.0.0[${PYTHON_USEDEP}] |
132 |
- >=dev-python/nodeenv-0.11.1[${PYTHON_USEDEP}] |
133 |
- >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}] |
134 |
- dev-python/toml[${PYTHON_USEDEP}] |
135 |
- >=dev-python/virtualenv-20.0.8[${PYTHON_USEDEP}] |
136 |
- ')" |
137 |
-BDEPEND="test? ( |
138 |
- $(python_gen_cond_dep ' |
139 |
- dev-python/pytest-env[${PYTHON_USEDEP}] |
140 |
- dev-python/re-assert[${PYTHON_USEDEP}] |
141 |
- ') |
142 |
-)" |
143 |
- |
144 |
-DOCS=( CHANGELOG.md CONTRIBUTING.md README.md ) |
145 |
- |
146 |
-distutils_enable_tests --install pytest |
147 |
- |
148 |
-src_prepare() { |
149 |
- default |
150 |
- |
151 |
- # These tests require a boatload of dependencies (e.g. Conda, Go, R and more) in order to run |
152 |
- # and while some of them do include "skip if not found" logic, most of them do not. |
153 |
- rm -rf tests/languages tests/repository_test.py |
154 |
-} |