From ca1ce0ee8bd5263db605bbfd7ee10de07653c40d Mon Sep 17 00:00:00 2001 From: Trevor Gamblin Date: Thu, 11 Jul 2024 12:08:16 -0400 Subject: 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 Signed-off-by: Richard Purdie --- .../python/python3-pytest-subtests_0.12.1.bb | 20 -------------------- .../python/python3-pytest-subtests_0.13.0.bb | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 20 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-pytest-subtests_0.12.1.bb create mode 100644 meta/recipes-devtools/python/python3-pytest-subtests_0.13.0.bb (limited to 'meta/recipes-devtools/python') diff --git a/meta/recipes-devtools/python/python3-pytest-subtests_0.12.1.bb b/meta/recipes-devtools/python/python3-pytest-subtests_0.12.1.bb deleted file mode 100644 index 0590be705f..0000000000 --- a/meta/recipes-devtools/python/python3-pytest-subtests_0.12.1.bb +++ /dev/null @@ -1,20 +0,0 @@ -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] = "d6605dcb88647e0b7c1889d027f8ef1c17d7a2c60927ebfdc09c7b0d8120476d" - -inherit pypi python_setuptools_build_meta - -DEPENDS += "python3-setuptools-scm-native" - -RDEPENDS:${PN} += " \ - python3-pytest \ -" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-pytest-subtests_0.13.0.bb b/meta/recipes-devtools/python/python3-pytest-subtests_0.13.0.bb new file mode 100644 index 0000000000..7fe074425f --- /dev/null +++ b/meta/recipes-devtools/python/python3-pytest-subtests_0.13.0.bb @@ -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" -- cgit v1.2.3-54-g00ecf