* [gentoo-dev] [PATCH] bzr.eclass: Restrict supported EAPIs to 5 and 7
@ 2019-09-15 17:30 99% Michał Górny
0 siblings, 0 replies; 1+ results
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 [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2019-09-15 17:30 99% [gentoo-dev] [PATCH] bzr.eclass: Restrict supported EAPIs to 5 and 7 Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox