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

@@ -5,11 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=fd30d9972a142c857a80c9f312e92b93"
SRC_URI[sha256sum] = "9893fd3f90506bc4b97bdb977ceb8fbd823989f4316b28c3841ec128544372d3"
PYPI_PACKAGE = "sphinxcontrib-devhelp"
PYPI_PACKAGE = "sphinxcontrib_devhelp"
inherit pypi python_flit_core
PYPI_ARCHIVE_NAME = "sphinxcontrib_devhelp-${PV}.${PYPI_PACKAGE_EXT}"
S = "${WORKDIR}/sphinxcontrib_devhelp-${PV}"
BBCLASSEXTEND = "native nativesdk"