public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] darcs.eclass: use BDEPEND with EAPI >= 7
@ 2019-05-29  9:00 Michael Haubenwallner
  2019-05-29  9:03 ` David Seifert
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Haubenwallner @ 2019-05-29  9:00 UTC (permalink / raw
  To: gentoo-dev; +Cc: haskell, slyfox, Michael Haubenwallner

---
 eclass/darcs.eclass | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/eclass/darcs.eclass b/eclass/darcs.eclass
index 489008a87f1..81003651680 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]*)
+		DEPEND="dev-vcs/darcs
+			net-misc/rsync"
+		;;
+	*)
+		BDEPEND="dev-vcs/darcs
+			net-misc/rsync"
+		;;
+esac
 
 # @FUNCTION: darcs_patchcount
 # @DESCRIPTION:
-- 
2.19.2



^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2019-06-03  8:28 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-29  9:00 [gentoo-dev] [PATCH] darcs.eclass: use BDEPEND with EAPI >= 7 Michael Haubenwallner
2019-05-29  9:03 ` David Seifert
2019-05-29  9:31   ` Ulrich Mueller
2019-05-29  9:33     ` David Seifert
2019-05-29 10:05       ` Michał Górny
2019-05-29 10:01     ` [gentoo-dev] [PATCH-r1] " Michael Haubenwallner
2019-05-29 18:51       ` [gentoo-dev] " Sergei Trofimovich
2019-06-03  8:28         ` Michael Haubenwallner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox