From 094d1baa446a429adf4d090893acf7f7c7dd1c49 Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Mon, 7 May 2018 23:17:25 +0200 Subject: Minor cleanups/EAPI bumps --- eclass/ChangeLog | 4 +++- eclass/monotone.eclass | 9 +++++++-- eclass/mv_mozextension-r1.eclass | 13 +++++++++---- 3 files changed, 19 insertions(+), 7 deletions(-) (limited to 'eclass') diff --git a/eclass/ChangeLog b/eclass/ChangeLog index 9a5d4909..69063c6f 100644 --- a/eclass/ChangeLog +++ b/eclass/ChangeLog @@ -1,5 +1,4 @@ # ChangeLog for eclass directory -# Copyright 2012-2018 Gentoo Foundation; Distributed under the GPL v2 12 May 2012; Martin Väth : Created ChangeLog @@ -80,3 +79,6 @@ 14 Apr 2018; Martin Väth : mv_mozextension-r1.eclass: remove support for legacy extensions + + 07 May 2018; Martin Väth : + monotone.eclass, mv_mozextension-r1.eclass: Support EAPI=7 diff --git a/eclass/monotone.eclass b/eclass/monotone.eclass index 54c7cbae..d07ba97d 100644 --- a/eclass/monotone.eclass +++ b/eclass/monotone.eclass @@ -1,4 +1,4 @@ -# Copyright 2016 Gentoo Foundation +# Copyright 2010-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # @ECLASS: monotone.eclass @@ -191,6 +191,11 @@ monotone_src_unpack() { monotone_finish } -[ -n "${EMTN_DISABLE_DEPENDENCIES}" ] || DEPEND='dev-vcs/monotone' +[ -n "${EMTN_DISABLE_DEPENDENCIES}" ] || case ${EAPI:-0} in +0|1|2|3|4|5|6) + DEPEND='dev-vcs/monotone';; +*) + BDEPEND='dev-vcs/monotone';; +esac EXPORT_FUNCTIONS src_unpack diff --git a/eclass/mv_mozextension-r1.eclass b/eclass/mv_mozextension-r1.eclass index 8d99800c..0042bf1a 100644 --- a/eclass/mv_mozextension-r1.eclass +++ b/eclass/mv_mozextension-r1.eclass @@ -18,7 +18,7 @@ # inherit mv_mozextension-r1 # # MOZ=" -- cgit v1.2.3-65-gdbad