diff --git a/dev-python/mypy/files/mypy-1.19.1-update-pathspec.patch b/dev-python/mypy/files/mypy-1.19.1-update-pathspec.patch index 43903435979d4..7f18eb116edf4 100644 --- a/dev-python/mypy/files/mypy-1.19.1-update-pathspec.patch +++ b/dev-python/mypy/files/mypy-1.19.1-update-pathspec.patch @@ -68,25 +68,3 @@ index 54d2263a03f63..c58d798be55a9 100644 "tomli>=1.1.0; python_version<'3.11'", "librt>=0.6.2; platform_python_implementation != 'PyPy'", ] -diff --git a/test-requirements.txt b/test-requirements.txt -index 883930c681a41..05f9163121c14 100644 ---- a/test-requirements.txt -+++ b/test-requirements.txt -@@ -22,7 +22,7 @@ identify==2.6.15 - # via pre-commit - iniconfig==2.1.0 - # via pytest --librt==0.7.3 ; platform_python_implementation != 'PyPy' -+librt==0.7.3 ; platform_python_implementation != "PyPy" - # via -r mypy-requirements.txt - lxml==6.0.2 ; python_version < "3.15" - # via -r test-requirements.in -@@ -32,7 +32,7 @@ nodeenv==1.9.1 - # via pre-commit - packaging==25.0 - # via pytest --pathspec==0.12.1 -+pathspec==1.0.0 - # via -r mypy-requirements.txt - platformdirs==4.5.0 - # via virtualenv diff --git a/dev-python/mypy/mypy-1.18.1.ebuild b/dev-python/mypy/mypy-1.18.1-r1.ebuild similarity index 96% rename from dev-python/mypy/mypy-1.18.1.ebuild rename to dev-python/mypy/mypy-1.18.1-r1.ebuild index 1fd8cf8a8a969..afe3aa5b6ce8a 100644 --- a/dev-python/mypy/mypy-1.18.1.ebuild +++ b/dev-python/mypy/mypy-1.18.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -28,7 +28,7 @@ IUSE="+native-extensions" # stubgen collides with this package: https://bugs.gentoo.org/585594 RDEPEND=" !dev-util/stubgen - >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] + >=dev-python/pathspec-1.0.0[${PYTHON_USEDEP}] >=dev-python/psutil-4[${PYTHON_USEDEP}] >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] >=dev-python/mypy-extensions-1.0.0[${PYTHON_USEDEP}] @@ -57,6 +57,7 @@ export CCACHE_DISABLE=1 PATCHES=( "${FILESDIR}"/${PN}-1.14.0-no-werror.patch + "${FILESDIR}"/${PN}-1.19.1-update-pathspec.patch ) src_prepare() { diff --git a/dev-python/mypy/mypy-1.18.2.ebuild b/dev-python/mypy/mypy-1.18.2-r1.ebuild similarity index 96% rename from dev-python/mypy/mypy-1.18.2.ebuild rename to dev-python/mypy/mypy-1.18.2-r1.ebuild index 39ffa8b05a29a..90e44a7f01626 100644 --- a/dev-python/mypy/mypy-1.18.2.ebuild +++ b/dev-python/mypy/mypy-1.18.2-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -28,7 +28,7 @@ IUSE="native-extensions" # stubgen collides with this package: https://bugs.gentoo.org/585594 RDEPEND=" !dev-util/stubgen - >=dev-python/pathspec-0.9.0[${PYTHON_USEDEP}] + >=dev-python/pathspec-1.0.0[${PYTHON_USEDEP}] >=dev-python/psutil-4[${PYTHON_USEDEP}] >=dev-python/typing-extensions-4.6.0[${PYTHON_USEDEP}] >=dev-python/mypy-extensions-1.0.0[${PYTHON_USEDEP}] @@ -57,6 +57,7 @@ export CCACHE_DISABLE=1 PATCHES=( "${FILESDIR}"/${PN}-1.14.0-no-werror.patch + "${FILESDIR}"/${PN}-1.19.1-update-pathspec.patch ) src_prepare() {