From 85de0f87ab0b775dee46c67a4be91bb8cc612b1c Mon Sep 17 00:00:00 2001 From: Dulmandakh Date: Fri, 19 Jul 2024 23:40:16 +0800 Subject: [PATCH] feat: add python3.12-venv to 24.04 (#255) --------- Co-authored-by: Cristovao Cordeiro --- slices/python3-pip-whl.yaml | 15 +++++++++++++++ slices/python3-setuptools-whl.yaml | 13 +++++++++++++ slices/python3.12-venv.yaml | 17 +++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 slices/python3-pip-whl.yaml create mode 100644 slices/python3-setuptools-whl.yaml create mode 100644 slices/python3.12-venv.yaml diff --git a/slices/python3-pip-whl.yaml b/slices/python3-pip-whl.yaml new file mode 100644 index 000000000..189464ab4 --- /dev/null +++ b/slices/python3-pip-whl.yaml @@ -0,0 +1,15 @@ +package: python3-pip-whl + +essential: + - python3-pip-whl_copyright + +slices: + wheels: + essential: + - ca-certificates_data + contents: + /usr/share/python-wheels/pip-*-py3-none-any.whl: + + copyright: + contents: + /usr/share/doc/python3-pip-whl/copyright: diff --git a/slices/python3-setuptools-whl.yaml b/slices/python3-setuptools-whl.yaml new file mode 100644 index 000000000..f203d8bd0 --- /dev/null +++ b/slices/python3-setuptools-whl.yaml @@ -0,0 +1,13 @@ +package: python3-setuptools-whl + +essential: + - python3-setuptools-whl_copyright + +slices: + wheels: + contents: + /usr/share/python-wheels/setuptools-*-py3-none-any.whl: + + copyright: + contents: + /usr/share/doc/python3-setuptools-whl/copyright: diff --git a/slices/python3.12-venv.yaml b/slices/python3.12-venv.yaml new file mode 100644 index 000000000..bccee4210 --- /dev/null +++ b/slices/python3.12-venv.yaml @@ -0,0 +1,17 @@ +package: python3.12-venv + +essential: + - python3.12-venv_copyright + +slices: + ensurepip: + essential: + - python3-pip-whl_wheels + - python3-setuptools-whl_wheels + - python3.12_standard + contents: + /usr/lib/python3.12/ensurepip/*.py: + + copyright: + contents: + /usr/share/doc/python3.12-venv: {symlink: /usr/share/doc/python3.12}