>>>>> On Thu, 15 Jul 2021, Florian Schmaus wrote:
 
> -DEPEND="
> +_XDG_DEPEND="
>       dev-util/desktop-file-utils
>       x11-misc/shared-mime-info
>  "
> +
> +case "${EAPI:-0}" in
> +     4|5|6|7)
> +             DEPEND="${_XDG_DEPEND}"
> +             ;;
> +     *)
> +             IDEPEND="${_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

Attachment: signature.asc
Description: PGP signature

Reply via email to