From 61f10f985e19dfe20a4d9552902625edd5b6eabb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 21 Jun 2021 17:32:00 +0100 Subject: gentoo resync : 21.06.2021 --- eclass/openib.eclass | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'eclass/openib.eclass') diff --git a/eclass/openib.eclass b/eclass/openib.eclass index 7810062fae36..e25418854c89 100644 --- a/eclass/openib.eclass +++ b/eclass/openib.eclass @@ -6,12 +6,19 @@ # maintainer-needed@gentoo.org # @AUTHOR: # Author: Alexey Shvetsov +# @SUPPORTED_EAPIS: 5 6 # @BLURB: Simplify working with OFED packages -inherit eutils rpm versionator +case ${EAPI:-0} in + [56]) inherit eutils rpm versionator ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac EXPORT_FUNCTIONS src_unpack +if [[ -z ${_OPENIB_ECLASS} ]] ; then +_OPENIB_ECLASS=1 + HOMEPAGE="https://www.openfabrics.org/" LICENSE="|| ( GPL-2 BSD-2 )" @@ -146,3 +153,5 @@ openib_src_unpack() { esac fi } + +fi -- cgit v1.2.3