python3-python-dotenv: new recipe (1.2.1)

Moving the recipe from meta-homeassistant to meta-opemembedded.

+ version bump 1.1.1 -> 1.2.1
+ add ptest
  - exclude 2 tests (oe-specific)
  - added to PTESTS_FAST_META_PYTHON

v2: += for -ptest (Thanks Gyorgy Sarvari)

Signed-off-by: Jan Vermaete <jan.vermaete@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Jan Vermaete
2025-11-10 18:40:22 +01:00
committed by Khem Raj
parent 91a1d13cc4
commit 94d633bbe8
3 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
SUMMARY = "Read key-value pairs from a .env file and set them as environment variables"
HOMEPAGE = "https://github.com/theskumar/python-dotenv"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e914cdb773ae44a732b392532d88f072"
RECIPE_MAINTAINER = "Tom Geelen <t.f.g.geelen@gmail.com>"
SRC_URI[sha256sum] = "42667e897e16ab0d66954af0e60a9caa94f0fd4ecf3aaf6d2d260eec1aa36ad6"
SRC_URI += "file://0001-test_main.py-skip-two-test-when-running-as-root.patch"
inherit pypi python_setuptools_build_meta ptest-python-pytest
# Uncomment this line to enable all the optional features.
#PACKAGECONFIG ?= "cli"
PACKAGECONFIG[cli] = ",,,python3-click"
PYPI_PACKAGE = "python_dotenv"
UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}"
RDEPENDS:${PN}-ptest += "\
python3-sh \
"