aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-07-13 06:00:16 +0500
committerAnna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>2022-07-13 06:00:16 +0500
commit0f61fe1fa5aeded2608f47d688bfadfcc3f09fb5 (patch)
treeb61b04f14d4a511932c08b908804ae92c175fd48 /eclass
parentR-packages.eclass: EAPI 8 support (diff)
downloadguru-0f61fe1fa5aeded2608f47d688bfadfcc3f09fb5.tar.gz
guru-0f61fe1fa5aeded2608f47d688bfadfcc3f09fb5.tar.bz2
guru-0f61fe1fa5aeded2608f47d688bfadfcc3f09fb5.zip
R-packages.eclass: document CRAN_PV
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/R-packages.eclass6
1 files changed, 5 insertions, 1 deletions
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