From: Jack Todaro Date: Sat, 10 Nov 2018 05:57:30 +0000 (+1100) Subject: eclass: update darcs.eclass for EAPI 7 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=e0baa311bb4048065c3b7521d22fb6a2512a4ce7;p=gentoo.git eclass: update darcs.eclass for EAPI 7 Signed-off-by: Jack Todaro Signed-off-by: Sergei Trofimovich --- diff --git a/eclass/darcs.eclass b/eclass/darcs.eclass index cac00cc01f27..489008a87f1e 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=""