diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 2077d43be7d65..596bc0de6e541 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1,2 +1,3 @@ DIST pdm-2.26.7.tar.gz 2679303 BLAKE2B 34f540a63bc8949c2e2f310e93b2e97b111e46cca0def8ae2647e2e177f4758615e592f3348964fc98a5b00640ba5d165fd18f452218ac76d4354cd54c40494f SHA512 eb21bfc0982053ec972e8802815ff6a30d27120fc2f4a3f77451c056a5263c10565a704916447b5e24fca322d8936e390d932a49ad1603442095a00eb76f9400 DIST pdm-2.26.8.tar.gz 2681418 BLAKE2B e4df1b8c436e567aa7dbc0ef7505a2fb04266122fc12b66500f255463f49d0f60a27e1ba65bd6d758c67dddd28c5ac5c22e12febe6da6a4d1d30806506cf214e SHA512 aaee6ae96c678d04b1477c2c0b2b2e2882dabca3c9e04d095c259e732256e2551b317d6dedd49a1bf51d7b9670167be4a31f3f1296a951fc7a636315d09f9d65 +DIST pdm-2.26.9.tar.gz 2682146 BLAKE2B 8bf0a7071501e6fd2ebea650f62cda29352f6801c64ec34cd77ee62e2a74515d9368c0525572611cd13f00f75fc9e088309f984e793729120e5ba6d14340e972 SHA512 def7fb5a8312f597db661f62ed7a3a297075bbd6295e6eccd6e975df242c3f553b835c04ef1b5e2f3bbb49fdf6376b863ab2ae046d7d1bd84fb0830674091994 diff --git a/dev-python/pdm/pdm-2.26.9.ebuild b/dev-python/pdm/pdm-2.26.9.ebuild new file mode 100644 index 0000000000000..742b9b6e67b24 --- /dev/null +++ b/dev-python/pdm/pdm-2.26.9.ebuild @@ -0,0 +1,84 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python package and dependency manager supporting the latest PEP standards" +HOMEPAGE=" + https://pdm-project.org/ + https://github.com/pdm-project/pdm/ + https://pypi.org/project/pdm/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + >=dev-python/dep-logic-0.5[${PYTHON_USEDEP}] + =dev-python/findpython-0.7.0[${PYTHON_USEDEP}] + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + >=dev-python/hishel-1.0.0[${PYTHON_USEDEP}] + >=dev-python/httpcore-1.0.6[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + >=dev-python/id-1.5.0[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + >=dev-python/packaging-22.1[${PYTHON_USEDEP}] + >=dev-python/pbs-installer-2025.10.07[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.2.0[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + >=dev-python/truststore-0.10.4[${PYTHON_USEDEP}] + >=dev-python/unearth-0.17.5[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/uv + ) +" + +EPYTEST_PLUGINS=( pytest-{httpserver,httpx,mock,rerunfailures} ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:,<[0-9.a]*::' pyproject.toml || die + # remove pkgutil namespace magic, as it doesn't work and makes + # dev-python/pdm-backend tests test the wrong package + rm src/pdm/__init__.py || die +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' + # unhappy about extra packages being installed? + # (also fails randomly in venv) + tests/cli/test_build.py::test_build_with_no_isolation + # TODO: random regression? + tests/cli/test_python.py::test_find_python + # TODO + tests/test_formats.py::test_export_from_pylock_not_empty + ) + + epytest -m "not network and not integration and not path" +}