public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] bzr.eclass: Support EAPI 7.
@ 2018-05-04  5:11 Ulrich Müller
  2018-05-04  8:56 ` James Le Cuirot
  2018-05-21 18:09 ` [gentoo-dev] " Ulrich Mueller
  0 siblings, 2 replies; 3+ messages in thread
From: Ulrich Müller @ 2018-05-04  5:11 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 815 bytes --]

---
 eclass/bzr.eclass | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass
index 710b64db28c0..7cfe73a70268 100644
--- a/eclass/bzr.eclass
+++ b/eclass/bzr.eclass
@@ -20,19 +20,20 @@
 
 EBZR="bzr.eclass"
 
+if [[ ${EBZR_REPO_URI%%:*} = sftp ]]; then
+	DEPEND=">=dev-vcs/bzr-2.6.0[sftp]"
+else
+	DEPEND=">=dev-vcs/bzr-2.6.0"
+fi
+
 case ${EAPI:-0} in
 	2|3|4|5|6) ;;
+	7) BDEPEND="${DEPEND}"; DEPEND="" ;;
 	*) die "${EBZR}: EAPI ${EAPI:-0} is not supported" ;;
 esac
 
 EXPORT_FUNCTIONS src_unpack
 
-if [[ ${EBZR_REPO_URI%%:*} = sftp ]]; then
-	DEPEND=">=dev-vcs/bzr-2.6.0[sftp]"
-else
-	DEPEND=">=dev-vcs/bzr-2.6.0"
-fi
-
 # @ECLASS-VARIABLE: EBZR_STORE_DIR
 # @DESCRIPTION:
 # The directory to store all fetched Bazaar live sources.
-- 
2.17.0

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

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

* Re: [gentoo-dev] [PATCH] bzr.eclass: Support EAPI 7.
  2018-05-04  5:11 [gentoo-dev] [PATCH] bzr.eclass: Support EAPI 7 Ulrich Müller
@ 2018-05-04  8:56 ` James Le Cuirot
  2018-05-21 18:09 ` [gentoo-dev] " Ulrich Mueller
  1 sibling, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2018-05-04  8:56 UTC (permalink / raw
  To: gentoo-dev

On Fri, 4 May 2018 07:11:47 +0200
Ulrich Müller <ulm@gentoo.org> wrote:

> ---
>  eclass/bzr.eclass | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)

LGTM!

-- 
James Le Cuirot (chewi)
Gentoo Linux Developer


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

* [gentoo-dev] Re: [PATCH] bzr.eclass: Support EAPI 7.
  2018-05-04  5:11 [gentoo-dev] [PATCH] bzr.eclass: Support EAPI 7 Ulrich Müller
  2018-05-04  8:56 ` James Le Cuirot
@ 2018-05-21 18:09 ` Ulrich Mueller
  1 sibling, 0 replies; 3+ messages in thread
From: Ulrich Mueller @ 2018-05-21 18:09 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 161 bytes --]

>>>>> On Fri, 4 May 2018, Ulrich Müller wrote:

> ---
>  eclass/bzr.eclass | 13 +++++++------
>  1 file changed, 7 insertions(+), 6 deletions(-)

Merged.

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

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

end of thread, other threads:[~2018-05-21 18:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-04  5:11 [gentoo-dev] [PATCH] bzr.eclass: Support EAPI 7 Ulrich Müller
2018-05-04  8:56 ` James Le Cuirot
2018-05-21 18:09 ` [gentoo-dev] " Ulrich Mueller

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