python: working pip and old files deletion

This commit is contained in:
2025-12-17 14:05:35 +01:00
parent 7187205bc5
commit d59da69ee4

View File

@@ -32,12 +32,14 @@ build = [
] ]
triggers = [ 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"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"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"brotli pyproject_metadata Cython pyparsing ply docutils PyGObject Pygments tqdm httplib2==0.21.0 certifi chardet charset_normalizer "
f"doxypypy doxyqml idna urllib3", f"doxypypy doxyqml idna urllib3",
{"rebuild_package": ["caelestia-cli", "kapidox", "glib", "libxml2", "newt", "pycairo", "xcb-proto"]}, {"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 # TODO when a minor version, ie 3.13.0 to 3.14.0 drops specfiy the python version in the newt package config line