diff options
author | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2021-05-31 09:56:26 +0200 |
---|---|---|
committer | Alessandro Barbieri <lssndrbarbieri@gmail.com> | 2021-06-01 00:04:38 +0200 |
commit | db926ffb75b190d217c9912d38628dfa57ebde4e (patch) | |
tree | 3cddc27d7523f511862bb51ae41629f348c3d8d7 /eclass | |
parent | R-packages.eclass: always byte compile (diff) | |
download | guru-db926ffb75b190d217c9912d38628dfa57ebde4e.tar.gz guru-db926ffb75b190d217c9912d38628dfa57ebde4e.tar.bz2 guru-db926ffb75b190d217c9912d38628dfa57ebde4e.zip |
R-packages.eclass: remove postinst
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/R-packages.eclass | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/eclass/R-packages.eclass b/eclass/R-packages.eclass index 485e37b0f..9fba5d5c2 100644 --- a/eclass/R-packages.eclass +++ b/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_prepare src_compile src_install SRC_URI="mirror://cran/src/contrib/${PN}_${PV}.tar.gz" HOMEPAGE="https://cran.r-project.org/package=${PN}" @@ -57,18 +57,3 @@ R-packages_src_install() { insinto /usr/$(get_libdir)/R/site-library doins -r "${WORKDIR}"/${PN//_/.} } - -R-packages_pkg_postinst() { - if [[ "${_UNRESOLVABLE_PACKAGES:-}" ]]; then - # _UNRESOLVABLE_PACKAGES is only set if it has more than zero items - local _max=${#_UNRESOLVABLE_PACKAGES[*]} i= - - einfo "Dependency(-ies):" - for (( i=0; i<"${_max}"; i++ )); do - einfo "- ${_UNRESOLVABLE_PACKAGES[$i]}" - done - einfo 'are (is) suggested by upstream but could not be found.' - einfo 'Please install it manually from the R interpreter if you need it.' - fi -} -ù |