From 4db1815c13016850709599100c0416edb55aa3f1 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Wed, 13 Jul 2022 06:01:41 +0500 Subject: [PATCH] R-packages.eclass: document CRAN_PN Signed-off-by: Anna (cybertailor) Vyalkova --- eclass/R-packages.eclass | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eclass/R-packages.eclass b/eclass/R-packages.eclass index f18c23e8de..c8b5329f62 100644 --- a/eclass/R-packages.eclass +++ b/eclass/R-packages.eclass @@ -29,13 +29,16 @@ inherit edo eutils optfeature toolchain-funcs # String variable containing the list of upstream suggested packages. Consider # using optfeature directly instead for more concise descriptions. +# @ECLASS_VARIABLE: CRAN_PN +# @DESCRIPTION: +# Package name to use for fetching distfiles from CRAN. +: ${CRAN_PN:=${PN//_/.}} + # @ECLASS_VARIABLE: CRAN_PV # @DESCRIPTION: # Package version to use for fetching distfiles from CRAN. : ${CRAN_PV:=${PV}} -CRAN_PN=${CRAN_PN:-${PN//_/.}} - # Set CRAN_SNAPSHOT_DATE to the date the ebuild was updated in the ebuild if [[ ${CRAN_SNAPSHOT_DATE} ]]; then