python-*: don't set PYPI_ARCHIVE_NAME and S when PYPI_PACKAGE is sufficient

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

(From OE-Core rev: e757a0595602dafcd95a988fb123a8fdb3d4d82b)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2024-03-15 14:37:50 +00:00
committed by Richard Purdie
parent 0291c2c131
commit f111c2a120
8 changed files with 11 additions and 28 deletions

View File

@@ -18,8 +18,8 @@ LIC_FILES_CHKSUM = "\
SRC_URI[sha256sum] = "fa7a4001eae8aa572ee84f35feb510b321bd652e5cf9293249d62853e1f935a2"
inherit python_poetry_core pypi
PYPI_ARCHIVE_NAME = "poetry_core-${PV}.${PYPI_PACKAGE_EXT}"
S = "${WORKDIR}/poetry_core-${PV}"
PYPI_PACKAGE = "poetry_core"
RDEPENDS:${PN}:append:class-target = "\
python3-compression \