From db926ffb75b190d217c9912d38628dfa57ebde4e Mon Sep 17 00:00:00 2001 From: Alessandro Barbieri Date: Mon, 31 May 2021 09:56:26 +0200 Subject: [PATCH] R-packages.eclass: remove postinst Signed-off-by: Alessandro Barbieri --- eclass/R-packages.eclass | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/eclass/R-packages.eclass b/eclass/R-packages.eclass index 485e37b0f0..9fba5d5c2b 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 -} -รน