diff options
| author | Marty E. Plummer <hanetzer@startmail.com> | 2019-01-01 16:19:41 -0600 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-01-26 19:18:32 +0100 |
| commit | 31ce5ad28f909fc3a080d72d41dd00ee44993412 (patch) | |
| tree | 159365f36bbce603a96f2222fb9565bc539de9bf | |
| parent | 42c16258bbbb94fec63c105bd89a06dce9544a25 (diff) | |
| download | kde-31ce5ad28f909fc3a080d72d41dd00ee44993412.tar.gz kde-31ce5ad28f909fc3a080d72d41dd00ee44993412.tar.bz2 kde-31ce5ad28f909fc3a080d72d41dd00ee44993412.zip | |
xdg.eclass: enable EAPI 7
Package-Manager: Portage-2.3.51, Repoman 2.3.11
Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
| -rw-r--r-- | eclass/xdg.eclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/xdg.eclass b/eclass/xdg.eclass index 967a9fd023f..219be712e84 100644 --- a/eclass/xdg.eclass +++ b/eclass/xdg.eclass @@ -6,7 +6,7 @@ # freedesktop-bugs@gentoo.org # @AUTHOR: # Original author: Gilles Dartiguelongue <eva@gentoo.org> -# @SUPPORTED_EAPIS: 4 5 6 +# @SUPPORTED_EAPIS: 4 5 6 7 # @BLURB: Provides phases for XDG compliant packages. # @DESCRIPTION: # Utility eclass to update the desktop, icon and shared mime info as laid @@ -15,7 +15,7 @@ inherit xdg-utils case "${EAPI:-0}" in - 4|5|6) + 4|5|6|7) EXPORT_FUNCTIONS src_prepare pkg_preinst pkg_postinst pkg_postrm ;; *) die "EAPI=${EAPI} is not supported" ;; @@ -35,7 +35,7 @@ fi xdg_src_prepare() { xdg_environment_reset - has ${EAPI:-0} 6 && default + [[ ${EAPI:-0} != [45] ]] && default } # @FUNCTION: xdg_pkg_preinst |
