diff options
author | Sam James <sam@gentoo.org> | 2021-06-20 23:13:38 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2021-06-20 23:13:38 +0200 |
commit | 0328ccc0db1b7d174d096e5d21bd3fc3846bb259 (patch) | |
tree | 91dc3b122c6bc4d3e673422d2fc24ce5839dc0b2 /eclass/common-lisp-3.eclass | |
parent | chromium-2.eclass: [QA] add EAPI guard (diff) | |
download | gentoo-0328ccc0db1b7d174d096e5d21bd3fc3846bb259.tar.gz gentoo-0328ccc0db1b7d174d096e5d21bd3fc3846bb259.tar.bz2 gentoo-0328ccc0db1b7d174d096e5d21bd3fc3846bb259.zip |
common-lisp-3.eclass: [QA] add EAPI guard
Signed-off-by: Sam James <sam@gentoo.org>
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass/common-lisp-3.eclass')
-rw-r--r-- | eclass/common-lisp-3.eclass | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/eclass/common-lisp-3.eclass b/eclass/common-lisp-3.eclass index 2ad4e243a846..eb02ae59c86e 100644 --- a/eclass/common-lisp-3.eclass +++ b/eclass/common-lisp-3.eclass @@ -9,8 +9,18 @@ # Since Common Lisp libraries share similar structure, this eclass aims # to provide a simple way to write ebuilds with these characteristics. +case ${EAPI} in + [67]) ;; + *) die "EAPI=${EAPI:-0} is not supported" ;; +esac + +EXPORT_FUNCTIONS src_compile src_install + inherit eutils +if [[ -z ${_COMMON_LISP_3_ECLASS} ]]; then +_COMMON_LISP_3_ECLASS=1 + # @ECLASS-VARIABLE: CLIMPLEMENTATIONS # @DESCRIPTION: # Common Lisp implementations @@ -36,8 +46,6 @@ CLPACKAGE="${PN}" PDEPEND="virtual/commonlisp" -EXPORT_FUNCTIONS src_compile src_install - # @FUNCTION: common-lisp-3_src_compile # @DESCRIPTION: # Since there's nothing to build in most cases, default doesn't do @@ -235,3 +243,5 @@ common-lisp-export-impl-args() { esac export CL_BINARY CL_NORC CL_LOAD CL_EVAL } + +fi |