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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E3F38158094 for ; Wed, 13 Jul 2022 02:31:24 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EFE84E0D62; Wed, 13 Jul 2022 02:31:23 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CC909E0D62 for ; Wed, 13 Jul 2022 02:31:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 B0EB43410FA 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 12713538 for ; Wed, 13 Jul 2022 02:31:21 +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: <1657674101.4db1815c13016850709599100c0416edb55aa3f1.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: 4db1815c13016850709599100c0416edb55aa3f1 X-VCS-Branch: dev Date: Wed, 13 Jul 2022 02:31:21 +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: 4d016d64-1023-42a0-8ad1-b266178fba1d X-Archives-Hash: 5da75c2f994735b1407263f4bbf7b8a9 commit: 4db1815c13016850709599100c0416edb55aa3f1 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed Jul 13 01:01:41 2022 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Wed Jul 13 01:01:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4db1815c R-packages.eclass: document CRAN_PN Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> eclass/R-packages.eclass | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/eclass/R-packages.eclass b/eclass/R-packages.eclass index f18c23e8d..c8b5329f6 100644 --- a/eclass/R-packages.eclass +++ b/eclass/R-packages.eclass @@ -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