public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH 00/10] @SUPPORTED_EAPIS, part two
@ 2018-08-12  9:17 Michał Górny
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 01/10] aspell-dict-r1.eclass: add @SUPPORTED_EAPIS Michał Górny
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: Michał Górny @ 2018-08-12  9:17 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

Hi,

A few more instances of @SUPPORTED_EAPIS.  Hand-made for eclasses
that were not handled by the script.

--
Best regards,
Michał Górny

Michał Górny (10):
  aspell-dict-r1.eclass: add @SUPPORTED_EAPIS
  dotnet.eclass: add @SUPPORTED_EAPIS
  gkrellm-plugin.eclass: add @SUPPORTED_EAPIS
  ninja-utils.eclass: add @SUPPORTED_EAPIS
  perl-app.eclass: add @SUPPORTED_EAPIS
  toolchain-autoconf.eclass: add @SUPPORTED_EAPIS
  toolchain-binutils.eclass: add @SUPPORTED_EAPIS
  toolchain.eclass: add @SUPPORTED_EAPIS
  git-2.eclass: Extend the ban to all future EAPIs
  git-2.eclass: add @SUPPORTED_EAPIS

 eclass/aspell-dict-r1.eclass     |  1 +
 eclass/dotnet.eclass             |  1 +
 eclass/git-2.eclass              | 10 ++++++----
 eclass/gkrellm-plugin.eclass     |  1 +
 eclass/ninja-utils.eclass        |  1 +
 eclass/perl-app.eclass           |  1 +
 eclass/toolchain-autoconf.eclass |  1 +
 eclass/toolchain-binutils.eclass |  1 +
 eclass/toolchain.eclass          |  1 +
 9 files changed, 14 insertions(+), 4 deletions(-)

-- 
2.18.0



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

* [gentoo-dev] [PATCH 01/10] aspell-dict-r1.eclass: add @SUPPORTED_EAPIS
  2018-08-12  9:17 [gentoo-dev] [PATCH 00/10] @SUPPORTED_EAPIS, part two Michał Górny
@ 2018-08-12  9:17 ` Michał Górny
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 02/10] dotnet.eclass: " Michał Górny
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2018-08-12  9:17 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

---
 eclass/aspell-dict-r1.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/aspell-dict-r1.eclass b/eclass/aspell-dict-r1.eclass
index aed65d6c9ad3..d633d991c5e5 100644
--- a/eclass/aspell-dict-r1.eclass
+++ b/eclass/aspell-dict-r1.eclass
@@ -7,6 +7,7 @@
 # @AUTHOR:
 # Original author: Seemant Kulleen
 #      -r1 author: David Seifert
+# @SUPPORTED_EAPIS: 6
 # @BLURB: An eclass to streamline the construction of ebuilds for new aspell dicts
 # @DESCRIPTION:
 # The aspell-dict-r1 eclass is designed to streamline the construction of
-- 
2.18.0



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

* [gentoo-dev] [PATCH 02/10] dotnet.eclass: add @SUPPORTED_EAPIS
  2018-08-12  9:17 [gentoo-dev] [PATCH 00/10] @SUPPORTED_EAPIS, part two Michał Górny
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 01/10] aspell-dict-r1.eclass: add @SUPPORTED_EAPIS Michał Górny
@ 2018-08-12  9:17 ` Michał Górny
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 03/10] gkrellm-plugin.eclass: " Michał Górny
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2018-08-12  9:17 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

---
 eclass/dotnet.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/dotnet.eclass b/eclass/dotnet.eclass
index 6ae42a07a6fc..9d02e540de3e 100644
--- a/eclass/dotnet.eclass
+++ b/eclass/dotnet.eclass
@@ -3,6 +3,7 @@
 
 # @ECLASS: dotnet.eclass
 # @MAINTAINER: cynede@gentoo.org
+# @SUPPORTED_EAPIS: 1 2 3 4 5 6 7
 # @BLURB: common settings and functions for mono and dotnet related packages
 # @DESCRIPTION:
 # The dotnet eclass contains common environment settings that are useful for
-- 
2.18.0



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

