public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] eclass: freedict: require EAPI=6
@ 2018-03-26 21:33 Marty E. Plummer
  2018-03-26 21:58 ` Michał Górny
  2018-03-27  9:20 ` Ulrich Mueller
  0 siblings, 2 replies; 10+ messages in thread
From: Marty E. Plummer @ 2018-03-26 21:33 UTC (permalink / raw
  To: gentoo-dev; +Cc: Marty E. Plummer

As a pretty simple eclass, which only inherited multilib in
order to get $(get_libdir) and eutils for who knows why, and
all its consumers bumped to EAPI=6, it makes sense to require
EAPI 6 for this eclass

Package-Manager: Portage-2.3.24, Repoman-2.3.6
---
 eclass/freedict.eclass | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/eclass/freedict.eclass b/eclass/freedict.eclass
index 06419626d34..f2518f3cdcd 100644
--- a/eclass/freedict.eclass
+++ b/eclass/freedict.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: freedict.eclass
@@ -21,7 +21,10 @@
 # @DESCRIPTION:
 # Please see above for a description.
 
-inherit eutils multilib
+case ${EAPI:-0} in
+	6) ;;
+	*) die "${ECLASS}.eclass is banned in EAPI=${EAPI}" ;;
+esac
 
 IUSE=""
 
-- 
2.16.2



^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-04-04 12:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-26 21:33 [gentoo-dev] [PATCH] eclass: freedict: require EAPI=6 Marty E. Plummer
2018-03-26 21:58 ` Michał Górny
2018-03-26 22:58   ` Marty E. Plummer
2018-03-27  9:20 ` Ulrich Mueller
2018-03-28  7:31   ` Marty E. Plummer
2018-03-28  8:52     ` Ulrich Mueller
2018-04-04  8:04       ` Marty E. Plummer
2018-04-04 11:28         ` Aaron Bauman
2018-04-04 12:20           ` Ulrich Mueller
2018-04-04 11:58             ` Marty E. Plummer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox