eclass/app-alternatives: Import from Gentoo and allow EAPI 7

Upstream added this eclass to handle alternatives. Since we don't
support EAPI=8 yet, patch this to allow EAPI 7.

BUG=b:268247620
TEST=emerge-${BOARD} app-alternatives/yacc

Cq-Depend: chromium:4233878
Change-Id: I544f4516481477e854a147838f7862e2e3017700
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/eclass-overlay/+/4234219
Tested-by: Allen Webb <allenwebb@google.com>
Reviewed-by: Mike Frysinger <vapier@chromium.org>
Commit-Queue: Allen Webb <allenwebb@google.com>
1 file changed
tree: b7c2d407735ec8650db16d4f21c5a47b560ffd78
  1. acct-group/
  2. acct-user/
  3. eclass/
  4. metadata/
  5. profiles/
  6. OWNERS
  7. OWNERS.security
  8. PRESUBMIT.cfg
  9. README.md
README.md

CrOS eclass overlay

This eclass overlay is used for 2 purposes: