public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] bzr.eclass: Restrict supported EAPIs to 5 and 7
@ 2019-09-15 17:30 Michał Górny
  2019-09-17  7:31 ` [gentoo-dev] " Ulrich Mueller
  0 siblings, 1 reply; 2+ messages in thread
From: Michał Górny @ 2019-09-15 17:30 UTC (permalink / raw
  To: gentoo-dev; +Cc: ulm, Michał Górny

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



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

* [gentoo-dev] Re: [PATCH] bzr.eclass: Restrict supported EAPIs to 5 and 7
  2019-09-15 17:30 [gentoo-dev] [PATCH] bzr.eclass: Restrict supported EAPIs to 5 and 7 Michał Górny
@ 2019-09-17  7:31 ` Ulrich Mueller
  0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Mueller @ 2019-09-17  7:31 UTC (permalink / raw
  To: Michał Górny; +Cc: gentoo-dev

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

>>>>> On Sun, 15 Sep 2019, Michał Górny wrote:

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

This is a pointless change, because it doesn't go along with any
simplification of code. In addition, it will break ebuilds in overlays
for no good reason.

Ulrich

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]

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

end of thread, other threads:[~2019-09-17  7:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-15 17:30 [gentoo-dev] [PATCH] bzr.eclass: Restrict supported EAPIs to 5 and 7 Michał Górny
2019-09-17  7:31 ` [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