summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb
diff options
context:
space:
mode:
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.bb8
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
3LICENSE = "BSD-2-Clause" 3LICENSE = "BSD-2-Clause"
4LIC_FILES_CHKSUM = "file://pycocotools/coco.py;beginline=45;endline=45;md5=12cb539683cf245df8b6ce782d78f647" 4LIC_FILES_CHKSUM = "file://pycocotools/coco.py;beginline=45;endline=45;md5=12cb539683cf245df8b6ce782d78f647"
5 5
6inherit setuptools3 pypi 6inherit pypi python_setuptools_build_meta
7
8SRC_URI += "file://0001-downgrade-numpy-version-to-1.26.4.patch"
7 9
8SRC_URI[sha256sum] = "8f2bcedb786ba26c367a3680f9c4eb5b2ad9dccb2b34eaeb205e0a021e1dfb8d" 10SRC_URI[sha256sum] = "8f2bcedb786ba26c367a3680f9c4eb5b2ad9dccb2b34eaeb205e0a021e1dfb8d"
9 11
10DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt" 12DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt"
11RDEPENDS:${PN} = "python3-matplotlib python3-pillow python3-profile" 13RDEPENDS:${PN} = "python3-matplotlib python3-pillow python3-profile"
14
15do_compile:append() {
16 sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" ${B}/pycocotools/_mask.c
17}