From dabd4b51aca1c65cda3c17a2dff49caa11aa69f6 Mon Sep 17 00:00:00 2001 From: Ralf Pannemans Date: Fri, 16 Aug 2024 12:48:36 +0200 Subject: [PATCH] Allow npm-install and yarn-install to request python to build dependencies --- README.md | 1 + buildpack.toml | 10 ++++++++++ package.toml | 5 ++++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d46ee254..5461dcf9 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ Usage examples can be found in the - [Paketo Base Builder](https://github.com/paketo-buildpacks/base-builder) (for apps which do not leverage common C libraries) This buildpack also includes the following utility buildpacks: +- [cPython CNB](https://github.com/paketo-buildpacks/cpython) - [Procfile CNB](https://github.com/paketo-buildpacks/procfile) - [Environment Variables CNB](https://github.com/paketo-buildpacks/environment-variables) - [Image Labels CNB](https://github.com/paketo-buildpacks/image-labels) diff --git a/buildpack.toml b/buildpack.toml index 45d5d422..c8e16434 100644 --- a/buildpack.toml +++ b/buildpack.toml @@ -28,6 +28,11 @@ api = "0.7" id = "paketo-buildpacks/node-engine" version = "4.1.11" + [[order.group]] + id = "paketo-buildpacks/cpython" + optional = true + version = "1.13.7" + [[order.group]] id = "paketo-buildpacks/yarn" version = "1.3.15" @@ -82,6 +87,11 @@ api = "0.7" id = "paketo-buildpacks/node-engine" version = "4.1.11" + [[order.group]] + id = "paketo-buildpacks/cpython" + optional = true + version = "1.13.7" + [[order.group]] id = "paketo-buildpacks/npm-install" version = "1.4.11" diff --git a/package.toml b/package.toml index c908d47e..f0e086c0 100644 --- a/package.toml +++ b/package.toml @@ -23,6 +23,9 @@ [[dependencies]] uri = "urn:cnb:registry:paketo-buildpacks/yarn-start@2.0.10" +[[dependencies]] + uri = "urn:cnb:registry:paketo-buildpacks/cpython@1.13.7" + [[dependencies]] uri = "urn:cnb:registry:paketo-buildpacks/procfile@5.9.2" @@ -39,4 +42,4 @@ uri = "urn:cnb:registry:paketo-buildpacks/node-run-script@1.0.28" [[dependencies]] - uri = "urn:cnb:registry:paketo-buildpacks/watchexec@3.2.3" + uri = "urn:cnb:registry:paketo-buildpacks/watchexec@3.2.3" \ No newline at end of file