summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-06-15 04:51:59 +0200
committerMichał Górny <mgorny@gentoo.org>2025-06-15 04:51:59 +0200
commit8b481684c15ed5dd0a2e16f76d80e4bf6d1d7c0b (patch)
treefa646e1230f6815303b7deb6c679e3d4c757d4e0 /dev-python
parent9c78741980a29df05cebd149162246ad01bd58be (diff)
downloadgentoo-8b481684c15ed5dd0a2e16f76d80e4bf6d1d7c0b.tar.gz
gentoo-8b481684c15ed5dd0a2e16f76d80e4bf6d1d7c0b.tar.bz2
gentoo-8b481684c15ed5dd0a2e16f76d80e4bf6d1d7c0b.zip
dev-python/pdm: Bump to 2.25.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pdm/Manifest1
-rw-r--r--dev-python/pdm/pdm-2.25.1.ebuild81
2 files changed, 82 insertions, 0 deletions
diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest
index ff8ff77caf41..bb230912f301 100644
--- a/dev-python/pdm/Manifest
+++ b/dev-python/pdm/Manifest
@@ -1 +1,2 @@
DIST pdm-2.25.0.tar.gz 2662202 BLAKE2B d42f3344904f87f83d6e24fb7a46d27a2981da7c68acc099cb5759f14f03f0191622dfe4c5abe5408340868d889dcdec632597019b858c99e9dfdf952dd29673 SHA512 6b57f7d3ce69fa6b7de1e6b93f7defecd181b6f445a2075999faa9a45be87f79a54bbcb03e415ec2c6448eb3abde411c2a1de0ca163e45a5accbac105d21415c
+DIST pdm-2.25.1.tar.gz 2662443 BLAKE2B 8032152344c7369c0242a6b6854d94ea29617ca5ef07ea5bb4cbf98e05d7a03240944b367a78f5733a72590739b678fcd6a991cb014d2d43c1e723505255736e SHA512 dcd4c9a97053001b6a9760fcd5203da64e7c423d9f0273bca156057505ab7aaada35631cd4d90474854cf55e5a67c8ca48c1de75660a0067709ef61f1be1754d
diff --git a/dev-python/pdm/pdm-2.25.1.ebuild b/dev-python/pdm/pdm-2.25.1.ebuild
new file mode 100644
index 000000000000..5e9e71dd639e
--- /dev/null
+++ b/dev-python/pdm/pdm-2.25.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=pdm-backend
+PYTHON_COMPAT=( python3_{11..13} )
+
+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-1[${PYTHON_USEDEP}]
+ >=dev-python/findpython-0.6.0[${PYTHON_USEDEP}]
+ dev-python/blinker[${PYTHON_USEDEP}]
+ dev-python/filelock[${PYTHON_USEDEP}]
+ >=dev-python/hishel-0.0.32[${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[${PYTHON_USEDEP}]
+ >=dev-python/pbs-installer-2025.06.06[${PYTHON_USEDEP}]
+ dev-python/platformdirs[${PYTHON_USEDEP}]
+ dev-python/pyproject-hooks[${PYTHON_USEDEP}]
+ dev-python/python-dotenv[${PYTHON_USEDEP}]
+ >=dev-python/resolvelib-1.1[${PYTHON_USEDEP}]
+ dev-python/rich[${PYTHON_USEDEP}]
+ dev-python/shellingham[${PYTHON_USEDEP}]
+ dev-python/tomlkit[${PYTHON_USEDEP}]
+ >=dev-python/truststore-0.9[${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/pytest-mock[${PYTHON_USEDEP}]
+ dev-python/pytest-httpserver[${PYTHON_USEDEP}]
+ dev-python/pytest-httpx[${PYTHON_USEDEP}]
+ dev-python/pytest-rerunfailures[${PYTHON_USEDEP}]
+ dev-python/uv
+ )
+"
+
+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
+}
+
+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
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -m "not network and not integration and not path" \
+ -p pytest_mock -p pytest_httpx -p pytest_httpserver
+}