python3-pycocotools: new package

Add a recipe for building pycocotools - a Python wrapper for cocapi.

Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Bartosz Golaszewski
2021-05-17 12:52:02 +02:00
committed by Khem Raj
parent d6ef417074
commit 67f9550be7
2 changed files with 13 additions and 0 deletions

View File

@@ -289,6 +289,7 @@ RDEPENDS_packagegroup-meta-python3 = "\
python3-pybind11-json \
python3-pybluez \
python3-pychromecast \
python3-pycocotools \
python3-pycodestyle \
python3-pyconnman \
python3-pycparser \

View File

@@ -0,0 +1,12 @@
SUMMARY = "COCO is a large image dataset designed for object detection, segmentation, \
person keypoints detection, stuff segmentation, and caption generation."
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://pycocotools/coco.py;beginline=45;endline=45;md5=12cb539683cf245df8b6ce782d78f647"
inherit setuptools3 pypi
SRC_URI[md5sum] = "33858f23c8b99ce8116b70c32f6b6dd9"
SRC_URI[sha256sum] = "24717a12799b4471c2e54aa210d642e6cd4028826a1d49fcc2b0e3497e041f1a"
DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt"
RDEPENDS_${PN} = "python3-matplotlib python3-pillow python3-profile"