diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb | 8 |
1 files changed, 7 insertions, 1 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 c9968ae37..4d4251316 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 | |||
@@ -3,9 +3,15 @@ SUMMARY = "COCO is a large image dataset designed for object detection, segmenta | |||
3 | LICENSE = "BSD-2-Clause" | 3 | LICENSE = "BSD-2-Clause" |
4 | LIC_FILES_CHKSUM = "file://pycocotools/coco.py;beginline=45;endline=45;md5=12cb539683cf245df8b6ce782d78f647" | 4 | LIC_FILES_CHKSUM = "file://pycocotools/coco.py;beginline=45;endline=45;md5=12cb539683cf245df8b6ce782d78f647" |
5 | 5 | ||
6 | inherit setuptools3 pypi | 6 | inherit pypi python_setuptools_build_meta |
7 | |||
8 | SRC_URI += "file://0001-downgrade-numpy-version-to-1.26.4.patch" | ||
7 | 9 | ||
8 | SRC_URI[sha256sum] = "8f2bcedb786ba26c367a3680f9c4eb5b2ad9dccb2b34eaeb205e0a021e1dfb8d" | 10 | SRC_URI[sha256sum] = "8f2bcedb786ba26c367a3680f9c4eb5b2ad9dccb2b34eaeb205e0a021e1dfb8d" |
9 | 11 | ||
10 | DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt" | 12 | DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt" |
11 | 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 | } | ||