diff options
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.bb | 21 |
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 @@ | |||
1 | SUMMARY = "Run a subprocess in a pseudo terminal" | 1 | SUMMARY = "Run a subprocess in a pseudo terminal" |
2 | HOMEPAGE = "http://ptyprocess.readthedocs.io/en/latest/" | 2 | HOMEPAGE = "https://ptyprocess.readthedocs.io/en/latest/" |
3 | SECTION = "devel/python" | 3 | SECTION = "devel/python" |
4 | LICENSE = "ISC" | 4 | LICENSE = "ISC" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490" |
6 | 6 | ||
7 | SRCNAME = "ptyprocess" | 7 | SRCNAME = "ptyprocess" |
8 | 8 | ||
9 | SRC_URI += "file://a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch" | ||
9 | SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220" | 10 | SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220" |
10 | 11 | ||
11 | inherit pypi python_flit_core | 12 | inherit pypi python_flit_core ptest-python-pytest |
12 | 13 | ||
13 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess" | 14 | S = "${UNPACKDIR}/${SRCNAME}-${PV}" |
14 | |||
15 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
16 | 15 | ||
17 | RDEPENDS:${PN} = "\ | 16 | RDEPENDS:${PN} = "\ |
18 | python3-core \ | 17 | python3-core \ |
@@ -23,22 +22,10 @@ RDEPENDS:${PN} = "\ | |||
23 | 22 | ||
24 | BBCLASSEXTEND = "native nativesdk" | 23 | BBCLASSEXTEND = "native nativesdk" |
25 | 24 | ||
26 | inherit ptest | ||
27 | |||
28 | SRC_URI += " \ | ||
29 | file://run-ptest \ | ||
30 | " | ||
31 | |||
32 | RDEPENDS:${PN}-ptest += " \ | 25 | RDEPENDS:${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 | ||
41 | do_install_ptest() { | ||
42 | install -d ${D}${PTEST_PATH}/tests | ||
43 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
44 | } | ||