From 0f61fe1fa5aeded2608f47d688bfadfcc3f09fb5 Mon Sep 17 00:00:00 2001 From: "Anna (cybertailor) Vyalkova" Date: Wed, 13 Jul 2022 06:00:16 +0500 Subject: R-packages.eclass: document CRAN_PV Signed-off-by: Anna (cybertailor) Vyalkova --- eclass/R-packages.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'eclass') diff --git a/eclass/R-packages.eclass b/eclass/R-packages.eclass index d399da9b0..f18c23e8d 100644 --- a/eclass/R-packages.eclass +++ b/eclass/R-packages.eclass @@ -29,7 +29,11 @@ inherit edo eutils optfeature toolchain-funcs # String variable containing the list of upstream suggested packages. Consider # using optfeature directly instead for more concise descriptions. -CRAN_PV=${CRAN_PV:-$PV} +# @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 -- cgit v1.2.3-65-gdbad