pytest plugin that allows you to add environment variables.

Signed-off-by: Tom Geelen <[email protected]>
---
 .../ptest-packagelists-meta-python.inc        |  1 +
 .../python/python3-pytest-env_1.2.0.bb        | 21 +++++++++++++++++++
 2 files changed, 22 insertions(+)
 create mode 100644 
meta-python/recipes-devtools/python/python3-pytest-env_1.2.0.bb

diff --git a/meta-python/conf/include/ptest-packagelists-meta-python.inc 
b/meta-python/conf/include/ptest-packagelists-meta-python.inc
index 15172e7f22..d01483afb4 100644
--- a/meta-python/conf/include/ptest-packagelists-meta-python.inc
+++ b/meta-python/conf/include/ptest-packagelists-meta-python.inc
@@ -80,6 +80,7 @@ PTESTS_FAST_META_PYTHON = "\
     python3-pyasyncore \
     python3-pyroute2 \
     python3-pyserial \
+    python3-pytest-env \
     python3-pytest-httpx \
     python3-pytest-mock \
     python3-pytest-picked \
diff --git a/meta-python/recipes-devtools/python/python3-pytest-env_1.2.0.bb 
b/meta-python/recipes-devtools/python/python3-pytest-env_1.2.0.bb
new file mode 100644
index 0000000000..f7ab022894
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pytest-env_1.2.0.bb
@@ -0,0 +1,21 @@
+SUMMARY = "pytest plugin that allows you to add environment variables."
+HOMEPAGE = "https://github.com/pytest-dev/pytest-env";
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b70ef84b3d8d608b13b0287ed49df651"
+RECIPE_MAINTAINER = "Tom Geelen <[email protected]>"
+
+DEPENDS = "python3-hatch-vcs-native python3-hatchling-native"
+SRC_URI[sha256sum] = 
"475e2ebe8626cee01f491f304a74b12137742397d6c784ea4bc258f069232b80"
+
+inherit pypi python_hatchling ptest-python-pytest
+
+PYPI_PACKAGE = "pytest_env"
+UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
+
+RDEPENDS:${PN} = "python3-pytest python3-tomli"
+
+RDEPENDS:${PN}-ptest += " \
+    python3-covdefaults \
+    python3-coverage \
+    python3-pytest-mock \
+"
-- 
2.43.0

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#124271): 
https://lists.openembedded.org/g/openembedded-devel/message/124271
Mute This Topic: https://lists.openembedded.org/mt/117697148/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to