summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2013-08-15 14:52:58 +0000
committerMichael Palimaka <kensington@gentoo.org>2013-08-15 14:52:58 +0000
commitb0460db00466d22c61201afa63aa14af6fa9faab (patch)
treeddc5f85f906e816069819ff950ebde46a3da9ed2 /eclass
parentRevision bump. Slotted bcmail and bcprov dependencies. Punted old and broken ... (diff)
downloadgentoo-2-b0460db00466d22c61201afa63aa14af6fa9faab.tar.gz
gentoo-2-b0460db00466d22c61201afa63aa14af6fa9faab.tar.bz2
gentoo-2-b0460db00466d22c61201afa63aa14af6fa9faab.zip
Remove EAPI 3 support.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/kde4-base.eclass23
-rw-r--r--eclass/kde4-functions.eclass9
3 files changed, 15 insertions, 23 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index f201eacc430f..ed784504c07e 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.926 2013/08/15 04:41:30 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.927 2013/08/15 14:52:58 kensington Exp $
+
+ 15 Aug 2013; Michael Palimaka <kensington@gentoo.org> kde4-base.eclass,
+ kde4-functions.eclass:
+ Remove EAPI 3 support.
15 Aug 2013; Ryan Hill <dirtyepic@gentoo.org> toolchain.eclass:
alpha not only needs -Wl,--norelax for 4.6 to build itself, but also for it
diff --git a/eclass/kde4-base.eclass b/eclass/kde4-base.eclass
index 222c0cff1bb6..b9c421b38123 100644
--- a/eclass/kde4-base.eclass
+++ b/eclass/kde4-base.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.127 2013/07/23 19:55:30 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-base.eclass,v 1.128 2013/08/15 14:52:58 kensington Exp $
# @ECLASS: kde4-base.eclass
# @MAINTAINER:
@@ -10,7 +10,7 @@
# The kde4-base.eclass provides support for building KDE4 based ebuilds
# and KDE4 applications.
#
-# NOTE: KDE 4 ebuilds currently support EAPIs 3, 4, and 5. This will be
+# NOTE: KDE 4 ebuilds currently support EAPIs 4 and 5. This will be
# reviewed over time as new EAPI versions are approved.
if [[ ${___ECLASS_ONCE_KDE4_BASE} != "recur -_+^+_- spank" ]] ; then
@@ -336,8 +336,7 @@ if [[ ${PN} != oxygen-icons ]]; then
kderdepend+=" $(add_kdebase_dep oxygen-icons)"
fi
-# add a dependency over kde-l10n if EAPI4 or better is around
-if [[ ${KDEBASE} != "kde-base" && -n ${KDE_LINGUAS} && ${EAPI:-0} != 3 ]]; then
+if [[ ${KDEBASE} != "kde-base" && -n ${KDE_LINGUAS} ]]; then
for _lingua in ${KDE_LINGUAS}; do
# if our package has lignuas, pull in kde-l10n with selected lingua enabled,
# but only for selected ones.
@@ -622,14 +621,10 @@ kde4-base_pkg_setup() {
# In theory should be in pkg_pretend but we check it only for kdelibs there
# and for others we do just quick scan in pkg_setup because pkg_pretend
# executions consume quite some time.
- # We can only do this for EAPI 4 or later because the MERGE_TYPE variable
- # is otherwise undefined.
- if [[ ${EAPI:-0} != 3 ]]; then
- if [[ ${MERGE_TYPE} != binary ]]; then
- [[ $(gcc-major-version) -lt 4 ]] || \
- ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 3 ]] ) \
- && die "Sorry, but gcc-4.3 and earlier wont work for KDE (see bug 354837)."
- fi
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ [[ $(gcc-major-version) -lt 4 ]] || \
+ ( [[ $(gcc-major-version) -eq 4 && $(gcc-minor-version) -le 3 ]] ) \
+ && die "Sorry, but gcc-4.3 and earlier wont work for KDE (see bug 354837)."
fi
KDEDIR=/usr
@@ -866,9 +861,9 @@ kde4-base_src_install() {
cmake-utils_src_install
- # In EAPI 4+, we don't want ${PREFIX}/share/doc/HTML to be compressed,
+ # We don't want ${PREFIX}/share/doc/HTML to be compressed,
# because then khelpcenter can't find the docs
- [[ ${EAPI:-0} != 3 && -d ${ED}/${PREFIX}/share/doc/HTML ]] &&
+ [[ -d ${ED}/${PREFIX}/share/doc/HTML ]] &&
docompress -x ${PREFIX}/share/doc/HTML
}
diff --git a/eclass/kde4-functions.eclass b/eclass/kde4-functions.eclass
index 7caed1f1e659..02a5d77fee9d 100644
--- a/eclass/kde4-functions.eclass
+++ b/eclass/kde4-functions.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.65 2013/07/03 09:22:39 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde4-functions.eclass,v 1.66 2013/08/15 14:52:58 kensington Exp $
inherit versionator
@@ -19,13 +19,6 @@ ___ECLASS_ONCE_KDE4_FUNCTIONS="recur -_+^+_- spank"
# @DESCRIPTION:
# Currently kde4 eclasses support EAPI 4 and 5.
case ${EAPI:-0} in
- 3)
- eqawarn "${CATEGORY}/${PF}: EAPI 3 support is now deprecated."
- eqawarn "If you are the package maintainer, please"
- eqawarn "update this package to a newer EAPI."
- eqawarn "Support for EAPI 3 for kde-*.eclass will be dropped"
- eqawarn "at the beginning August."
- ;;
4|5) : ;;
*) die "EAPI=${EAPI} is not supported" ;;
esac