From e6dd9ce1daa334ac3113d747fc4ef457299747fb Mon Sep 17 00:00:00 2001 From: auronandace Date: Wed, 15 Jul 2026 09:03:21 +0100 Subject: [PATCH] add python3-vcs-versioning package for wasi-testsuite --- .../python/python3-vcs-versioning/recipe.toml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 recipes/wip/dev/python/python3-vcs-versioning/recipe.toml diff --git a/recipes/wip/dev/python/python3-vcs-versioning/recipe.toml b/recipes/wip/dev/python/python3-vcs-versioning/recipe.toml new file mode 100644 index 000000000..056d3193a --- /dev/null +++ b/recipes/wip/dev/python/python3-vcs-versioning/recipe.toml @@ -0,0 +1,27 @@ +# TODO compiles but needs testing +# TODO remove --no-deps hack when possible (PYTHONPATH is not read by pip; pip --find-links only works with wheel archives) +[source] +git = "https://github.com/pypa/setuptools-scm" +rev = "vcs-versioning-v2.2.2" +shallow_clone = true + +[build] +template = "custom" +dev-dependencies = [ + "host:python312", + "python312", + "python3-setuptools", + "host:python3-setuptools", + "host:python3-packaging", +] +script = """ +DYNAMIC_INIT +COOKBOOK_SOURCE+="/vcs-versioning" +cookbook_python --no-deps +""" + +[package] +dependencies = [ + "python312", + "python3-packaging", +]