From: Aaron W. Swenson Date: Wed, 19 Feb 2020 00:42:42 +0000 (-0500) Subject: eclass/postgres{,multi}.eclass: Allow EAPI7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=59243b87fc28d7facc508f7d8dc387a62ba382f1;p=gentoo.git eclass/postgres{,multi}.eclass: Allow EAPI7 Minor change to allow EAPI7. Signed-off-by: Aaron W. Swenson --- diff --git a/eclass/postgres-multi.eclass b/eclass/postgres-multi.eclass index 48ef79dc2925..21e2f2e0f02f 100644 --- a/eclass/postgres-multi.eclass +++ b/eclass/postgres-multi.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 inherit multibuild postgres @@ -18,7 +18,7 @@ EXPORT_FUNCTIONS pkg_setup src_prepare src_compile src_install src_test case ${EAPI:-0} in - 5|6) ;; + 5|6|7) ;; *) die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" ;; esac @@ -146,7 +146,7 @@ postgres-multi_src_prepare() { case ${EAPI:-0} in 0|1|2|3|4|5) epatch_user ;; - 6) eapply_user ;; + 6|7) eapply_user ;; esac local MULTIBUILD_VARIANT diff --git a/eclass/postgres.eclass b/eclass/postgres.eclass index ce8b6e3a992d..d0f004263d7b 100644 --- a/eclass/postgres.eclass +++ b/eclass/postgres.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 inherit user @@ -18,7 +18,7 @@ EXPORT_FUNCTIONS pkg_setup case ${EAPI:-0} in - 5|6) ;; + 5|6|7) ;; *) die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" ;; esac