commit: 0967e2e6d5fdab917cd1059936ffe598119f744d
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 21 17:19:41 2025 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 21 17:31:35 2025 +0000
URL:
https://gitweb.gentoo.org/proj/pkgcore/pkgcore.git/commit/?id=0967e2e6
introduce EAPI=9
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
data/lib/pkgcore/ebd/Makefile | 2 +-
src/pkgcore/ebuild/eapi.py | 15 +++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/data/lib/pkgcore/ebd/Makefile b/data/lib/pkgcore/ebd/Makefile
index b812176d..8f7ebfdc 100644
--- a/data/lib/pkgcore/ebd/Makefile
+++ b/data/lib/pkgcore/ebd/Makefile
@@ -3,7 +3,7 @@ PYTHONPATH ?= ../../../../src
PYTHON_CALL = PYTHONPATH="$(PYTHONPATH)" PYTHONDONTWRITEBYTECODE=1 $(PYTHON)
TARGET = .generated
-KNOWN_EAPI = 0 1 2 3 4 5 6 7 8
+KNOWN_EAPI = 0 1 2 3 4 5 6 7 8 9
all: funcs cmds libs
diff --git a/src/pkgcore/ebuild/eapi.py b/src/pkgcore/ebuild/eapi.py
index b5f9d029..ce612743 100644
--- a/src/pkgcore/ebuild/eapi.py
+++ b/src/pkgcore/ebuild/eapi.py
@@ -847,3 +847,18 @@ eapi8 = EAPI.register(
),
ebd_env_options=eapi7._ebd_env_options,
)
+
+eapi9 = EAPI.register(
+ magic="9",
+ parent=eapi8,
+ phases=eapi8.phases,
+ default_phases=eapi8.default_phases,
+ mandatory_keys=eapi8.mandatory_keys,
+ dep_keys=eapi8.dep_keys,
+ metadata_keys=eapi8.metadata_keys,
+ eclass_keys=eapi8.eclass_keys,
+ tracked_attributes=eapi8.tracked_attributes,
+ archive_exts=eapi8.archive_exts,
+ optionals=eapi8.options,
+ ebd_env_options=eapi8._ebd_env_options,
+)