eclass: update darcs.eclass for EAPI 7
authorJack Todaro <jackmtodaro@gmail.com>
Sat, 10 Nov 2018 05:57:30 +0000 (16:57 +1100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 11 Nov 2018 11:33:26 +0000 (11:33 +0000)
Signed-off-by: Jack Todaro <jackmtodaro@gmail.com>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
eclass/darcs.eclass

index cac00cc01f271d3747009fac679f41f137201256..489008a87f1e1e22b24d95e8ea54232a43d329af 100644 (file)
@@ -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
 
 # 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=""