* [gentoo-dev] [PATCH 03/10] gkrellm-plugin.eclass: add @SUPPORTED_EAPIS
  2018-08-12  9:17 [gentoo-dev] [PATCH 00/10] @SUPPORTED_EAPIS, part two Michał Górny
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 01/10] aspell-dict-r1.eclass: add @SUPPORTED_EAPIS Michał Górny
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 02/10] dotnet.eclass: " Michał Górny
@ 2018-08-12  9:17 ` Michał Górny
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 04/10] ninja-utils.eclass: " Michał Górny
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2018-08-12  9:17 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

---
 eclass/gkrellm-plugin.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/gkrellm-plugin.eclass b/eclass/gkrellm-plugin.eclass
index d5161c486f6c..d6eb57ad0eca 100644
--- a/eclass/gkrellm-plugin.eclass
+++ b/eclass/gkrellm-plugin.eclass
@@ -7,6 +7,7 @@
 # @AUTHOR:
 # Original author: Jim Ramsay
 #   EAPI 6 author: David Seifert
+# @SUPPORTED_EAPIS: 6
 # @BLURB: Provides src_install used by (almost) all gkrellm plugins
 # @DESCRIPTION:
 # - Sets up default dependencies
-- 
2.18.0



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

* [gentoo-dev] [PATCH 04/10] ninja-utils.eclass: add @SUPPORTED_EAPIS
  2018-08-12  9:17 [gentoo-dev] [PATCH 00/10] @SUPPORTED_EAPIS, part two Michał Górny
                   ` (2 preceding siblings ...)
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 03/10] gkrellm-plugin.eclass: " Michał Górny
@ 2018-08-12  9:17 ` Michał Górny
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 05/10] perl-app.eclass: " Michał Górny
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2018-08-12  9:17 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

---
 eclass/ninja-utils.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/ninja-utils.eclass b/eclass/ninja-utils.eclass
index 0a390ed89612..ca8d67191dc4 100644
--- a/eclass/ninja-utils.eclass
+++ b/eclass/ninja-utils.eclass
@@ -8,6 +8,7 @@
 # @AUTHOR:
 # Michał Górny <mgorny@gentoo.org>
 # Mike Gilbert <floppym@gentoo.org>
+# @SUPPORTED_EAPIS: 2 4 5 6 7
 # @BLURB: common bits to run dev-util/ninja builder
 # @DESCRIPTION:
 # This eclass provides a single function -- eninja -- that can be used
-- 
2.18.0



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

* [gentoo-dev] [PATCH 05/10] perl-app.eclass: add @SUPPORTED_EAPIS
  2018-08-12  9:17 [gentoo-dev] [PATCH 00/10] @SUPPORTED_EAPIS, part two Michał Górny
                   ` (3 preceding siblings ...)
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 04/10] ninja-utils.eclass: " Michał Górny
@ 2018-08-12  9:17 ` Michał Górny
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 06/10] toolchain-autoconf.eclass: " Michał Górny
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2018-08-12  9:17 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

---
 eclass/perl-app.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/perl-app.eclass b/eclass/perl-app.eclass
index 4519627d769c..6b762dd83b3d 100644
--- a/eclass/perl-app.eclass
+++ b/eclass/perl-app.eclass
@@ -3,6 +3,7 @@
 
 # Author: Michael Cummings <mcummings@gentoo.org>
 # Maintained by the Perl herd <perl@gentoo.org>
+# @SUPPORTED_EAPIS: 5
 
 # If the ebuild doesn't override this, ensure we do not depend on the perl subslot value
 : ${GENTOO_DEPEND_ON_PERL_SUBSLOT:="no"}
-- 
2.18.0



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

* [gentoo-dev] [PATCH 06/10] toolchain-autoconf.eclass: add @SUPPORTED_EAPIS
  2018-08-12  9:17 [gentoo-dev] [PATCH 00/10] @SUPPORTED_EAPIS, part two Michał Górny
                   ` (4 preceding siblings ...)
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 05/10] perl-app.eclass: " Michał Górny
@ 2018-08-12  9:17 ` Michał Górny
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 07/10] toolchain-binutils.eclass: " Michał Górny
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2018-08-12  9:17 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

---
 eclass/toolchain-autoconf.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/toolchain-autoconf.eclass b/eclass/toolchain-autoconf.eclass
index 18276f0b49c5..cd991ec795ac 100644
--- a/eclass/toolchain-autoconf.eclass
+++ b/eclass/toolchain-autoconf.eclass
@@ -4,6 +4,7 @@
 # @ECLASS: toolchain-autoconf.eclass
 # @MAINTAINER:
 # <base-system@gentoo.org>
+# @SUPPORTED_EAPIS: 6
 # @BLURB: Common code for sys-devel/autoconf ebuilds
 # @DESCRIPTION:
 # This eclass contains the common phase functions migrated from
-- 
2.18.0



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

* [gentoo-dev] [PATCH 07/10] toolchain-binutils.eclass: add @SUPPORTED_EAPIS
  2018-08-12  9:17 [gentoo-dev] [PATCH 00/10] @SUPPORTED_EAPIS, part two Michał Górny
                   ` (5 preceding siblings ...)
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 06/10] toolchain-autoconf.eclass: " Michał Górny
@ 2018-08-12  9:17 ` Michał Górny
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 08/10] toolchain.eclass: " Michał Górny
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2018-08-12  9:17 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

---
 eclass/toolchain-binutils.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 552bba37c312..d15afb8531e7 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 #
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
+# @SUPPORTED_EAPIS: 0 1 2 3 4 5
 #
 # We install binutils into CTARGET-VERSION specific directories.  This lets
 # us easily merge multiple versions for multiple targets (if we wish) and
-- 
2.18.0



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

* [gentoo-dev] [PATCH 08/10] toolchain.eclass: add @SUPPORTED_EAPIS
  2018-08-12  9:17 [gentoo-dev] [PATCH 00/10] @SUPPORTED_EAPIS, part two Michał Górny
                   ` (6 preceding siblings ...)
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 07/10] toolchain-binutils.eclass: " Michał Górny
@ 2018-08-12  9:17 ` Michał Górny
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 09/10] git-2.eclass: Extend the ban to all future EAPIs Michał Górny
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 10/10] git-2.eclass: add @SUPPORTED_EAPIS Michał Górny
  9 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2018-08-12  9:17 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

---
 eclass/toolchain.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 0fb518a0c2ea..6e859993397c 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
+# @SUPPORTED_EAPIS: 5
 
 DESCRIPTION="The GNU Compiler Collection"
 HOMEPAGE="https://gcc.gnu.org/"
-- 
2.18.0



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

* [gentoo-dev] [PATCH 09/10] git-2.eclass: Extend the ban to all future EAPIs
  2018-08-12  9:17 [gentoo-dev] [PATCH 00/10] @SUPPORTED_EAPIS, part two Michał Górny
                   ` (7 preceding siblings ...)
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 08/10] toolchain.eclass: " Michał Górny
@ 2018-08-12  9:17 ` Michał Górny
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 10/10] git-2.eclass: add @SUPPORTED_EAPIS Michał Górny
  9 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2018-08-12  9:17 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

---
 eclass/git-2.eclass | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/eclass/git-2.eclass b/eclass/git-2.eclass
index 63568c155775..6a21834ac003 100644
--- a/eclass/git-2.eclass
+++ b/eclass/git-2.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: git-2.eclass
@@ -11,9 +11,10 @@
 #
 # This eclass is DEPRECATED. Please use git-r3 instead.
 
-if [[ ${EAPI} == 6 ]]; then
-	die "${ECLASS}.eclass is banned in EAPI ${EAPI}"
-fi
+case ${EAPI:-0} in
+	0|1|2|3|4|5) ;;
+	*) die "${ECLASS}.eclass is banned in EAPI ${EAPI}";;
+esac
 
 # This eclass support all EAPIs.
 EXPORT_FUNCTIONS src_unpack
-- 
2.18.0



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

* [gentoo-dev] [PATCH 10/10] git-2.eclass: add @SUPPORTED_EAPIS
  2018-08-12  9:17 [gentoo-dev] [PATCH 00/10] @SUPPORTED_EAPIS, part two Michał Górny
                   ` (8 preceding siblings ...)
  2018-08-12  9:17 ` [gentoo-dev] [PATCH 09/10] git-2.eclass: Extend the ban to all future EAPIs Michał Górny
@ 2018-08-12  9:17 ` Michał Górny
  9 siblings, 0 replies; 11+ messages in thread
