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