python3-pytest-subtests: upgrade 0.12.1 -> 0.13.0

Changelog (https://github.com/pytest-dev/pytest-subtests/blob/main/CHANGELOG.rst):

- Dropped support for EOL Python 3.7.
- Added support for -x/--exitfirst (#134).
- Hide the traceback inside the SubTests.test() method (#131).

The tarball changed to use an underscore instead of a dash, so use
PYPI_PACKAGE to account for it.

(From OE-Core rev: a02e208d6c4935fe1c0707ec1b79934ef2a3cd30)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Trevor Gamblin
2024-07-11 12:08:16 -04:00
committed by Richard Purdie
parent 314106d579
commit ca1ce0ee8b

View File

@@ -0,0 +1,22 @@
SUMMARY = "unittest subTest() support and subtests fixture."
DESCRIPTION = "Adds support for TestCase.subTest.\
New subtests fixture, providing similar functionality for pure pytest tests."
HOMEPAGE = "https://github.com/pytest-dev/pytest-subtests"
BUGTRACKER = "https://github.com/pytest-dev/pytest-subtests/issues"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1"
SRC_URI[sha256sum] = "9e02b9d243c0379b02abf3e0887da122bcb2714b021c3608a37f17ce210adce5"
PYPI_PACKAGE = "pytest_subtests"
inherit pypi python_setuptools_build_meta
DEPENDS += "python3-setuptools-scm-native"
RDEPENDS:${PN} += " \
python3-pytest \
"
BBCLASSEXTEND = "native nativesdk"