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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CC60D138334 for ; Wed, 29 May 2019 10:02:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 21D91E0882; Wed, 29 May 2019 10:02:43 +0000 (UTC) Received: from atfriesa01.ssi-schaefer.com (atfriesa01.ssi-schaefer.com [193.186.16.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 84CEEE087C for ; Wed, 29 May 2019 10:02:41 +0000 (UTC) X-IronPort-AV: E=Sophos;i="5.60,526,1549926000"; d="scan'208";a="35202636" X-IPAS-Result: =?us-ascii?q?A2HHBQA+WO5c/+shHKxlHAEBAQQBAQcEAQGBZZwKAQEBAQE?= =?us-ascii?q?BBosFkQ8BAQEBAQEBAQEIExwBAYdVOBMBAwEBAQQBAQEBAwECAoERhUwGMgFGE?= =?us-ascii?q?FFXgzuBd6pShUeEc4E0hn2EbXiBB4ERg1CFEYUVBKhcCYIPghOQfgwbgg+KUol?= =?us-ascii?q?uhA6fCYFmgXl9CIMokFOQFAMBAQ?= Received: from samail03.wamas.com (HELO mailhost.salomon.at) ([172.28.33.235]) by atfriesa01.ssi-schaefer.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 May 2019 12:02:41 +0200 Received: from [172.28.42.244] (helo=wamas.com) by mailhost.salomon.at with smtp (Exim 4.77) (envelope-from ) id 1hVvPr-0005wy-Rj; Wed, 29 May 2019 12:02:39 +0200 Received: with nullmailer 2.2; Wed, 29 May 2019 10:02:39 -0000 From: Michael Haubenwallner To: gentoo-dev@lists.gentoo.org Cc: haskell@gentoo.org, slyfox@gentoo.org, Michael Haubenwallner Subject: [gentoo-dev] [PATCH-r1] darcs.eclass: use BDEPEND with EAPI >= 7 Date: Wed, 29 May 2019 12:01:20 +0200 Message-Id: <20190529100119.2389-1-haubi@gentoo.org> X-Mailer: git-send-email 2.19.2 In-Reply-To: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: e1d4cfc8-1a8e-4cf2-bdad-97532863fc85 X-Archives-Hash: ddd7a9de97c7962ae8fd43af4c7b169e --- eclass/darcs.eclass | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/eclass/darcs.eclass b/eclass/darcs.eclass index 489008a87f1..09b71882367 100644 --- a/eclass/darcs.eclass +++ b/eclass/darcs.eclass @@ -85,8 +85,16 @@ SRC_URI="" # --- end ebuild-configurable settings --- -DEPEND="dev-vcs/darcs - net-misc/rsync" +case ${EAPI:-0} in + [0-6]) # no need to care about 5-HDEPEND and similar + DEPEND="dev-vcs/darcs + net-misc/rsync" + ;; + *) + BDEPEND="dev-vcs/darcs + net-misc/rsync" + ;; +esac # @FUNCTION: darcs_patchcount # @DESCRIPTION: -- 2.19.2