From ca54de2d642f558d2beaad7f9787d230678c7973 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Sun, 23 Nov 2014 19:56:53 +0000 Subject: [PATCH] Deprecate eapis 0 and 1 for gnome2.eclass (#530046) --- eclass/ChangeLog | 5 ++++- eclass/gnome2.eclass | 9 ++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 97d21ab2e633..d57ec54608d6 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for eclass directory # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1442 2014/11/23 16:05:42 floppym Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1443 2014/11/23 19:56:53 pacho Exp $ + + 23 Nov 2014; Pacho Ramos gnome2.eclass: + Deprecate eapis 0 and 1 for gnome2.eclass (#530046) 23 Nov 2014; Mike Gilbert python-utils-r1.eclass: Adjust _python_impl_supported as well. diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass index ec6832a17bb4..1fbd7a3a0833 100644 --- a/eclass/gnome2.eclass +++ b/eclass/gnome2.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.125 2014/02/11 21:14:20 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.126 2014/11/23 19:56:53 pacho Exp $ # @ECLASS: gnome2.eclass # @MAINTAINER: @@ -14,6 +14,13 @@ inherit eutils fdo-mime libtool gnome.org gnome2-utils case "${EAPI:-0}" in 0|1) + eqawarn + eqawarn "${CATEGORY}/${PF}: EAPI 0/1 support is now deprecated." + eqawarn "If you are the package maintainer, please" + eqawarn "update this package to a newer EAPI." + eqawarn "Support for EAPIs 0 and 1 for gnome2.eclass will be dropped" + eqawarn "in a month (around 23rd December)." + eqawarn EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst pkg_postrm ;; 2|3|4|5) -- 2.26.2