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 C4A68158095 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 BD521E0D7E; 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 95F2DE0D7E 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 686E93410FA 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 A87A1542 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: <1657679362.bf247008c6a8fec5737d5d517277faef5706c12a.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: bf247008c6a8fec5737d5d517277faef5706c12a 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: a1d2c542-4d14-47ea-8c6c-e511eca874f2 X-Archives-Hash: 13ee65a3daa5ac9d07ef165311ed1e8f commit: bf247008c6a8fec5737d5d517277faef5706c12a Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed Jul 13 02:29:22 2022 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Wed Jul 13 02:29:22 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf247008 R-packages.eclass: src_prepare is no-op now Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> eclass/R-packages.eclass | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/eclass/R-packages.eclass b/eclass/R-packages.eclass index 08d472a59..ed63cff46 100644 --- a/eclass/R-packages.eclass +++ b/eclass/R-packages.eclass @@ -88,12 +88,13 @@ R-packages_src_unpack() { } # @FUNCTION: R-packages_src_prepare +# @DEPRECATED: none # @DESCRIPTION: # Remove unwanted files from the sources. R-packages_src_prepare() { default_src_prepare - - rm -f LICENSE || die + eqawarn "This ebuild uses R-packages_src_prepare which is no-op." + eqawarn "You can safely remove it." } # @FUNCTION: R-packages_src_configure @@ -168,6 +169,7 @@ R-packages_src_install() { popd || die fi + rm -f LICENSE || die rm -rf tests test || die insinto /usr/$(get_libdir)/R/site-library @@ -188,4 +190,4 @@ R-packages_pkg_postinst() { _R_PACKAGES_ECLASS=1 fi -EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_postinst +EXPORT_FUNCTIONS src_unpack src_configure src_compile src_install pkg_postinst