Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: Florian Schmaus <flow@g.o>
Cc: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] xdg.eclass: add EAPI 8 support
Date: Thu, 15 Jul 2021 12:04:07
Message-Id: u8s27lr6g@gentoo.org
In Reply to: [gentoo-dev] [PATCH] xdg.eclass: add EAPI 8 support by Florian Schmaus
1 >>>>> On Thu, 15 Jul 2021, Florian Schmaus wrote:
2
3 > -DEPEND="
4 > +_XDG_DEPEND="
5 > dev-util/desktop-file-utils
6 > x11-misc/shared-mime-info
7 > "
8 > +
9 > +case "${EAPI:-0}" in
10 > + 4|5|6|7)
11 > + DEPEND="${_XDG_DEPEND}"
12 > + ;;
13 > + *)
14 > + IDEPEND="${_XDG_DEPEND}"
15 > + ;;
16 > +esac
17
18 If it is IDEPEND in EAPI 8 (i.e. an install-time dependency which
19 applies to pkg_postinst etc.), then presumably the best approximation
20 in other EAPIs would be RDEPEND:
21 https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-720008.1
22
23 Think about installion of a binpkg where DEPEND won't be pulled in.
24
25 Ulrich

Attachments

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

Replies

Subject Author
Re: [gentoo-dev] [PATCH] xdg.eclass: add EAPI 8 support Mart Raudsepp <leio@g.o>