diff options
author | Khem Raj <raj.khem@gmail.com> | 2024-08-24 10:04:31 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2024-08-24 10:37:25 -0700 |
commit | 8648720c00e00495afa770e36bb64ae21b09015a (patch) | |
tree | 0a96806116aa7d06cc663ea627f9b6e85cf23773 /meta-python/recipes-devtools/python | |
parent | 97eee44e7d7db1622be74ab9554fc0240017eeeb (diff) | |
download | meta-openembedded-8648720c00e00495afa770e36bb64ae21b09015a.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>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb index 7226f0fb81..4d4251316c 100644 --- a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb +++ b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb | |||
@@ -11,3 +11,7 @@ SRC_URI[sha256sum] = "8f2bcedb786ba26c367a3680f9c4eb5b2ad9dccb2b34eaeb205e0a021e | |||
11 | 11 | ||
12 | DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt" | 12 | DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt" |
13 | RDEPENDS:${PN} = "python3-matplotlib python3-pillow python3-profile" | 13 | RDEPENDS:${PN} = "python3-matplotlib python3-pillow python3-profile" |
14 | |||
15 | do_compile:append() { | ||
16 | sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" ${B}/pycocotools/_mask.c | ||
17 | } | ||