From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D3A0513933E for ; Thu, 15 Jul 2021 12:04:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0FF5E0CCD; Thu, 15 Jul 2021 12:04:02 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0E0E4E0CAF for ; Thu, 15 Jul 2021 12:04:02 +0000 (UTC) From: Ulrich Mueller To: Florian Schmaus Cc: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [PATCH] xdg.eclass: add EAPI 8 support In-Reply-To: <20210715111956.297120-1-flow@gentoo.org> (Florian Schmaus's message of "Thu, 15 Jul 2021 13:19:56 +0200") References: <20210715111956.297120-1-flow@gentoo.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Date: Thu, 15 Jul 2021 14:03:51 +0200 Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Archives-Salt: d0abda7c-4125-4c06-84d0-ad3d8d85eee4 X-Archives-Hash: f651bf900dea72158a546740838db5c5 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable >>>>> On Thu, 15 Jul 2021, Florian Schmaus wrote: =20 > -DEPEND=3D" > +_XDG_DEPEND=3D" > dev-util/desktop-file-utils > x11-misc/shared-mime-info > " > + > +case "${EAPI:-0}" in > + 4|5|6|7) > + DEPEND=3D"${_XDG_DEPEND}" > + ;; > + *) > + IDEPEND=3D"${_XDG_DEPEND}" > + ;; > +esac If it is IDEPEND in EAPI 8 (i.e. an install-time dependency which applies to pkg_postinst etc.), then presumably the best approximation in other EAPIs would be RDEPEND: https://dev.gentoo.org/~ulm/pms/head/pms.html#x1-720008.1 Think about installion of a binpkg where DEPEND won't be pulled in. Ulrich --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFDBAEBCAAtFiEEtDnZ1O9xIP68rzDbUYgzUIhBXi4FAmDwJCcPHHVsbUBnZW50 b28ub3JnAAoJEFGIM1CIQV4u7rIH/j/vFjLCTafaLfuzHZTuc6uoLoJIrwsLaNTs O2HarQUXyXMgG3kSmMYQA6caMCKNWjp8dt4Cr93owlr0T7G/E23WKevVz/xNM6eO JVa0bxbdg6u+Fq5tfinxTlsR6GUJfjcaiqfpJ4PSFVRaVmuXrsVZoVboSd7gch8S w8+TxufMpT6zAsCi1U2PJmR8ukxy3CAYfoXh1Od14ZsekH4t7rxuKX4EaR+VpVG9 tBAFamp9RQlWBzgm2YQZooNIHguiLplxm5cGBg0MY2yH24DLMkJWKpK8Xy4VeBzO Giwi3Jxnt5qDNZClmd5ekOO/6QNjvtw+HA7TWMKbwmPHu8yjGCo= =WkgI -----END PGP SIGNATURE----- --=-=-=--