mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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>
This commit is contained in:
parent
bb579d999f
commit
025d16c71d
@ -9,3 +9,7 @@ SRC_URI[sha256sum] = "da8b7815196eebf0adabf67fcc459126cbc6498bbc6ab1fd144c371465
|
||||
|
||||
DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt"
|
||||
RDEPENDS:${PN} = "python3-matplotlib python3-pillow python3-profile"
|
||||
|
||||
do_compile:append() {
|
||||
sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" ${B}/pycocotools/_mask.c
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user