Gentoo Archives: gentoo-dev

From: "Marty E. Plummer" <hanetzer@×××××××××.com>
To: gentoo-dev@l.g.o
Cc: "Marty E. Plummer" <hanetzer@×××××××××.com>
Subject: [gentoo-dev] [PATCH 05/10] xdg.eclass: make EAPI 7 ready
Date: Thu, 21 Jun 2018 05:13:08
Message-Id: 20180621050950.9162-6-hanetzer@startmail.com
In Reply to: [gentoo-dev] [PATCH 00/10] {gnome2,xdg}{,-utils}.eclass: EAPI 7 work by "Marty E. Plummer"
1 Add dev-util/desktop-file-utils and x11-misc/shared-mime-info to BDEPEND
2 as a number of executables which will need to be executed on the build
3 host are included in them.
4
5 Package-Manager: Portage-2.3.40, Repoman-2.3.9
6 ---
7 eclass/xdg.eclass | 1 +
8 1 file changed, 1 insertion(+)
9
10 diff --git a/eclass/xdg.eclass b/eclass/xdg.eclass
11 index 2a4e1f81abf..bd609f3a493 100644
12 --- a/eclass/xdg.eclass
13 +++ b/eclass/xdg.eclass
14 @@ -26,6 +26,7 @@ DEPEND="
15 dev-util/desktop-file-utils
16 x11-misc/shared-mime-info
17 "
18 +has ${EAPI:-0} 7 && BDEPEND="${DEPEND}"
19 fi
20
21 # @FUNCTION: xdg_src_prepare
22 --
23 2.17.1