meta-python: Add stopit

stopit is a library to raise asynchronous exceptions in other threads, control
the timeout of blocks or callables with two context managers and two decorators.

The license isn't shipped in the pypi package, so it was extracted from the
github repo at [1].

[1] https://github.com/glenfant/stopit/blob/master/LICENSE

Signed-off-by: Adrian Zaharia <Adrian.Zaharia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Adrian Zaharia
2023-06-06 12:36:02 +03:00
committed by Khem Raj
parent def4759e95
commit 586a4bfbac
2 changed files with 34 additions and 0 deletions
@@ -0,0 +1,13 @@
SUMMARY = "Raise asynchronous exceptions in other threads, control the timeout of blocks or callables with two context managers and two decorators."
HOMEPAGE = "https://pypi.org/project/stopit/"
SECTION = "devel/python"
SRC_URI += " file://LICENSE "
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=497c556f42b1355b64190da2f3d88f93"
SRC_URI[sha256sum] = "f7f39c583fd92027bd9d06127b259aee7a5b7945c1f1fa56263811e1e766996d"
inherit pypi setuptools3
BBCLASSEXTEND = "native nativesdk"