public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: ulm@gentoo.org, "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-dev] [PATCH] bzr.eclass: Restrict supported EAPIs to 5 and 7
Date: Sun, 15 Sep 2019 19:30:02 +0200	[thread overview]
Message-ID: <20190915173002.337150-1-mgorny@gentoo.org> (raw)

The eclass is currently used by exactly one ebuild which is at EAPI 5.
Let's restrict allowed EAPIs just to 5 and 7, to cover a reasonable
upgrade path for that ebuild while blocking proliferation of old EAPIs.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
---
 eclass/bzr.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/bzr.eclass b/eclass/bzr.eclass
index 598a0f87fe6d..87a7cd64e617 100644
--- a/eclass/bzr.eclass
+++ b/eclass/bzr.eclass
@@ -9,7 +9,7 @@
 # Mark Lee <bzr-gentoo-overlay@lazymalevolence.com>
 # Ulrich Müller <ulm@gentoo.org>
 # Christian Faulhammer <fauli@gentoo.org>
-# @SUPPORTED_EAPIS: 2 3 4 5 6 7
+# @SUPPORTED_EAPIS: 5 7
 # @BLURB: generic fetching functions for the Bazaar VCS
 # @DESCRIPTION:
 # The bzr.eclass provides functions to fetch and unpack sources from
@@ -30,7 +30,7 @@ else
 fi
 
 case ${EAPI:-0} in
-	2|3|4|5|6) ;;
+	5) ;;
 	7) BDEPEND="${DEPEND}"; DEPEND="" ;;
 	*) die "${EBZR}: EAPI ${EAPI:-0} is not supported" ;;
 esac
-- 
2.23.0



             reply	other threads:[~2019-09-15 17:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-15 17:30 Michał Górny [this message]
2019-09-17  7:31 ` [gentoo-dev] Re: [PATCH] bzr.eclass: Restrict supported EAPIs to 5 and 7 Ulrich Mueller

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=20190915173002.337150-1-mgorny@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    --cc=ulm@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