summaryrefslogtreecommitdiff
path: root/eclass/user.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-29 10:15:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-29 10:15:54 +0100
commit9aa80713372911cec499b3adb2cd746790920916 (patch)
treeb8e99dc5dd60ac2094a27cc52f74aada8df38f05 /eclass/user.eclass
parentb4d43e8c611df4a8061b6f88d9e9f6b1e3c83903 (diff)
gentoo resync : 29.06.2021
Diffstat (limited to 'eclass/user.eclass')
-rw-r--r--eclass/user.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/user.eclass b/eclass/user.eclass
index e1f87a383ada..d03d31819fcc 100644
--- a/eclass/user.eclass
+++ b/eclass/user.eclass
@@ -5,7 +5,7 @@
# @MAINTAINER:
# base-system@gentoo.org (Linux)
# Michał Górny <mgorny@gentoo.org> (NetBSD)
-# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7
+# @SUPPORTED_EAPIS: 5 6 7 8
# @BLURB: user management in ebuilds
# @DEPRECATED: acct-user/acct-group packages
# @DESCRIPTION:
@@ -16,8 +16,8 @@ if [[ -z ${_USER_ECLASS} ]]; then
_USER_ECLASS=1
case ${EAPI:-0} in
- 0|1|2|3|4|5|6|7) ;;
- *)
+ 5|6|7) ;;
+ 8)
if [[ ${CATEGORY} != acct-* ]]; then
eerror "In EAPI ${EAPI}, packages must not inherit user.eclass"
eerror "unless they are in the acct-user or acct-group category."
@@ -26,6 +26,7 @@ case ${EAPI:-0} in
die "Invalid \"inherit user\" in EAPI ${EAPI}"
fi
;;
+ *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
inherit user-info