mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-20 00:06:26 +00:00
The python3 setuptools 82 dropped pkg_resources module by now. To avoid the failure "No module named 'pkg_resources'", replace the functions from this module with other functions from modules packaging and importlib.metadata. Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
20 lines
622 B
BlitzBasic
20 lines
622 B
BlitzBasic
SUMMARY = "Invoke py.test as distutils command with dependency resolution"
|
|
HOMEPAGE = "https://pypi.org/project/pytest-runner/"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=7a7126e068206290f3fe9f8d6c713ea6"
|
|
|
|
SRC_URI[sha256sum] = "70d4739585a7008f37bf4933c013fdb327b8878a5a69fcbb3316c88882f0f49b"
|
|
|
|
SRC_URI += " \
|
|
file://0001-Not-use-functions-from-pkg_resources-any-more.patch \
|
|
"
|
|
|
|
inherit pypi python_setuptools_build_meta
|
|
|
|
DEPENDS += " \
|
|
python3-setuptools-scm-native"
|
|
|
|
RDEPENDS:${PN} = "python3-setuptools python3-debugger python3-json python3-io"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|