diff mbox series

[meta-python,7/8] new recipe: python3-pytest-picked

Message ID 20251105212631.386242-11-t.f.g.geelen@gmail.com
State New
Headers show
Series [meta-python,1/8] python3-requests-toolbelt: add BBCLASSEXTEND: native nativesdk | expand

Commit Message

Tom Geelen Nov. 5, 2025, 9:26 p.m. UTC
Run the tests related to the unstaged files or the current branch (according to Git)

Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
---
 .../python/python3-pytest-picked_0.5.1.bb          | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb

Comments

Khem Raj Nov. 5, 2025, 10:50 p.m. UTC | #1
On Wed, Nov 5, 2025 at 1:28 PM Tom Geelen via lists.openembedded.org
<t.f.g.geelen=gmail.com@lists.openembedded.org> wrote:

> Run the tests related to the unstaged files or the current branch
> (according to Git)
>
> Signed-off-by: Tom Geelen <t.f.g.geelen@gmail.com>
> ---
>  .../python/python3-pytest-picked_0.5.1.bb          | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-pytest-picked_0.5.1.bb
>
> diff --git a/meta-python/recipes-devtools/python/
> python3-pytest-picked_0.5.1.bb b/meta-python/recipes-devtools/python/
> python3-pytest-picked_0.5.1.bb
> new file mode 100644
> index 0000000000..5bea05a036
> --- /dev/null
> +++ b/meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb
> @@ -0,0 +1,14 @@
> +SUMMARY = "Run the tests related to the changed files"
> +HOMEPAGE = "https://github.com/anapaulagomes/pytest-picked"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=6d374a27c85c3fcc979009952ec16f1b"
> +RECIPE_MAINTAINER = "Tom Geelen <t.f.g.geelen@gmail.com>"
> +
> +SRC_URI[sha256sum] =
> "6634c4356a560a5dc3dba35471865e6eb06bbd356b56b69c540593e9d5620ded"
> +
> +inherit pypi python_setuptools_build_meta ptest-python-pytest
>

I think the test should be enabled as well for
e.g. meta-python-image-ptest-all
please add it to conf/include/ptest-packagelists-meta-python.inc as well.


> +
> +PYPI_PACKAGE = "pytest_picked"
> +RDEPENDS:${PN} = "python3-pytest (>=3.7.0)"
> +
> +UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#121336):
> https://lists.openembedded.org/g/openembedded-devel/message/121336
> Mute This Topic: https://lists.openembedded.org/mt/116142683/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb b/meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb
new file mode 100644
index 0000000000..5bea05a036
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-picked_0.5.1.bb
@@ -0,0 +1,14 @@ 
+SUMMARY = "Run the tests related to the changed files"
+HOMEPAGE = "https://github.com/anapaulagomes/pytest-picked"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=6d374a27c85c3fcc979009952ec16f1b"
+RECIPE_MAINTAINER = "Tom Geelen <t.f.g.geelen@gmail.com>"
+
+SRC_URI[sha256sum] = "6634c4356a560a5dc3dba35471865e6eb06bbd356b56b69c540593e9d5620ded"
+
+inherit pypi python_setuptools_build_meta ptest-python-pytest
+
+PYPI_PACKAGE = "pytest_picked"
+RDEPENDS:${PN} = "python3-pytest (>=3.7.0)"
+
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"