dev-python/mypy: add missing build dependencies for native-extensions

It has to run mypy at build time, so all RDEPEND must also be BDEPEND
here. I thought I had originally added this...

This prevents building with e.g. different root or --buildpkgonly, where
RDEPEND isn't used at all (as an implementation detail, building and
installing will merge RDEPEND first, so people might not notice the
issue).

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/33970
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Eli Schwartz
2023-11-24 15:14:07 -05:00
committed by Michał Górny
parent 2059beeafd
commit 6d03641a68
4 changed files with 4 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ RDEPEND="
"
BDEPEND="
native-extensions? (
${RDEPEND}
dev-python/types-psutil[${PYTHON_USEDEP}]
dev-python/types-setuptools[${PYTHON_USEDEP}]
)

View File

@@ -37,6 +37,7 @@ RDEPEND="
"
BDEPEND="
native-extensions? (
${RDEPEND}
dev-python/types-psutil[${PYTHON_USEDEP}]
dev-python/types-setuptools[${PYTHON_USEDEP}]
)

View File

@@ -37,6 +37,7 @@ RDEPEND="
"
BDEPEND="
native-extensions? (
${RDEPEND}
dev-python/types-psutil[${PYTHON_USEDEP}]
dev-python/types-setuptools[${PYTHON_USEDEP}]
)

View File

@@ -37,6 +37,7 @@ RDEPEND="
"
BDEPEND="
native-extensions? (
${RDEPEND}
dev-python/types-psutil[${PYTHON_USEDEP}]
dev-python/types-setuptools[${PYTHON_USEDEP}]
)