From 8988542616cc709cc23732243e4785ea36dd25a4 Mon Sep 17 00:00:00 2001 From: Justin Bronder Date: Mon, 28 Feb 2022 13:48:39 -0500 Subject: python3-coloredlogs: fix location of coloredlogs.pth When calling setup.py with bdist_wheel, the find_pth_directory() in setup.py correctly install the pth file to ${D}${PYTHON_SITEPACKAGES_DIR}. It's not clear why setup.py was being patched original when the recipe was added in 2019, but it doesn't appear to be necessary now. This fixes the recipe to build with the recent PEP-517 changes. Signed-off-by: Justin Bronder Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- meta-python/recipes-devtools/python/python3-coloredlogs_15.0.1.bb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.1.bb b/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.1.bb index 9eafbaa3c..d17ab8752 100644 --- a/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.1.bb +++ b/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.1.bb @@ -8,10 +8,6 @@ SRC_URI[sha256sum] = "7c991aa71a4577af2f82600d8f8f3a89f936baeaf9b50a9c197da014e5 inherit pypi setuptools3 -do_compile:prepend() { - sed -ie "s/find_pth_directory(),/'',/g" ${S}/setup.py -} - do_install:append() { rm -rf ${D}${datadir} } -- cgit v1.2.3-54-g00ecf