Skip to contentSkip to conversation

python3-pydantic-core: just set PYPI_PACKAGE

PATCH Applied [email protected] 2 participants 2 messages Mar 15, 2024 – Mar 17, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pydantic-core: just set PYPI_PACKAGE

From: Ross Burton <[email protected]>

There's no need to set PYPI_ARCHIVE_NAME and S explicitly if PYPI_PACKAGE is set correctly.

---
 .../recipes-devtools/python/python3-pydantic-core_2.16.3.bb   | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
meta-python/recipes-devtools/python/python3-pydantic-core_2.16.3.bb +1 -3
index b26478451a..2086091d63 100644
@@ -17,9 +17,7 @@ require ${BPN}-crates.inc
 
 inherit pypi cargo-update-recipe-crates python_maturin
 
-S = "${WORKDIR}/pydantic_core-${PV}"
-
-PYPI_ARCHIVE_NAME = "pydantic_core-${PV}.${PYPI_PACKAGE_EXT}"
+PYPI_PACKAGE = "pydantic_core"
 
 RDEPENDS:${PN} += "python3-typing-extensions"
 
Signature · 1 line
2.34.1
Applied
#1 lore raw
Quoted 4 lines · On Fri, 15 Mar 2024 11:41:59 +0000, [email protected] wrote:

There's no need to set PYPI_ARCHIVE_NAME and S explicitly if PYPI_PACKAGE is set correctly.

Applied, thanks!

[1/1] python3-pydantic-core: just set PYPI_PACKAGE

      commit: d52c3b94068f660b729361bb969129d50eaf81a6

Best regards,

Signature · 1 line
Khem Raj <[email protected]>