All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 10/13] package/python-pytest-runner: new package
@ 2026-04-28 17:27 Alexandre Ondet
  2026-05-30 21:25 ` Marcus Hoffmann via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Alexandre Ondet @ 2026-04-28 17:27 UTC (permalink / raw)
  To: buildroot; +Cc: Alexandre Ondet, James Hilliard, Thomas Petazzoni

Signed-off-by: Alexandre Ondet <frcomdev@gmail.com>
---
 package/Config.in                                  |  1 +
 package/python-pytest-runner/Config.in             |  7 +++++++
 .../python-pytest-runner/python-pytest-runner.hash |  3 +++
 .../python-pytest-runner/python-pytest-runner.mk   | 14 ++++++++++++++
 4 files changed, 25 insertions(+)
 create mode 100644 package/python-pytest-runner/Config.in
 create mode 100644 package/python-pytest-runner/python-pytest-runner.hash
 create mode 100644 package/python-pytest-runner/python-pytest-runner.mk

diff --git a/package/Config.in b/package/Config.in
index 3c89a2a480..6513ffc4bb 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1367,6 +1367,7 @@ menu "External python modules"
 	source "package/python-pytablewriter/Config.in"
 	source "package/python-pytest/Config.in"
 	source "package/python-pytest-asyncio/Config.in"
+	source "package/python-pytest-runner/Config.in"
 	source "package/python-pytrie/Config.in"
 	source "package/python-pytz/Config.in"
 	source "package/python-pyudev/Config.in"
diff --git a/package/python-pytest-runner/Config.in b/package/python-pytest-runner/Config.in
new file mode 100644
index 0000000000..0a14e35c5d
--- /dev/null
+++ b/package/python-pytest-runner/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PYTHON_PYTEST_RUNNER
+	bool "python-pytest-runner"
+	help
+	  Setuptools plugin used when upstream packages rely on pytest-runner for
+	  their setup or test entry points.
+
+	  https://pypi.org/project/pytest-runner/
\ No newline at end of file
diff --git a/package/python-pytest-runner/python-pytest-runner.hash b/package/python-pytest-runner/python-pytest-runner.hash
new file mode 100644
index 0000000000..4bbcf9a9f4
--- /dev/null
+++ b/package/python-pytest-runner/python-pytest-runner.hash
@@ -0,0 +1,3 @@
+# From https://pypi.org/pypi/pytest-runner/6.0.1/json
+sha256  70d4739585a7008f37bf4933c013fdb327b8878a5a69fcbb3316c88882f0f49b  pytest-runner-6.0.1.tar.gz
+sha256  db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8  LICENSE
\ No newline at end of file
diff --git a/package/python-pytest-runner/python-pytest-runner.mk b/package/python-pytest-runner/python-pytest-runner.mk
new file mode 100644
index 0000000000..82b3c8628f
--- /dev/null
+++ b/package/python-pytest-runner/python-pytest-runner.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pytest-runner
+#
+################################################################################
+
+PYTHON_PYTEST_RUNNER_VERSION = 6.0.1
+PYTHON_PYTEST_RUNNER_SOURCE = pytest-runner-$(PYTHON_PYTEST_RUNNER_VERSION).tar.gz
+PYTHON_PYTEST_RUNNER_SITE = https://files.pythonhosted.org/packages/source/p/pytest-runner
+PYTHON_PYTEST_RUNNER_SETUP_TYPE = setuptools
+PYTHON_PYTEST_RUNNER_LICENSE = MIT
+PYTHON_PYTEST_RUNNER_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))
\ No newline at end of file
-- 
2.53.0.windows.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 10/13] package/python-pytest-runner: new package
  2026-04-28 17:27 [Buildroot] [PATCH 10/13] package/python-pytest-runner: new package Alexandre Ondet
@ 2026-05-30 21:25 ` Marcus Hoffmann via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Marcus Hoffmann via buildroot @ 2026-05-30 21:25 UTC (permalink / raw)
  To: Alexandre Ondet, buildroot; +Cc: James Hilliard, Thomas Petazzoni

Hi Alexandre,

I'm confused about this specific new package, see below.

