From c2f7e2b5897ff9f640c4bf07eedf45d50573bfc5 Mon Sep 17 00:00:00 2001 From: Pacho Ramos Date: Mon, 23 Feb 2015 10:57:38 +0000 Subject: Deprecate eapis 2 and 3 for gnome2.eclass (#539118) --- eclass/ChangeLog | 5 ++++- eclass/gnome2.eclass | 14 ++++++++++++-- 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'eclass') 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 gnome2.eclass: + Deprecate eapis 2 and 3 for gnome2.eclass (#539118) 22 Feb 2015; Michał Górny 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" ;; -- cgit v1.2.3-65-gdbad