diff options
author | Sam James <sam@gentoo.org> | 2021-06-20 22:47:41 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-06-20 22:47:41 +0100 |
commit | 28ca5051286690166fc9d6f3a12b77ad687c17aa (patch) | |
tree | e30fb2e99153cfc33d88334f5ba6d9cdd0fca7ba /eclass/user.eclass | |
parent | vala.eclass: document _vala_use_depend, mark @INTERNAL (diff) | |
download | gentoo-28ca5051286690166fc9d6f3a12b77ad687c17aa.tar.gz gentoo-28ca5051286690166fc9d6f3a12b77ad687c17aa.tar.bz2 gentoo-28ca5051286690166fc9d6f3a12b77ad687c17aa.zip |
user.eclass: add _assert_pkg_ebuild_phase @DESCRIPTION
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/user.eclass')
-rw-r--r-- | eclass/user.eclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/eclass/user.eclass b/eclass/user.eclass index c86ed53a11d0..7c643252f6da 100644 --- a/eclass/user.eclass +++ b/eclass/user.eclass @@ -33,6 +33,8 @@ inherit user-info # @FUNCTION: _assert_pkg_ebuild_phase # @INTERNAL # @USAGE: <calling func name> +# @DESCRIPTION: +# Raises an alert if the phase is not suitable for user.eclass usage. _assert_pkg_ebuild_phase() { case ${EBUILD_PHASE} in setup|preinst|postinst|prerm|postrm) ;; |