mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-shells/autojump: Drop dependency on pre-commit
Thanks to Eli Schwartz for pointing this out. Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -21,16 +21,13 @@ REQUIRED_USE="ipython? ( ${PYTHON_REQUIRED_USE} )"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
RDEPEND="ipython? ( ${PYTHON_DEPS} )"
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
test? (
|
||||
>=dev-vcs/pre-commit-0.7.0[${PYTHON_SINGLE_USEDEP}]
|
||||
)
|
||||
"
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PV}-Use-mock-from-unittest.patch
|
||||
"${FILESDIR}"/${PV}-Drop-pre-commit.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
29
app-shells/autojump/files/22.5.3-Drop-pre-commit.patch
Normal file
29
app-shells/autojump/files/22.5.3-Drop-pre-commit.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
From c625811d9a080a3b27c62cdbc05dbc0ff6b73855 Mon Sep 17 00:00:00 2001
|
||||
From: Matt Turner <mattst88@gmail.com>
|
||||
Date: Fri, 28 Feb 2025 10:02:30 -0500
|
||||
Subject: [PATCH] Drop pre-commit
|
||||
|
||||
---
|
||||
tox.ini | 7 -------
|
||||
1 file changed, 7 deletions(-)
|
||||
|
||||
diff --git ./tox.ini ./tox.ini
|
||||
index 8a21b97..0f08577 100644
|
||||
--- ./tox.ini
|
||||
+++ ./tox.ini
|
||||
@@ -22,12 +22,5 @@ commands =
|
||||
py.test -vv -rxs --tb native -s --strict {posargs:tests}
|
||||
coverage report -m
|
||||
|
||||
-
|
||||
-[testenv:pre-commit]
|
||||
-deps =
|
||||
- pre-commit>=0.7.0
|
||||
-commands =
|
||||
- pre-commit {posargs}
|
||||
-
|
||||
[pytest]
|
||||
norecursedirs = .git .tox docs
|
||||
--
|
||||
2.45.3
|
||||
|
||||
Reference in New Issue
Block a user