meta-openembedded/meta-python/recipes-devtools/python/python3-pytest-asyncio_1.1.0.bb
Yi Zhao e105ccf75f
python3-pytest-asyncio: 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-asyncio
INFO: Current version: 1.1.0
INFO: Latest version: 0.23.6

After the patch:
$ devtool latest-version python3-pytest-asyncio
INFO: Current version: 1.1.0
INFO: Latest version: 1.3.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

20 lines
612 B
BlitzBasic

DESCRIPTION = "pytest-asyncio is an Apache2 licensed library, written in Python, for testing asyncio code with pytest"
HOMEPAGE = "https://github.com/pytest-dev/pytest-asyncio"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=136e4f49dbf29942c572a3a8f6e88a77"
SRC_URI[sha256sum] = "796aa822981e01b68c12e4827b8697108f7205020f24b5793b3c41555dab68ea"
inherit pypi python_setuptools_build_meta
PYPI_PACKAGE = "pytest_asyncio"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += " \
python3-pytest \
"
BBCLASSEXTEND = "native nativesdk"