On 4/28/26 19:27, Alexandre Ondet wrote:
> Signed-off-by: Alexandre Ondet <frcomdev@gmail.com>
> ---
>   package/Config.in                                  |  1 +
>   package/python-pytest-runner/Config.in             |  7 +++++++
>   .../python-pytest-runner/python-pytest-runner.hash |  3 +++
>   .../python-pytest-runner/python-pytest-runner.mk   | 14 ++++++++++++++
>   4 files changed, 25 insertions(+)
>   create mode 100644 package/python-pytest-runner/Config.in
>   create mode 100644 package/python-pytest-runner/python-pytest-runner.hash
>   create mode 100644 package/python-pytest-runner/python-pytest-runner.mk
> 
> diff --git a/package/Config.in b/package/Config.in
> index 3c89a2a480..6513ffc4bb 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -1367,6 +1367,7 @@ menu "External python modules"
>   	source "package/python-pytablewriter/Config.in"
>   	source "package/python-pytest/Config.in"
>   	source "package/python-pytest-asyncio/Config.in"
> +	source "package/python-pytest-runner/Config.in"
>   	source "package/python-pytrie/Config.in"
>   	source "package/python-pytz/Config.in"
>   	source "package/python-pyudev/Config.in"
> diff --git a/package/python-pytest-runner/Config.in b/package/python-pytest-runner/Config.in
> new file mode 100644
> index 0000000000..0a14e35c5d
> --- /dev/null
> +++ b/package/python-pytest-runner/Config.in
> @@ -0,0 +1,7 @@
> +config BR2_PACKAGE_PYTHON_PYTEST_RUNNER
> +	bool "python-pytest-runner"
> +	help
> +	  Setuptools plugin used when upstream packages rely on pytest-runner for
> +	  their setup or test entry points.

Could you explain your use case for this? If I'm reading this patch and 
the package description correctly, this is a plugin that would be used 
when building python packages on the target? Or did you intend to add 
this as a host package? But then it would be better to only do that when 
an in-tree package requires this.

Also reading the readme, it sounds like this package is deprecated since 
setup.py test is deprecated.

> +
> +	  https://pypi.org/project/pytest-runner/
> \ No newline at end of file
> diff --git a/package/python-pytest-runner/python-pytest-runner.hash b/package/python-pytest-runner/python-pytest-runner.hash
> new file mode 100644
> index 0000000000..4bbcf9a9f4
> --- /dev/null
> +++ b/package/python-pytest-runner/python-pytest-runner.hash
> @@ -0,0 +1,3 @@
> +# From https://pypi.org/pypi/pytest-runner/6.0.1/json
> +sha256  70d4739585a7008f37bf4933c013fdb327b8878a5a69fcbb3316c88882f0f49b  pytest-runner-6.0.1.tar.gz
> +sha256  db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8  LICENSE
> \ No newline at end of file
> diff --git a/package/python-pytest-runner/python-pytest-runner.mk b/package/python-pytest-runner/python-pytest-runner.mk
> new file mode 100644
> index 0000000000..82b3c8628f
> --- /dev/null
> +++ b/package/python-pytest-runner/python-pytest-runner.mk
> @@ -0,0 +1,14 @@
> +################################################################################
> +#
> +# python-pytest-runner
> +#
> +################################################################################
> +
> +PYTHON_PYTEST_RUNNER_VERSION = 6.0.1
> +PYTHON_PYTEST_RUNNER_SOURCE = pytest-runner-$(PYTHON_PYTEST_RUNNER_VERSION).tar.gz
> +PYTHON_PYTEST_RUNNER_SITE = https://files.pythonhosted.org/packages/source/p/pytest-runner
> +PYTHON_PYTEST_RUNNER_SETUP_TYPE = setuptools
> +PYTHON_PYTEST_RUNNER_LICENSE = MIT
> +PYTHON_PYTEST_RUNNER_LICENSE_FILES = LICENSE
> +
> +$(eval $(python-package))
> \ No newline at end of file

Please make sure your files have a newline at the end.

Marcus

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-05-30 21:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-28 17:27 [Buildroot] [PATCH 10/13] package/python-pytest-runner: new package Alexandre Ondet
2026-05-30 21:25 ` Marcus Hoffmann via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.