From e7c063a7129ac74deff4fe2b529bf91ca08711b6 Mon Sep 17 00:00:00 2001 From: Wolf Vollprecht Date: Sat, 31 Aug 2024 16:30:02 +0200 Subject: [PATCH] move `extra` one level up --- src/rattler_build_conda_compat/render.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rattler_build_conda_compat/render.py b/src/rattler_build_conda_compat/render.py index bb0bc26..3ade2ef 100644 --- a/src/rattler_build_conda_compat/render.py +++ b/src/rattler_build_conda_compat/render.py @@ -54,10 +54,12 @@ def __init__( if not rendered_recipe: self.meta = self.parse_recipe() self.meta["about"] = self.meta.get("about", {}) + self.meta["extra"] = self.meta.get("extra", {}) else: self.meta = rendered_recipe self._rendered = True self.meta["about"] = self.meta["recipe"].get("about", {}) + self.meta["extra"] = self.meta["recipe"].get("extra", {}) self.final = True self.undefined_jinja_vars = []