diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-02-02 01:39:05 +0000 |
commit | fcc5224904648a8e6eb528d7603154160a20022f (patch) | |
tree | 3bfce096b38a9cea8eed13fc70c1526c456e9abd /eclass/user.eclass | |
parent | 2fd57282f0262ca084e05b0f2c63fbada395d02b (diff) |
gentoo resync : 02.02.2022
Diffstat (limited to 'eclass/user.eclass')
-rw-r--r-- | eclass/user.eclass | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/eclass/user.eclass b/eclass/user.eclass index d03d31819fcc..581704eae815 100644 --- a/eclass/user.eclass +++ b/eclass/user.eclass @@ -1,22 +1,19 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: user.eclass # @MAINTAINER: # base-system@gentoo.org (Linux) # Michał Górny <mgorny@gentoo.org> (NetBSD) -# @SUPPORTED_EAPIS: 5 6 7 8 +# @SUPPORTED_EAPIS: 6 7 8 # @BLURB: user management in ebuilds # @DEPRECATED: acct-user/acct-group packages # @DESCRIPTION: # The user eclass contains a suite of functions that allow ebuilds # to quickly make sure users in the installed system are sane. -if [[ -z ${_USER_ECLASS} ]]; then -_USER_ECLASS=1 - -case ${EAPI:-0} in - 5|6|7) ;; +case ${EAPI} in + 6|7) ;; 8) if [[ ${CATEGORY} != acct-* ]]; then eerror "In EAPI ${EAPI}, packages must not inherit user.eclass" @@ -29,6 +26,9 @@ case ${EAPI:-0} in *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac +if [[ -z ${_USER_ECLASS} ]]; then +_USER_ECLASS=1 + inherit user-info # @FUNCTION: _assert_pkg_ebuild_phase |