name: pdm matrix: versions: - 2.13.0 - 2.13.1 - 2.13.2 - 2.13.3 - 2.14.0 - 2.15.0 - 2.15.1 - 2.15.2 - 2.15.3 - 2.15.4 - 2.16.0 - 2.16.1 - 2.17.0 - 2.17.1 - 2.17.2 - 2.17.3 - 2.18.0 - 2.18.1 - 2.18.2 - 2.19.0 - 2.19.1 - 2.19.2 - 2.19.3 - 2.20.0 - 2.20.0.post1 - 2.20.1 - 2.21.0 - 2.22.0 - 2.22.1 - 2.22.2 - 2.22.3 - 2.22.4 - 2.23.0 - 2.23.1 - 2.24.1 - 2.24.2 - 2.25.0 - 2.25.1 - 2.25.2 - 2.25.3 - 2.25.4 - 2.25.5 - 2.25.6 - 2.25.7 - 2.25.9 - 2.26.0 - 2.26.1 - 2.26.2 - 2.26.3 - 2.26.4 homepage: https://pdm.fming.dev/ summary: modern Python package and dependency manager supporting the latest PEP standards description: |- PDM is meant to be a next generation Python package management tool. It was originally built for personal use. If you feel you are going well with Pipenv or Poetry and don't want to introduce another package manager, just stick to it. But if you are missing something that is not present in those tools, you can probably find some goodness in pdm. Highlights of features: * Simple and fast dependency resolver, mainly for large binary distributions. * A PEP 517 build backend. * PEP 621 project metadata. * Flexible and powerful plug-in system. * Versatile user scripts. * Opt-in centralized installation cache like pnpm. depends: - python3.11-build-standalone fetch: https://github.com/pdm-project/pdm/archive/refs/tags/{{version}}.tar.gz install: - content: |- #!/usr/lib/pdm/bin/python3 import os import sys from pdm.core import main if __name__ == '__main__': sys.exit(main()) path: /usr/bin/pdm - content: |- #!/bin/sh set -e find /usr/lib/pdm -name '*.py' -exec /usr/lib/pdm/bin/python3 -m py_compile {} + path: debian/postinst - content: |- #!/bin/sh set -e find /usr/lib/pdm -name '__pycache__' -exec rm -r {} + path: debian/prerm script: - install_packages python3.11-build-standalone - |- # install bootstrap pdm /usr/lib/python-build-standalone/3.11/bin/python3 -m venv bootstrap . bootstrap/bin/activate pip install pdm=={{version}} - |- # install pdm with pdm own pdm.lock /usr/lib/python-build-standalone/3.11/bin/python3 -m venv pdm-{{version}}/.venv sed -i 's/dynamic = \["version"\]/version = "{{version}}"/' pdm-{{version}}/pyproject.toml bootstrap/bin/pdm install -p pdm-{{version}} --no-editable mv pdm-{{version}}/.venv {{src}}/usr/lib/pdm