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 2022-02-28 13:48:39 -05:00 committed by Khem Raj
parent 2f4a34cb1e
commit 8988542616

View File

@ -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}
}