commit:     03d386f84d59f23650915365e04e30c215c1f07c
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 11 08:59:03 2018 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Aug 11 08:59:03 2018 +0000
URL:        https://gitweb.gentoo.org/proj/R_overlay.git/commit/?id=03d386f8

R-package.eclass: do not expose src_prepare.

 files/eclass/R-packages.eclass | 12 +-----------
 1 file changed, 1 insertion(+), 11 deletions(-)

diff --git a/files/eclass/R-packages.eclass b/files/eclass/R-packages.eclass
index 8ac9321..0b1dac3 100644
--- a/files/eclass/R-packages.eclass
+++ b/files/eclass/R-packages.eclass
@@ -3,7 +3,7 @@
 
 inherit eutils
 
-EXPORT_FUNCTIONS src_unpack src_prepare src_compile src_install pkg_postinst
+EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_postinst
 
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
@@ -19,16 +19,6 @@ R-packages_src_unpack() {
        fi
 }
 
-if has "${EAPI:-0}" 0 1 2 3 4 5; then
-       R-packages_src_prepare() {
-               epatch_user
-       }
-else
-       R-packages_src_prepare() {
-               default
-       }
-fi
-
 R-packages_src_compile() {
        MAKEFLAGS="CFLAGS=${CFLAGS// /\\ } CXXFLAGS=${CXXFLAGS// /\\ } 
FFLAGS=${FFLAGS// /\\ } FCFLAGS=${FCFLAGS// /\\ } LDFLAGS=${LDFLAGS// /\\ }" \
                R CMD INSTALL . -l "${WORKDIR}" $(use byte-compile && echo 
"--byte-compile")

Reply via email to