mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
R-packages.eclass: document CRAN_PN
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user