Deprecate eapis 2 and 3 for gnome2.eclass (#539118)
authorPacho Ramos <pacho@gentoo.org>
Mon, 23 Feb 2015 10:57:38 +0000 (10:57 +0000)
committerPacho Ramos <pacho@gentoo.org>
Mon, 23 Feb 2015 10:57:38 +0000 (10:57 +0000)
eclass/ChangeLog
eclass/gnome2.eclass

index db4318c854f17c7fb8eb5989693136bb0534fc27..d3d0502494b92dc022d834f2495dd4b3fe4265b2 100644 (file)
@@ -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
index 661cfa0914005c1df9ffcfb8f4c28880706876a1..e6aca7088bc23f28e95ce54b25125d09fb5f6630 100644 (file)
@@ -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:
 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" ;;