diff options
author | Benda Xu <heroxbd@gentoo.org> | 2018-08-11 17:59:03 +0900 |
---|---|---|
committer | Benda Xu <heroxbd@gentoo.org> | 2018-08-11 17:59:03 +0900 |
commit | 03d386f84d59f23650915365e04e30c215c1f07c (patch) | |
tree | 3e74da2fff5593c868ef5cb541d7fd3ab7af1f43 | |
parent | R-packages.eclass: EAPI bump to 6. (diff) | |
download | R_overlay-03d386f84d59f23650915365e04e30c215c1f07c.tar.gz R_overlay-03d386f84d59f23650915365e04e30c215c1f07c.tar.bz2 R_overlay-03d386f84d59f23650915365e04e30c215c1f07c.zip |
R-package.eclass: do not expose src_prepare.
-rw-r--r-- | files/eclass/R-packages.eclass | 12 |
1 files changed, 1 insertions, 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") |