summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-coloredlogs_15.0.1.bb
diff options
context:
space:
mode:
authorJustin Bronder <jsbronder@cold-front.org>2022-02-28 13:48:39 -0500
committerKhem Raj <raj.khem@gmail.com>2022-03-01 09:06:56 -0800
commit8988542616cc709cc23732243e4785ea36dd25a4 (patch)
treea782c23bca2a4675f778b168ca5190943d2cc386 /meta-python/recipes-devtools/python/python3-coloredlogs_15.0.1.bb
parent2f4a34cb1e3c46a1da110ac49d6cc5bac3d392e9 (diff)
downloadmeta-openembedded-8988542616cc709cc23732243e4785ea36dd25a4.tar.gz
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 <jsbronder@cold-front.org> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-coloredlogs_15.0.1.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-coloredlogs_15.0.1.bb4
1 files changed, 0 insertions, 4 deletions
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
8 8
9inherit pypi setuptools3 9inherit pypi setuptools3
10 10
11do_compile:prepend() {
12 sed -ie "s/find_pth_directory(),/'',/g" ${S}/setup.py
13}
14
15do_install:append() { 11do_install:append() {
16 rm -rf ${D}${datadir} 12 rm -rf ${D}${datadir}
17} 13}