mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
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:
committed by
Michał Górny
parent
2059beeafd
commit
6d03641a68
@@ -37,6 +37,7 @@ RDEPEND="
|
||||
"
|
||||
BDEPEND="
|
||||
native-extensions? (
|
||||
${RDEPEND}
|
||||
dev-python/types-psutil[${PYTHON_USEDEP}]
|
||||
dev-python/types-setuptools[${PYTHON_USEDEP}]
|
||||
)
|
||||
|
||||
@@ -37,6 +37,7 @@ RDEPEND="
|
||||
"
|
||||
BDEPEND="
|
||||
native-extensions? (
|
||||
${RDEPEND}
|
||||
dev-python/types-psutil[${PYTHON_USEDEP}]
|
||||
dev-python/types-setuptools[${PYTHON_USEDEP}]
|
||||
)
|
||||
|
||||
@@ -37,6 +37,7 @@ RDEPEND="
|
||||
"
|
||||
BDEPEND="
|
||||
native-extensions? (
|
||||
${RDEPEND}
|
||||
dev-python/types-psutil[${PYTHON_USEDEP}]
|
||||
dev-python/types-setuptools[${PYTHON_USEDEP}]
|
||||
)
|
||||
|
||||
@@ -37,6 +37,7 @@ RDEPEND="
|
||||
"
|
||||
BDEPEND="
|
||||
native-extensions? (
|
||||
${RDEPEND}
|
||||
dev-python/types-psutil[${PYTHON_USEDEP}]
|
||||
dev-python/types-setuptools[${PYTHON_USEDEP}]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user