commit:     59243b87fc28d7facc508f7d8dc387a62ba382f1
Author:     Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 19 00:42:42 2020 +0000
Commit:     Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Wed Feb 19 00:42:42 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59243b87

eclass/postgres{,multi}.eclass: Allow EAPI7

Minor change to allow EAPI7.

Signed-off-by: Aaron W. Swenson <titanofold <AT> gentoo.org>

 eclass/postgres-multi.eclass | 6 +++---
 eclass/postgres.eclass       | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/eclass/postgres-multi.eclass b/eclass/postgres-multi.eclass
index 48ef79dc292..21e2f2e0f02 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 ce8b6e3a992..d0f004263d7 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
 

Reply via email to