1 |
commit: 1f99a6cd272529e80bc22fefe3bfe4bebbfdfb96 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 21 05:39:54 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 21 05:39:54 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f99a6cd |
7 |
|
8 |
findlib.eclass: Revert "add EAPI guard" |
9 |
|
10 |
This reverts commit 371c510d5bfbce3a1580374352f2667f71c2ab57. |
11 |
Reverting for cleaner history, will restore. |
12 |
|
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
eclass/cdrom.eclass | 6 ------ |
16 |
eclass/findlib.eclass | 11 ----------- |
17 |
2 files changed, 17 deletions(-) |
18 |
|
19 |
diff --git a/eclass/cdrom.eclass b/eclass/cdrom.eclass |
20 |
index 9dca3f63bc1..623a19867d4 100644 |
21 |
--- a/eclass/cdrom.eclass |
22 |
+++ b/eclass/cdrom.eclass |
23 |
@@ -4,7 +4,6 @@ |
24 |
# @ECLASS: cdrom.eclass |
25 |
# @MAINTAINER: |
26 |
# games@g.o |
27 |
-# @SUPPORTED_EAPIS: 6 7 |
28 |
# @BLURB: Functions for CD-ROM handling |
29 |
# @DESCRIPTION: |
30 |
# Acquire CD(s) for those lovely CD-based emerges. Yes, this violates |
31 |
@@ -15,11 +14,6 @@ |
32 |
# eclass will require RESTRICT="bindist" but the point still stands. |
33 |
# The functions are generally called in src_unpack. |
34 |
|
35 |
-case ${EAPI:-0} in |
36 |
- [67]) ;; |
37 |
- *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
38 |
-esac |
39 |
- |
40 |
if [[ -z ${_CDROM_ECLASS} ]]; then |
41 |
_CDROM_ECLASS=1 |
42 |
|
43 |
|
44 |
diff --git a/eclass/findlib.eclass b/eclass/findlib.eclass |
45 |
index e8b6e73c97a..d117c0b2bfd 100644 |
46 |
--- a/eclass/findlib.eclass |
47 |
+++ b/eclass/findlib.eclass |
48 |
@@ -6,19 +6,10 @@ |
49 |
# ML <ml@g.o> |
50 |
# @AUTHOR: |
51 |
# Original author: Matthieu Sozeau <mattam@g.o> (retired) |
52 |
-# @SUPPORTED_EAPIS: 6 7 |
53 |
# @BLURB: ocamlfind (a.k.a. findlib) eclass |
54 |
# @DESCRIPTION: |
55 |
# ocamlfind (a.k.a. findlib) eclass |
56 |
|
57 |
-case ${EAPI:-0} in |
58 |
- [67]) ;; |
59 |
- *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; |
60 |
-esac |
61 |
- |
62 |
-if [[ -z ${_FINDLIB_ECLASS} ]] ; then |
63 |
-_FINDLIB_ECLASS=1 |
64 |
- |
65 |
# Do not complain about CFLAGS etc since ML projects do not use them. |
66 |
QA_FLAGS_IGNORED='.*' |
67 |
|
68 |
@@ -69,5 +60,3 @@ findlib_src_install() { |
69 |
findlib_src_preinst |
70 |
make DESTDIR="${D}" "$@" install || die "make failed" |
71 |
} |
72 |
- |
73 |
-fi |