summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
authorAdrian Zaharia <Adrian.Zaharia@windriver.com>2023-06-06 12:36:02 +0300
committerKhem Raj <raj.khem@gmail.com>2023-06-07 09:31:32 -0700
commit586a4bfbacc7ca26bc5220be913b4f2876c94960 (patch)
tree671b6c406facd1373f78724f3a32e0501d10c4e5 /meta-python/recipes-devtools/python
parentdef4759e95fc8e20272fb337ac349c2fddab357e (diff)
downloadmeta-openembedded-586a4bfbacc7ca26bc5220be913b4f2876c94960.tar.gz
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>
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-stopit/LICENSE21
-rw-r--r--meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb13
2 files changed, 34 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-stopit/LICENSE b/meta-python/recipes-devtools/python/python3-stopit/LICENSE
new file mode 100644
index 0000000000..0b9a5bec37
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-stopit/LICENSE
@@ -0,0 +1,21 @@
1MIT License
2
3Copyright (c) 2018 Gilles Lenfant
4
5Permission is hereby granted, free of charge, to any person obtaining a copy
6of this software and associated documentation files (the "Software"), to deal
7in the Software without restriction, including without limitation the rights
8to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9copies of the Software, and to permit persons to whom the Software is
10furnished to do so, subject to the following conditions:
11
12The above copyright notice and this permission notice shall be included in all
13copies or substantial portions of the Software.
14
15THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21SOFTWARE. \ No newline at end of file
diff --git a/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb b/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb
new file mode 100644
index 0000000000..3a5b479832
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-stopit_1.1.2.bb
@@ -0,0 +1,13 @@
1SUMMARY = "Raise asynchronous exceptions in other threads, control the timeout of blocks or callables with two context managers and two decorators."
2HOMEPAGE = "https://pypi.org/project/stopit/"
3SECTION = "devel/python"
4
5SRC_URI += " file://LICENSE "
6LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=497c556f42b1355b64190da2f3d88f93"
8
9SRC_URI[sha256sum] = "f7f39c583fd92027bd9d06127b259aee7a5b7945c1f1fa56263811e1e766996d"
10
11inherit pypi setuptools3
12
13BBCLASSEXTEND = "native nativesdk" \ No newline at end of file