summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-setproctitle/run-ptest4
-rw-r--r--meta-python/recipes-devtools/python/python3-setproctitle_1.3.3.bb28
2 files changed, 32 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-setproctitle/run-ptest b/meta-python/recipes-devtools/python/python3-setproctitle/run-ptest
new file mode 100644
index 0000000000..e29e57ee3b
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-setproctitle/run-ptest
@@ -0,0 +1,4 @@
1#!/bin/sh
2
3# https://github.com/dvarrazzo/py-setproctitle/issues/141
4pytest --automake -k 'not test_unicode'
diff --git a/meta-python/recipes-devtools/python/python3-setproctitle_1.3.3.bb b/meta-python/recipes-devtools/python/python3-setproctitle_1.3.3.bb
new file mode 100644
index 0000000000..dcae6b4681
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-setproctitle_1.3.3.bb
@@ -0,0 +1,28 @@
1SUMMARY = "A Python module to customize the process title"
2DESCRIPTION = "The setproctitle module allows a process to change its \
3title (as displayed by system tools such as ps, top or MacOS Activity \
4Monitor)."
5HOMEPAGE = "https://github.com/dvarrazzo/py-setproctitle"
6BUGTRACKER = "https://github.com/dvarrazzo/py-setproctitle/issues"
7LICENSE = "BSD-3-Clause"
8LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=86d2d41b5f4f023f43466f8cb7adebaa"
9
10inherit pypi setuptools3 ptest
11
12SRC_URI[sha256sum] = "c913e151e7ea01567837ff037a23ca8740192880198b7fbb90b16d181607caae"
13
14SRC_URI += " \
15 file://run-ptest \
16"
17
18RDEPENDS:${PN}-ptest += "\
19 python3-pytest \
20 python3-unittest-automake-output \
21"
22
23do_install_ptest() {
24 install -d ${D}${PTEST_PATH}/tests
25 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
26}
27
28BBCLASSEXTEND = "native nativesdk"