blob: a6dc21cf1149f7e6be7c03a6aea7b21b4ed6e039 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "Run a subprocess in a pseudo terminal"
2HOMEPAGE = "http://ptyprocess.readthedocs.io/en/latest/"
3SECTION = "devel/python"
4LICENSE = "ISC"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490"
6
7SRCNAME = "ptyprocess"
8
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08009SRC_URI[md5sum] = "37402d69f3b50913d4d483587bffad8f"
10SRC_URI[sha256sum] = "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050011
12UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess"
13
14S = "${WORKDIR}/${SRCNAME}-${PV}"
15
16RDEPENDS_${PN} = "\
17 ${PYTHON_PN}-core \
Andrew Geissler7f40b712020-05-15 14:09:53 -050018 ${PYTHON_PN}-fcntl \
19 ${PYTHON_PN}-terminal \
20 ${PYTHON_PN}-resource \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050021"
22
23BBCLASSEXTEND = "native nativesdk"
Andrew Geissler82c905d2020-04-13 13:39:40 -050024
25inherit ptest
26
27SRC_URI += " \
28 file://run-ptest \
29"
30
31RDEPENDS_${PN}-ptest += " \
32 ${PYTHON_PN}-pytest \
33 ${PYTHON_PN}-fcntl \
34 ${PYTHON_PN}-terminal \
35 ${PYTHON_PN}-resource \
36"
37
38do_install_ptest() {
39 install -d ${D}${PTEST_PATH}/tests
40 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
41}