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=24dce5ef6a13563241c24bc366f48886"
SRC_URI[sha256sum] = "0dc87637d5de53dd5eec3a6a01753b1ccf99494bd756aafecd74b4fa9e729015"
PYPI_PACKAGE = "sphinxcontrib-htmlhelp"
PYPI_PACKAGE = "sphinxcontrib_htmlhelp"
inherit pypi python_flit_core
PYPI_ARCHIVE_NAME = "sphinxcontrib_htmlhelp-${PV}.${PYPI_PACKAGE_EXT}"
S = "${WORKDIR}/sphinxcontrib_htmlhelp-${PV}"
BBCLASSEXTEND = "native nativesdk"