From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 917D5158094 for ; Wed, 13 Jul 2022 02:31:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 49D92E0D66; Wed, 13 Jul 2022 02:31:24 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2F137E0D66 for ; Wed, 13 Jul 2022 02:31:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EE2693410FD for ; Wed, 13 Jul 2022 02:31:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F1317536 for ; Wed, 13 Jul 2022 02:31:20 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1657674016.0f61fe1fa5aeded2608f47d688bfadfcc3f09fb5.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: eclass/ X-VCS-Repository: repo/proj/guru X-VCS-Files: eclass/R-packages.eclass X-VCS-Directories: eclass/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 0f61fe1fa5aeded2608f47d688bfadfcc3f09fb5 X-VCS-Branch: dev Date: Wed, 13 Jul 2022 02:31:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cbd7e490-a32e-4375-a5d2-4e9ec7da3173 X-Archives-Hash: 9550b6e4b6d848590e727c352b64c73e commit: 0f61fe1fa5aeded2608f47d688bfadfcc3f09fb5 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed Jul 13 01:00:16 2022 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Wed Jul 13 01:00:16 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0f61fe1f R-packages.eclass: document CRAN_PV Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> eclass/R-packages.eclass | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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