R-packages.eclass: document CRAN_PV

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
Anna (cybertailor) Vyalkova
2022-07-13 06:00:16 +05:00
parent 8ece3a840b
commit 0f61fe1fa5

View File

@@ -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