summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb
Commit message (Collapse)AuthorAgeFilesLines
* Revert "python3-stopit: add missing run-time dependencies"Bai, Haiqing9 days1-4/+0
| | | | | | | | | | | | This reverts commit 812f091414b34dbebe4a3990c9039cbaadc4dd71. The runtime dependency on python3-setuptools is no longer needed since the patch 0001-Drop-the-deprecated-pkg_resources.patch replaced the pkg_resources usage with importlib.metadata, which is part of the Python 3.8+ standard library. Keeping this RDEPENDS pulls in an unnecessary dependency on the target system. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
* python3-stopit: Fixed the deprecated pkg_resources issueBai, Haiqing9 days1-1/+5
| | | | | | | | | pkg_resources is deprecated as an API. The pkg_resources package has been removed from setuptools, so the way of obtaining the version needs to be replaced with importlib.metadata module. Signed-off-by: Bai, Haiqing <Haiqing.Bai@windriver.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
* recipes: Start WORKDIR -> UNPACKDIR transitionKhem Raj2024-05-231-2/+2
| | | | | | | Replace references of WORKDIR with UNPACKDIR where it makes sense to do so in preparation for changing the default value of UNPACKDIR. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-python: drop ${PYTHON_PN}Tim Orling2024-02-191-1/+1
| | | | | | | python 2 is long unsupported, so we no longer need this variable. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-stopit: fix override syntaxPeter Marko2023-06-151-1/+1
| | | | | Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-stopit: add missing run-time dependenciesAdrian Zaharia2023-06-121-0/+4
| | | | | | | | | | | | 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>
* meta-python: Add stopitAdrian Zaharia2023-06-071-0/+13
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>