Gentoo Archives: gentoo-dev

From: Mart Raudsepp <leio@g.o>
To: gentoo-dev@l.g.o
Cc: "Marty E. Plummer" <hanetzer@×××××××××.com>
Subject: Re: [gentoo-dev] [PATCH 1/2] gnome2-utils.eclass: make EAPI 7 ready
Date: Mon, 18 Jun 2018 13:05:55
Message-Id: 1529327137.17927.5.camel@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH 1/2] gnome2-utils.eclass: make EAPI 7 ready by Ulrich Mueller
1 Ühel kenal päeval, E, 18.06.2018 kell 08:01, kirjutas Ulrich Mueller:
2 > > > > > > On Sun, 17 Jun 2018, Marty E Plummer wrote:
3 > > Signed-off-by: Marty E. Plummer <hanetzer@×××××××××.com>
4 >
5 > Please don't yet use Signed-off-by. Our policy on this (GLEP 76) is
6 > still a draft and subject to change.
7 >
8 > > -DEPEND=">=sys-apps/sed-4"
9 > > -
10 > > +# sed needs to be executable on the build system
11 > > +BDEPEND=">=sys-apps/sed-4"
12 > > +[[ ${EAPI:-0} == [0123456] ]] && DEPEND="${BDEPEND}"
13 >
14 > These >=sed-4 dependencies are a relic from the time when there was a
15 > sed-3. It left the tree in 2003 though.
16 >
17 > So I suggest to remove this build-time dependency altogether.
18
19 I prefer being explicit, but that's probably a lost "battle" for sed,
20 so, OK, we can remove it instead.
21
22 Otherwise as a generic question for EAPI-7 support in other eclasses:
23 Doesn't this case leak a BDEPEND variable to ebuilds for lower EAPIs,
24 as there's no "unset BDEPEND" for the lower EAPIs. And is that OK?
25
26
27 I have various changes still in my TODO queue to both these eclasses,
28 and I need to get to those soon. So I suggest to wait with any pushing
29 of these to be done together, so metadata is invalidated only once.
30 I also would welcome help making these changes, to reduce the time
31 delta where these EAPI-7 support wouldn't be pushed due to this. If it
32 becomes unreasonably delayed, so ebuilds want to start using EAPI-7 for
33 these cases, then I guess it can be pushed once fixed up. But yeah, I
34 need the other changes within 1-2 weeks to start moving GNOME 3.26 to
35 tree.
36 That's about putting icon cache stuff to xdg-utils and xdg instead of
37 gnome* (Qt uses it too), some magic to avoid double calls if possible,
38 and some other changes that come out of gnome overlay gnome-
39 meson.eclass review (with the goal of perhaps not needing it in most
40 cases when combining with "inherit meson xdg" instead)
41
42
43 Mart

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies