commit: 39b66747da4b649b5eb878dba993cb7dd9f47952
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 9 00:25:16 2019 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Wed Jan 9 00:40:17 2019 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=39b66747
kde5-functions.eclass: Ban get_kde_version, kde_l10n2lingua in EAPI-7
* get_kde_version was never used and is broken for Jan-Sep kde-apps releases
* kde_l10n2lingua is not used since kde-l10n and kde4-l10n packages are gone
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
eclass/kde5-functions.eclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
index b2d8813736..4ff518f841 100644
--- a/eclass/kde5-functions.eclass
+++ b/eclass/kde5-functions.eclass
@@ -288,6 +288,7 @@ add_qt_dep() {
# If the version equals 9999, "live" is returned.
# If no version is specified, ${PV} is used.
get_kde_version() {
+ [[ ${EAPI} != 6 ]] && die "${FUNCNAME} is banned in EAPI 7 and later"
local ver=${1:-${PV}}
local major=$(ver_cut 1 ${ver})
local minor=$(ver_cut 2 ${ver})
@@ -306,6 +307,7 @@ get_kde_version() {
# Output KDE lingua flag name(s) (without prefix(es)) appropriate for
# given l10n(s).
kde_l10n2lingua() {
+ [[ ${EAPI} != 6 ]] && die "${FUNCNAME} is banned in EAPI 7 and later"
local l
for l; do
case ${l} in