diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-08-24 10:04:31 -0700 |
---|---|---|
committer | Armin Kuster <akuster@mvista.com> | 2025-04-16 20:30:23 -0400 |
commit | 025d16c71d95bf387348a5804f3a5a1898346856 (patch) | |
tree | 016d35c6f6feb4dc71540a1e55dfb27484c30149 | |
parent | bb579d999f370bbd559d9981c5462f6aea6327a6 (diff) | |
download | meta-openembedded-025d16c71d95bf387348a5804f3a5a1898346856.tar.gz |
python3-pycocotools: Remove absolute paths from comments
_mask.c is generated by cython and encodes sourcepaths into
comments which are absolute. Edit them out.
Fixes buildpaths QA errors
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster@mvista.com>
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pycocotools_2.0.7.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.7.bb b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.7.bb index bebfb128f2..15fdbcf89c 100644 --- a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.7.bb +++ b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.7.bb | |||
@@ -9,3 +9,7 @@ SRC_URI[sha256sum] = "da8b7815196eebf0adabf67fcc459126cbc6498bbc6ab1fd144c371465 | |||
9 | 9 | ||
10 | DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt" | 10 | DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt" |
11 | RDEPENDS:${PN} = "python3-matplotlib python3-pillow python3-profile" | 11 | RDEPENDS:${PN} = "python3-matplotlib python3-pillow python3-profile" |
12 | |||
13 | do_compile:append() { | ||
14 | sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" ${B}/pycocotools/_mask.c | ||
15 | } | ||