Skip to contentSkip to conversation

python3-pytest-env: new recipe.

PATCH New Tom Geelen 1 participant 1 message Feb 8

lore
Share & tools
lore

Tom Geelen

author
#0 lore raw

PATCH 1/1 python3-pytest-env: new recipe.

pytest plugin that allows you to add environment variables.

---
 .../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
meta-python/conf/include/ptest-packagelists-meta-python.inc +1 -0
index 15172e7f22..d01483afb4 100644
@@ -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 \
meta-python/recipes-devtools/python/python3-pytest-env_1.2.0.bb new file +21 -0
new file mode 100644
index 0000000000..f7ab022894
@@ -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 \
+"
Signature · 1 line
2.43.0