From d59da69ee41c369e610c62c88adc3ce106667dbe Mon Sep 17 00:00:00 2001 From: gabry Date: Wed, 17 Dec 2025 14:05:35 +0100 Subject: [PATCH] python: working pip and old files deletion --- python.recipe.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/python.recipe.py b/python.recipe.py index 9be2a7a..a458bb5 100644 --- a/python.recipe.py +++ b/python.recipe.py @@ -32,12 +32,14 @@ build = [ ] triggers = [ + f"cd /tmp && find /usr/lib -maxdepth 1 -type d -name \"python3*\" ! -name \"python{Pkgver}\" -exec rm -rf {{}} +", + f"python3 -m ensurepip", + f"rm -rf /usr/bin/python3.13 /usr/bin/pip3.13 || true", f"cd /tmp && pip3 install requests build installer materialyoucolor pillow setuptools wheel meson dbus-python meson_python " f"flit-core packaging markupsafe Jinja2 pluggy PyYAML pathspec Mako trove-classifiers editables hatchling python-dbusmock " f"brotli pyproject_metadata Cython pyparsing ply docutils PyGObject Pygments tqdm httplib2==0.21.0 certifi chardet charset_normalizer " f"doxypypy doxyqml idna urllib3", {"rebuild_package": ["caelestia-cli", "kapidox", "glib", "libxml2", "newt", "pycairo", "xcb-proto"]}, - f"cd /tmp && find /usr/lib -maxdepth 1 -type d -name \"python3*\" ! -name \"python{Pkgver}\" -exec rm -rf {{}} +" ] # TODO when a minor version, ie 3.13.0 to 3.14.0 drops specfiy the python version in the newt package config line \ No newline at end of file