summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-02-23 10:57:38 +0000
committerPacho Ramos <pacho@gentoo.org>2015-02-23 10:57:38 +0000
commitc2f7e2b5897ff9f640c4bf07eedf45d50573bfc5 (patch)
treeb51d609a95e738b2ee8aa46a18d48bbd6f57d09c /eclass
parentStable for ppc64, wrt bug #540726 (diff)
downloadhistorical-c2f7e2b5897ff9f640c4bf07eedf45d50573bfc5.tar.gz
historical-c2f7e2b5897ff9f640c4bf07eedf45d50573bfc5.tar.bz2
historical-c2f7e2b5897ff9f640c4bf07eedf45d50573bfc5.zip
Deprecate eapis 2 and 3 for gnome2.eclass (#539118)
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/gnome2.eclass14
2 files changed, 16 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index db4318c854f1..d3d0502494b9 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1549 2015/02/22 14:16:03 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1550 2015/02/23 10:57:38 pacho Exp $
+
+ 23 Feb 2015; Pacho Ramos <pacho@gentoo.org> gnome2.eclass:
+ Deprecate eapis 2 and 3 for gnome2.eclass (#539118)
22 Feb 2015; Michał Górny <mgorny@gentoo.org> freebsd.eclass:
Fix support for FreeBSD 10.0. Force /usr/share/mk there, and fix version
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 661cfa091400..e6aca7088bc2 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.128 2015/01/29 09:59:51 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.129 2015/02/23 10:57:38 pacho Exp $
# @ECLASS: gnome2.eclass
# @MAINTAINER:
@@ -13,7 +13,17 @@
inherit eutils fdo-mime libtool gnome.org gnome2-utils
case "${EAPI:-0}" in
- 2|3|4|5)
+ 2|3)
+ eqawarn
+ eqawarn "${CATEGORY}/${PF}: EAPI 2/3 support is now deprecated."
+ eqawarn "If you are the package maintainer, please"
+ eqawarn "update this package to a newer EAPI."
+ eqawarn "Support for EAPIs 2 and 3 for gnome2.eclass will be dropped"
+ eqawarn "in a month (around 23rd March)."
+ eqawarn
+ EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm
+ ;;
+ 4|5)
EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_preinst pkg_postinst pkg_postrm
;;
*) die "EAPI=${EAPI} is not supported" ;;