mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pydantic: Fix src_unpack()
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user