summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2023-08-26 10:58:44 +0200
committerUlrich Müller <ulm@gentoo.org>2023-08-29 17:42:43 +0200
commit39c5ef0fe227a4781d1b2ea79ac6f336ec64f879 (patch)
tree279ab7a3f53dac53cd0d196c8c18aa21685d6c25 /eclass/eutils.eclass
parentdev-python/qiskit-aer: Restrict dev-cpp/nlohmann_json (diff)
downloadgentoo-39c5ef0fe227a4781d1b2ea79ac6f336ec64f879.tar.gz
gentoo-39c5ef0fe227a4781d1b2ea79ac6f336ec64f879.tar.bz2
gentoo-39c5ef0fe227a4781d1b2ea79ac6f336ec64f879.zip
eutils.eclass: Drop EAPI 7
Remove placeholders for emktemp, path_exists and use_if_iuse, which are all non-functional since more than one year. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
Diffstat (limited to 'eclass/eutils.eclass')
-rw-r--r--eclass/eutils.eclass26
1 files changed, 2 insertions, 24 deletions
diff --git a/eclass/eutils.eclass b/eclass/eutils.eclass
index 3b6a90fecb81..b48c18f97904 100644
--- a/eclass/eutils.eclass
+++ b/eclass/eutils.eclass
@@ -1,10 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: eutils.eclass
# @MAINTAINER:
# base-system@gentoo.org
-# @SUPPORTED_EAPIS: 6 7
+# @SUPPORTED_EAPIS: 6
# @BLURB: many extra (but common) functions that are used in ebuilds
# @DEPRECATED: native package manager functions, more specific eclasses
@@ -15,28 +15,6 @@ _EUTILS_ECLASS=1
case ${EAPI} in
6) inherit desktop edos2unix epatch eqawarn estack ltprune multilib \
preserve-libs strip-linguas toolchain-funcs vcs-clean wrapper ;;
- 7) inherit edos2unix strip-linguas wrapper ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
-
-emktemp() {
- eerror "emktemp has been removed."
- eerror "Create a temporary file in \${T} instead."
- die "emktemp is banned"
-}
-
-path_exists() {
- eerror "path_exists has been removed. Please see the following post"
- eerror "for a replacement snippet:"
- eerror "https://blogs.gentoo.org/mgorny/2018/08/09/inlining-path_exists/"
- die "path_exists is banned"
-}
-
-use_if_iuse() {
- eerror "use_if_iuse has been removed."
- eerror "Define it as a local function, or inline it:"
- eerror " in_iuse foo && use foo"
- die "use_if_iuse is banned"
-}
-
fi