summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pydantic')
-rw-r--r--dev-python/pydantic/pydantic-1.10.2.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-python/pydantic/pydantic-1.10.2.ebuild b/dev-python/pydantic/pydantic-1.10.2.ebuild
index 3d1d9309682a..70673d77e10b 100644
--- a/dev-python/pydantic/pydantic-1.10.2.ebuild
+++ b/dev-python/pydantic/pydantic-1.10.2.ebuild
@@ -29,7 +29,9 @@ RDEPEND="
>=dev-python/typing-extensions-4.1.0[${PYTHON_USEDEP}]
"
BDEPEND="
- dev-python/cython[${PYTHON_USEDEP}]
+ native-extensions? (
+ dev-python/cython[${PYTHON_USEDEP}]
+ )
test? (
dev-python/hypothesis[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]