Files
meta-openembedded/meta-python/recipes-devtools/python/python3-setuptools-git-versioning_3.1.0.bb
T
Ross Burton 0a583b3502 recipes: update for PYPI_PACKAGE change
The pypi class has slightly changed the semantics of the PYPI_PACKAGE
variable[1], now PYPI_PACKAGE is the normalised package name and the new
variable PYPI_PACKAGE_SDIST is used when the source tarball doesn't match.

Update recipes as appropriate: this is mostly deleting now-redundant
assignments but some assignments are still needed where packages are not
uploaded using the modern standards.

[1] oe-core 98049bf86b6 ("classes/pypi: change PYPI_PACKAGE to be normalised")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-10-08 22:27:01 -07:00

20 lines
665 B
BlitzBasic

SUMMARY = "Use git repo data for building a version number according PEP-440"
HOMEPAGE = "https://setuptools-git-versioning.readthedocs.io"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=92e79e3a844e66731724600f3ac9c0d8"
SRC_URI[sha256sum] = "612dfcf184addac9e1c2216f4f229724b2390e5bf613fb925ae80b84f2529172"
inherit pypi python_setuptools_build_meta
DEPENDS += "python3-wheel-native"
PACKAGECONFIG ?= ""
PACKAGECONFIG[python-version-smaller-3-dot-11] = ",,,python3-tomli"
RDEPENDS:${PN} += "python3-core python3-datetime python3-logging \
python3-packaging python3-pprint python3-setuptools \
python3-tomllib"
BBCLASSEXTEND += "native"