From 4cd2370bed609c118b6edfde5d3f116e5c35b897 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 3 Dec 2017 16:17:22 +0000 Subject: gentoo resync : 03.12.2017 --- eclass/kde5-functions.eclass | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'eclass/kde5-functions.eclass') diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass index 44e45e4734fd..36d61f8fc503 100644 --- a/eclass/kde5-functions.eclass +++ b/eclass/kde5-functions.eclass @@ -4,6 +4,7 @@ # @ECLASS: kde5-functions.eclass # @MAINTAINER: # kde@gentoo.org +# @SUPPORTED_EAPIS: 6 # @BLURB: Common ebuild functions for packages based on KDE Frameworks 5. # @DESCRIPTION: # This eclass contains functions shared by the other KDE eclasses and forms @@ -16,9 +17,6 @@ _KDE5_FUNCTIONS_ECLASS=1 inherit toolchain-funcs versionator -# @ECLASS-VARIABLE: EAPI -# @DESCRIPTION: -# Currently EAPI 6 is supported. case ${EAPI} in 6) ;; *) die "EAPI=${EAPI:-0} is not supported" ;; @@ -28,10 +26,9 @@ esac # @DESCRIPTION: # If PV matches "*9999*", this is automatically set to "live". # Otherwise, this is automatically set to "release". +KDE_BUILD_TYPE="release" if [[ ${PV} = *9999* ]]; then KDE_BUILD_TYPE="live" -else - KDE_BUILD_TYPE="release" fi export KDE_BUILD_TYPE @@ -74,6 +71,7 @@ esac # kde5_pkg_pretend and kde5_pkg_setup. # @ECLASS-VARIABLE: KDEBASE +# @DEFAULT_UNSET # @DESCRIPTION: # This gets set to a non-zero value when a package is considered a # kdevelop ebuild. -- cgit v1.2.3