public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Sergei Trofimovich <slyfox@gentoo.org>
To: Michael Haubenwallner <haubi@gentoo.org>
Cc: gentoo-dev@lists.gentoo.org, haskell@gentoo.org
Subject: [gentoo-dev] Re: [PATCH-r1] darcs.eclass: use BDEPEND with EAPI >= 7
Date: Wed, 29 May 2019 19:51:28 +0100	[thread overview]
Message-ID: <20190529195128.6af04213@sf> (raw)
In-Reply-To: <20190529100119.2389-1-haubi@gentoo.org>

On Wed, 29 May 2019 12:01:20 +0200
Michael Haubenwallner <haubi@gentoo.org> wrote:

> ---
>  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
> 

Looks good!

-- 

  Sergei


  reply	other threads:[~2019-05-29 18:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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       ` Sergei Trofimovich [this message]
2019-06-03  8:28         ` [gentoo-dev] " Michael Haubenwallner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190529195128.6af04213@sf \
    --to=slyfox@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=haskell@gentoo.org \
    --cc=haubi@gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox