summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb21
1 files changed, 4 insertions, 17 deletions
diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb b/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
index 4abec0a01c..1f372d49ba 100644
--- a/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
+++ b/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb
@@ -1,18 +1,17 @@
1SUMMARY = "Run a subprocess in a pseudo terminal" 1SUMMARY = "Run a subprocess in a pseudo terminal"
2HOMEPAGE = "http://ptyprocess.readthedocs.io/en/latest/" 2HOMEPAGE = "https://ptyprocess.readthedocs.io/en/latest/"
3SECTION = "devel/python" 3SECTION = "devel/python"
4LICENSE = "ISC" 4LICENSE = "ISC"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490"
6 6
7SRCNAME = "ptyprocess" 7SRCNAME = "ptyprocess"
8 8
9SRC_URI += "file://a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch"
9SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220" 10SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220"
10 11
11inherit pypi python_flit_core 12inherit pypi python_flit_core ptest-python-pytest
12 13
13UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess" 14S = "${UNPACKDIR}/${SRCNAME}-${PV}"
14
15S = "${WORKDIR}/${SRCNAME}-${PV}"
16 15
17RDEPENDS:${PN} = "\ 16RDEPENDS:${PN} = "\
18 python3-core \ 17 python3-core \
@@ -23,22 +22,10 @@ RDEPENDS:${PN} = "\
23 22
24BBCLASSEXTEND = "native nativesdk" 23BBCLASSEXTEND = "native nativesdk"
25 24
26inherit ptest
27
28SRC_URI += " \
29 file://run-ptest \
30"
31
32RDEPENDS:${PN}-ptest += " \ 25RDEPENDS:${PN}-ptest += " \
33 bash \ 26 bash \
34 python3-fcntl \ 27 python3-fcntl \
35 python3-pytest \
36 python3-resource \ 28 python3-resource \
37 python3-terminal \ 29 python3-terminal \
38 python3-unittest-automake-output \
39" 30"
40 31
41do_install_ptest() {
42 install -d ${D}${PTEST_PATH}/tests
43 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
44}