meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-cov_6.2.1.bb
Yi Zhao a5eb02a811
python3-pytest-cov: add UPSTREAM_CHECK_PYPI_PACKAGE
Add UPSTREAM_CHECK_PYPI_PACKAGE to check the correct latest stable
verison.

Before the patch:
$ devtool latest-version python3-pytest-cov
INFO: Current version: 6.2.1
INFO: Latest version: 6.0.0

After the patch:
$ devtool latest-version python3-pytest-cov
INFO: Current version: 6.2.1
INFO: Latest version: 7.0.0

Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-11-12 22:46:03 -08:00

19 lines
542 B
BlitzBasic

SUMMARY = "Pytest plugin for measuring coverage."
HOMEPAGE = "https://github.com/pytest-dev/pytest-cov"
LICENSE = "MIT"
LIC_FILES_CHKSUM = " \
file://LICENSE;md5=cbc4e25353c748c817db2daffe605e43 \
"
SRC_URI[sha256sum] = "25cc6cc0a5358204b8108ecedc51a9b57b34cc6b8c967cc2c01a4e00d8a67da2"
inherit pypi setuptools3
DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += "python3-coverage python3-pytest python3-pluggy"
PYPI_PACKAGE = "pytest_cov"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
BBCLASSEXTEND = "native nativesdk"