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 373E5158094 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 1636CE0D63; Wed, 13 Jul 2022 02:31:24 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 F38C0E0D63 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 A06753410F7 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 DD279535 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: <1657673916.8ece3a840b18eda8a9ade86c93765b7dc154ba2a.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: 8ece3a840b18eda8a9ade86c93765b7dc154ba2a 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: 2f9c99a5-45f6-4979-8fa4-ec5ba27e0ccf X-Archives-Hash: bcfc5d87ce4e0bbeb8a68687c98f85e4 commit: 8ece3a840b18eda8a9ade86c93765b7dc154ba2a Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed Jul 13 00:57:29 2022 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Wed Jul 13 00:58:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8ece3a84 R-packages.eclass: EAPI 8 support Add inherit guard. Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> eclass/R-packages.eclass | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/eclass/R-packages.eclass b/eclass/R-packages.eclass index 32bbce52d..d399da9b0 100644 --- a/eclass/R-packages.eclass +++ b/eclass/R-packages.eclass @@ -3,24 +3,24 @@ # @ECLASS: R-packages.eclass # @AUTHOR: +# Alessandro Barbieri # André Erdmann -# Denis Dupeyron # Benda Xu -# Alessandro Barbieri +# Denis Dupeyron # Robert Greener # @BLURB: eclass to build R packages # @MAINTAINER: # Alessandro Barbieri -# @SUPPORTED_EAPIS: 7 - -inherit edo eutils optfeature toolchain-funcs +# @SUPPORTED_EAPIS: 7 8 case ${EAPI} in - 7) ;; + 7|8) ;; *) die "${ECLASS}: EAPI ${EAPI} unsupported." esac -EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_postinst +if [ ! ${_R_PACKAGES_ECLASS} ]; then + +inherit edo eutils optfeature toolchain-funcs # @ECLASS_VARIABLE: SUGGESTED_PACKAGES # @DEPRECATED: none @@ -161,3 +161,8 @@ R-packages_pkg_postinst() { optfeature "having the upstream suggested package" "${p}" done } + +_R_PACKAGES_ECLASS=1 +fi + +EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_install pkg_postinst