Commit Graph

3 Commits

Author SHA1 Message Date
Peter Marko
a1dfcaeb59 python3-stopit: fix override syntax
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-15 10:28:20 -07:00
Adrian Zaharia
812f091414 python3-stopit: add missing run-time dependencies
The stopit package needs setuptools python module so add it to RDEPENDS.

This fixes:
    File "/usr/lib64/python3.9/site-packages/stopit/__init__.py", line 10, in <module>
	import pkg_resources
    ModuleNotFoundError: No module named 'pkg_resources'

Signed-off-by: Adrian Zaharia <Adrian.Zaharia@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-06-12 08:08:19 -07:00
Adrian Zaharia
586a4bfbac 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>
2023-06-07 09:31:32 -07:00