From: Michał Górny @ 2018-08-12  9:17 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

---
 eclass/git-2.eclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eclass/git-2.eclass b/eclass/git-2.eclass
index 6a21834ac003..5371a612dccf 100644
--- a/eclass/git-2.eclass
+++ b/eclass/git-2.eclass
@@ -4,6 +4,7 @@
 # @ECLASS: git-2.eclass
 # @MAINTAINER:
 # maintainer-needed@gentoo.org
+# @SUPPORTED_EAPIS: 0 1 2 3 4 5
 # @BLURB: Eclass for fetching and unpacking git repositories.
 # @DESCRIPTION:
 # Eclass for easing maintenance of live ebuilds using git as remote repository.
-- 
2.18.0



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

end of thread, other threads:[~2018-08-12  9:21 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-12  9:17 [gentoo-dev] [PATCH 00/10] @SUPPORTED_EAPIS, part two Michał Górny
2018-08-12  9:17 ` [gentoo-dev] [PATCH 01/10] aspell-dict-r1.eclass: add @SUPPORTED_EAPIS Michał Górny
2018-08-12  9:17 ` [gentoo-dev] [PATCH 02/10] dotnet.eclass: " Michał Górny
2018-08-12  9:17 ` [gentoo-dev] [PATCH 03/10] gkrellm-plugin.eclass: " Michał Górny
2018-08-12  9:17 ` [gentoo-dev] [PATCH 04/10] ninja-utils.eclass: " Michał Górny
2018-08-12  9:17 ` [gentoo-dev] [PATCH 05/10] perl-app.eclass: " Michał Górny
2018-08-12  9:17 ` [gentoo-dev] [PATCH 06/10] toolchain-autoconf.eclass: " Michał Górny
2018-08-12  9:17 ` [gentoo-dev] [PATCH 07/10] toolchain-binutils.eclass: " Michał Górny
2018-08-12  9:17 ` [gentoo-dev] [PATCH 08/10] toolchain.eclass: " Michał Górny
2018-08-12  9:17 ` [gentoo-dev] [PATCH 09/10] git-2.eclass: Extend the ban to all future EAPIs Michał Górny
2018-08-12  9:17 ` [gentoo-dev] [PATCH 10/10] git-2.eclass: add @SUPPORTED_EAPIS 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