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 46B36158094 for ; Wed, 13 Jul 2022 02:31:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EDA2E0D7C; Wed, 13 Jul 2022 02:31:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 6DEC4E0D7A for ; Wed, 13 Jul 2022 02:31:25 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66B973410E8 for ; Wed, 13 Jul 2022 02:31:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 676B753E 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: <1657678132.0856cd9540a57e9af56ccc6f456b00d50db7f3bb.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: 0856cd9540a57e9af56ccc6f456b00d50db7f3bb 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: 8bd11121-5fa3-40a4-b1dd-acd78db47b05 X-Archives-Hash: ac2127c868f95ca5e6039a80d3afe81d commit: 0856cd9540a57e9af56ccc6f456b00d50db7f3bb Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed Jul 13 02:08:52 2022 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Wed Jul 13 02:08:52 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0856cd95 R-packages.eclass: create ${T}/R in src_configure Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> eclass/R-packages.eclass | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/eclass/R-packages.eclass b/eclass/R-packages.eclass index 2f1ad3368..d701a9e5e 100644 --- a/eclass/R-packages.eclass +++ b/eclass/R-packages.eclass @@ -89,17 +89,19 @@ R-packages_src_unpack() { # @FUNCTION: R-packages_src_prepare # @DESCRIPTION: -# function to remove unwanted files from the sources +# Remove unwanted files from the sources. R-packages_src_prepare() { + default_src_prepare + rm -f LICENSE || die - default - mkdir -p "${T}/R" || die } # @FUNCTION: R-packages_src_configure # @DESCRIPTION: -# dummy function to disable configure -R-packages_src_configure() { :; } +# Set up temporary directories. +R-packages_src_configure() { + mkdir "${T}"/R || die +} # @FUNCTION: R-packages_src_compile # @DESCRIPTION: