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/cdrom.eclass | |
parent | 34dea8e38f88007799629d0a56b12dec480b1d21 (diff) |
gentoo resync : 21.06.2021
Diffstat (limited to 'eclass/cdrom.eclass')
-rw-r--r-- | eclass/cdrom.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass index 623a19867d42..9dca3f63bc10 100644 --- a/eclass/cdrom.eclass +++ b/eclass/cdrom.eclass @@ -4,6 +4,7 @@ # @ECLASS: cdrom.eclass # @MAINTAINER: # games@gentoo.org +# @SUPPORTED_EAPIS: 6 7 # @BLURB: Functions for CD-ROM handling # @DESCRIPTION: # Acquire CD(s) for those lovely CD-based emerges. Yes, this violates @@ -14,6 +15,11 @@ # eclass will require RESTRICT="bindist" but the point still stands. # The functions are generally called in src_unpack. +case ${EAPI:-0} in + [67]) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; +esac + if [[ -z ${_CDROM_ECLASS} ]]; then _CDROM_ECLASS=1 |