diff options
author | David Seifert <soap@gentoo.org> | 2022-02-01 19:23:14 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-02-01 19:23:14 +0100 |
commit | 3cd6f85b184bd099bb1204814a51abf1f4577417 (patch) | |
tree | 6f1ae9a80f1cde6e4d807d301eb0f0f1524965eb /eclass | |
parent | vcs-snapshot.eclass: enable EAPI 8 (diff) | |
download | gentoo-3cd6f85b184bd099bb1204814a51abf1f4577417.tar.gz gentoo-3cd6f85b184bd099bb1204814a51abf1f4577417.tar.bz2 gentoo-3cd6f85b184bd099bb1204814a51abf1f4577417.zip |
vcs-snapshot.eclass: remove EAPI 0-5
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/vcs-snapshot.eclass | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/vcs-snapshot.eclass b/eclass/vcs-snapshot.eclass index 74e5f4bcd42f..0e86cb4ad51f 100644 --- a/eclass/vcs-snapshot.eclass +++ b/eclass/vcs-snapshot.eclass @@ -4,7 +4,7 @@ # @ECLASS: vcs-snapshot.eclass # @MAINTAINER: # mgorny@gentoo.org -# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 8 +# @SUPPORTED_EAPIS: 6 7 8 # @BLURB: support eclass for unpacking VCS snapshot tarballs # @DESCRIPTION: # THIS ECLASS IS NOT NECESSARY FOR MODERN GITHUB AND GITLAB SNAPSHOTS. @@ -42,9 +42,9 @@ # and however the tarballs were originally packed, all files will appear # in ${WORKDIR}/${P} and ${WORKDIR}/${P}-otherstuff respectively. -case ${EAPI:-0} in - 0|1|2|3|4|5|6|7|8) ;; - *) die "vcs-snapshot.eclass API in EAPI ${EAPI} not yet established." +case ${EAPI} in + 6|7|8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac EXPORT_FUNCTIONS src_unpack @@ -102,7 +102,7 @@ vcs-snapshot_src_unpack() { if [[ ! ${renamed_any} ]]; then local w=eerror - [[ ${EAPI} == [0123456] ]] && w=eqawarn + [[ ${EAPI} == 6 ]] && w=eqawarn "${w}" "${FUNCNAME} did not find any archives that needed renaming." "${w}" "Please verify that its usage is really necessary, and remove" "${w}" "the inherit if it is not." |