diff options
author | Tim Orling <ticotimo@gmail.com> | 2022-02-25 18:21:08 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-02-28 08:32:19 -0800 |
commit | 9e5f9a7e2d6a082c007e3b3e66e1f6bcf0a63798 (patch) | |
tree | af3d431395ea522bb570124b4066b3c3cb28b4dd /meta-python | |
parent | 645452c8df5bbfec896da9cfdf4f6ea70573068f (diff) | |
download | meta-openembedded-9e5f9a7e2d6a082c007e3b3e66e1f6bcf0a63798.tar.gz |
python3-pyserial: also remove /usr/bin/__pycache__
PEP-517 packaging tries to also ship ${bindir}/__pycache__,
since we are removing all the scripts from ${bindir}, remove the cache
as well.
Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pyserial_3.5.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb index 4766d92266..15646235df 100644 --- a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb +++ b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb | |||
@@ -9,6 +9,7 @@ inherit pypi setuptools3 ptest | |||
9 | do_install:append() { | 9 | do_install:append() { |
10 | rm -f ${D}${bindir}/pyserial-miniterm | 10 | rm -f ${D}${bindir}/pyserial-miniterm |
11 | rm -f ${D}${bindir}/pyserial-ports | 11 | rm -f ${D}${bindir}/pyserial-ports |
12 | rm -rf ${D}${bindir}/__pycache__ | ||
12 | rmdir ${D}${bindir} | 13 | rmdir ${D}${bindir} |
13 | } | 14 | } |
14 | 15 | ||