Files
meta-openembedded/meta-python/recipes-devtools/python/python3-python-dotenv_1.2.1.bb
T
Ross Burton 0a583b3502 recipes: update for PYPI_PACKAGE change
The pypi class has slightly changed the semantics of the PYPI_PACKAGE
variable[1], now PYPI_PACKAGE is the normalised package name and the new
variable PYPI_PACKAGE_SDIST is used when the source tarball doesn't match.

Update recipes as appropriate: this is mostly deleting now-redundant
assignments but some assignments are still needed where packages are not
uploaded using the modern standards.

[1] oe-core 98049bf86b6 ("classes/pypi: change PYPI_PACKAGE to be normalised")

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
2026-10-08 22:27:01 -07:00

22 lines
799 B
BlitzBasic

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 ?= ""
PACKAGECONFIG:append = "${@bb.utils.contains('PTEST_ENABLED', '1', ' cli', '', d)}"
PACKAGECONFIG[cli] = ",,,python3-click"
RDEPENDS:${PN}-ptest += "\
coreutils \
python3-sh \
"