commit:     e0baa311bb4048065c3b7521d22fb6a2512a4ce7
Author:     Jack Todaro <jackmtodaro <AT> gmail <DOT> com>
AuthorDate: Sat Nov 10 05:57:30 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Nov 11 11:33:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0baa311

eclass: update darcs.eclass for EAPI 7

Signed-off-by: Jack Todaro <jackmtodaro <AT> gmail.com>
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 eclass/darcs.eclass | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/eclass/darcs.eclass b/eclass/darcs.eclass
index cac00cc01f2..489008a87f1 100644
--- a/eclass/darcs.eclass
+++ b/eclass/darcs.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: darcs.eclass
@@ -21,7 +21,12 @@
 
 # support for tags
 
-inherit eutils # eshopts_{push,pop}
+# eshopts_{push,pop}
+case "${EAPI:-0}" in
+       4|5|6) inherit eutils ;;
+       7)     inherit estack ;;
+       *) ;;
+esac
 
 # Don't download anything other than the darcs repository
 SRC_URI=""

Reply via email to