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>
This commit is contained in:
Justin Bronder authored and Khem Raj committed 2022-03-01 09:06:56 -08:00
1 parent 2f4a34cb1e
commit 8988542616
1 file changed
-4
@@ -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}
}