mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
R-packages.eclass: deprecate src_unpack
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -75,10 +75,13 @@ _movelink() {
|
||||
}
|
||||
|
||||
# @FUNCTION: R-packages_src_unpack
|
||||
# @DEPRECATED: none
|
||||
# @DESCRIPTION:
|
||||
# function to unpack R packages into the right folder
|
||||
# Unpack R packages into the right folder. Consider setting ${S} to appropriate
|
||||
# value instead.
|
||||
R-packages_src_unpack() {
|
||||
unpack ${A}
|
||||
default_src_unpack
|
||||
|
||||
if [[ -d "${CRAN_PN}" ]] && [[ ! -d "${P}" ]]; then
|
||||
mv "${CRAN_PN}" "${P}" || die
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user