commit: 075290e28a393bb2169afa6e9b09d8a8baf62043
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 14 07:28:35 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Oct 14 07:28:52 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=075290e2
dev-python/pydantic: Fix src_unpack()
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/pydantic/pydantic-2.12.1.ebuild | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dev-python/pydantic/pydantic-2.12.1.ebuild
b/dev-python/pydantic/pydantic-2.12.1.ebuild
index cfa4e78f7f7e..4aa38ea5be41 100644
--- a/dev-python/pydantic/pydantic-2.12.1.ebuild
+++ b/dev-python/pydantic/pydantic-2.12.1.ebuild
@@ -175,6 +175,11 @@ distutils_enable_tests pytest
QA_FLAGS_IGNORED="usr/lib.*/py.*/site-packages/pydantic_core/_pydantic_core.*.so"
+src_unpack() {
+ pypi_src_unpack
+ cargo_src_unpack
+}
+
src_prepare() {
sed -i -e '/benchmark/d' {.,"${PYDANTIC_CORE_S}"}/pyproject.toml || die
sed -i -e '/^strip/d' "${PYDANTIC_CORE_S}"/Cargo.toml || die