Skip to contentSkip to conversation

package/python-pytest-runner: new package

PATCH In review Alexandre Ondet 2 participants 2 messages Apr 28 – May 30

lore
Share & tools
lore
#0 lore raw

PATCH 10/13 package/python-pytest-runner: new package

---
 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
package/Config.in +1 -0
index 3c89a2a480..6513ffc4bb 100644
@@ -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"
package/python-pytest-runner/Config.in new file +7 -0
new file mode 100644
index 0000000000..0a14e35c5d
@@ -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
package/python-pytest-runner/python-pytest-runner.hash new file +3 -0
new file mode 100644
index 0000000000..4bbcf9a9f4
@@ -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
package/python-pytest-runner/python-pytest-runner.mk new file +14 -0
new file mode 100644
index 0000000000..82b3c8628f
@@ -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
Signature · 6 lines
2.53.0.windows.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hi Alexandre,

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

Quoted 29 lines · Alexandre Ondet
---
  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

package/Config.in +1 -0
index 3c89a2a480..6513ffc4bb 100644
@@ -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"
package/python-pytest-runner/Config.in new file +0 -0
new file mode 100644
index 0000000000..0a14e35c5d

package/python-pytest-runner/Config.in line 5

Quoted 5 lines
package/python-pytest-runner/Config.in new file +5 -0
@@ -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.

Quoted 24 lines
package/python-pytest-runner/Config.in new file +2 -0
+
+	  https://pypi.org/project/pytest-runner/
\ No newline at end of file
package/python-pytest-runner/python-pytest-runner.hash new file +3 -0
new file mode 100644
index 0000000000..4bbcf9a9f4
@@ -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
package/python-pytest-runner/python-pytest-runner.mk new file +5 -0
new file mode 100644
index 0000000000..82b3c8628f
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-pytest-runner
+#
+################################################################################

package/python-pytest-runner/python-pytest-runner.mk line 14

Quoted 10 lines
package/python-pytest-runner/python-pytest-runner.mk new file +9 -0
+
+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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot