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: sys-apps/pkgcore/
Date: Mon, 14 Jun 2021 06:21:21
Message-Id: 1623651674.0148c8925bc9f84298fdd5c704ec4b49126f40c9.mgorny@gentoo
1 commit: 0148c8925bc9f84298fdd5c704ec4b49126f40c9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jun 14 06:16:52 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jun 14 06:21:14 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0148c892
7
8 sys-apps/pkgcore: Add an explicit dep on bash-5.0+
9
10 EAPI 8 support requires bash-5.0+ to be present. For this reason,
11 pkgcore explicitly refuses to run on systems with older bash. Add a dep
12 to ensure that everything keeps working.
13
14 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
15
16 sys-apps/pkgcore/{pkgcore-0.12.1.ebuild => pkgcore-0.12.1-r1.ebuild} | 4 +++-
17 1 file changed, 3 insertions(+), 1 deletion(-)
18
19 diff --git a/sys-apps/pkgcore/pkgcore-0.12.1.ebuild b/sys-apps/pkgcore/pkgcore-0.12.1-r1.ebuild
20 similarity index 93%
21 rename from sys-apps/pkgcore/pkgcore-0.12.1.ebuild
22 rename to sys-apps/pkgcore/pkgcore-0.12.1-r1.ebuild
23 index 1f9f32fa44e..7b0ac140b60 100644
24 --- a/sys-apps/pkgcore/pkgcore-0.12.1.ebuild
25 +++ b/sys-apps/pkgcore/pkgcore-0.12.1-r1.ebuild
26 @@ -20,7 +20,9 @@ HOMEPAGE="https://github.com/pkgcore/pkgcore"
27 LICENSE="BSD MIT"
28 SLOT="0"
29
30 -RDEPEND="dev-python/lxml[${PYTHON_USEDEP}]"
31 +RDEPEND="
32 + >=app-shells/bash-5.0
33 + dev-python/lxml[${PYTHON_USEDEP}]"
34 if [[ ${PV} == *9999 ]]; then
35 RDEPEND+=" ~dev-python/snakeoil-9999[${PYTHON_USEDEP}]"
36 else