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

@@ -9,10 +9,8 @@ SRC_URI[sha256sum] = "48a76787b3e70f5ed53f1160d2b81f586e4ca6d1548c5de7085d168267
inherit pypi python_hatchling
PYPI_PACKAGE = "jsonschema_specifications"
DEPENDS += "${PYTHON_PN}-hatch-vcs-native"
S = "${WORKDIR}/jsonschema_specifications-${PV}"
PYPI_ARCHIVE_NAME = "jsonschema_specifications-${PV}.${PYPI_PACKAGE_EXT}"
BBCLASSEXTEND = "native nativesdk"