diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-21 17:32:00 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-21 17:32:00 +0100 |
commit | 61f10f985e19dfe20a4d9552902625edd5b6eabb (patch) | |
tree | 50db31971b38c4e0358253ef5005058a46fc773e /eclass/openib.eclass | |
parent | 34dea8e38f88007799629d0a56b12dec480b1d21 (diff) |
gentoo resync : 21.06.2021
Diffstat (limited to 'eclass/openib.eclass')
-rw-r--r-- | eclass/openib.eclass | 11 |
1 files changed, 10 insertions, 1 deletions
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 <alexxy@gentoo.org> +# @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 |