Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cmd2/
Date: Sat, 21 May 2022 13:49:21
Message-Id: 1653140954.d324153ae6f483180a09bf372f01ef0a1caf359b.mgorny@gentoo
1 commit: d324153ae6f483180a09bf372f01ef0a1caf359b
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat May 21 13:48:50 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 21 13:49:14 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d324153a
7
8 dev-python/cmd2: Remove obsolete test-dep on sys-apps/which
9
10 pyperclip uses shutil.which() on all modern Python versions, rendering
11 the external executable unnecessary.
12
13 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
14
15 dev-python/cmd2/cmd2-2.4.1.ebuild | 3 +--
16 1 file changed, 1 insertion(+), 2 deletions(-)
17
18 diff --git a/dev-python/cmd2/cmd2-2.4.1.ebuild b/dev-python/cmd2/cmd2-2.4.1.ebuild
19 index 3ffe96f16981..d29964c9f289 100644
20 --- a/dev-python/cmd2/cmd2-2.4.1.ebuild
21 +++ b/dev-python/cmd2/cmd2-2.4.1.ebuild
22 @@ -30,12 +30,11 @@ RDEPEND="
23 # pygtk, xclip, xsel, klipper, qtpy, pyqt5, pyqt4.
24 # klipper is known to be broken in Xvfb, and therefore causes test
25 # failures. to avoid them, we must ensure that one of the backends
26 -# preferred to it is available (i.e. xclip or xsel) + which(1).
27 +# preferred to it is available (i.e. xclip or xsel).
28 BDEPEND="
29 dev-python/setuptools_scm[${PYTHON_USEDEP}]
30 test? (
31 dev-python/pytest-mock[${PYTHON_USEDEP}]
32 - sys-apps/which
33 || (
34 x11-misc/xclip
35 x11-misc/xsel