python3-pycocotools: Downgrade numpy version needed to 1.x

This is needed for it to build with PEP-517 backend, older backend
ignored the version

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2024-08-24 00:23:23 -07:00
parent 38ad9b2856
commit 97eee44e7d
2 changed files with 28 additions and 0 deletions

View File

@@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://pycocotools/coco.py;beginline=45;endline=45;md5=12cb5
inherit pypi python_setuptools_build_meta
SRC_URI += "file://0001-downgrade-numpy-version-to-1.26.4.patch"
SRC_URI[sha256sum] = "8f2bcedb786ba26c367a3680f9c4eb5b2ad9dccb2b34eaeb205e0a021e1dfb8d"
DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt"