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 B2E52158094 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 4A4A1E0D67; 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 31926E0D67 for ; Wed, 13 Jul 2022 02:31:24 +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 9CCFC3410E8 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 26B2653A 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: <1657674605.e98af0285b14fd83da83642401f68c7cf2e807b1.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: e98af0285b14fd83da83642401f68c7cf2e807b1 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: b8a0293c-0839-4613-bad3-4798ae1ef74c X-Archives-Hash: 1666761fb3dbc1a401dda96ad4ef91e0 commit: e98af0285b14fd83da83642401f68c7cf2e807b1 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed Jul 13 01:10:05 2022 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Wed Jul 13 01:10:05 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e98af028 R-packages.eclass: document CRAN_SNAPSHOT_DATE Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> eclass/R-packages.eclass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/eclass/R-packages.eclass b/eclass/R-packages.eclass index c8b5329f6..ad76d1206 100644 --- a/eclass/R-packages.eclass +++ b/eclass/R-packages.eclass @@ -29,6 +29,12 @@ 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_SNAPSHOT_DATE +# @DEFAULT_UNSET +# @DESCRIPTION: +# The date the ebuild was updated in YYYY-MM-DD format used to fetch distfiles +# from Microsoft CRAN mirror. This will be required in the future. + # @ECLASS_VARIABLE: CRAN_PN # @DESCRIPTION: # Package name to use for fetching distfiles from CRAN. @@ -39,8 +45,6 @@ inherit edo eutils optfeature toolchain-funcs # Package version to use for fetching distfiles from CRAN. : ${CRAN_PV:=${PV}} -# Set CRAN_SNAPSHOT_DATE to the date the ebuild was updated in the ebuild - if [[ ${CRAN_SNAPSHOT_DATE} ]]; then SRC_URI="https://cran.microsoft.com/snapshot/${CRAN_SNAPSHOT_DATE}" else