Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | SUMMARY = "Run a subprocess in a pseudo terminal" |
| 2 | HOMEPAGE = "http://ptyprocess.readthedocs.io/en/latest/" |
| 3 | SECTION = "devel/python" |
| 4 | LICENSE = "ISC" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490" |
| 6 | |
| 7 | SRCNAME = "ptyprocess" |
| 8 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 9 | SRC_URI[md5sum] = "37402d69f3b50913d4d483587bffad8f" |
| 10 | SRC_URI[sha256sum] = "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 11 | |
| 12 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess" |
| 13 | |
| 14 | S = "${WORKDIR}/${SRCNAME}-${PV}" |
| 15 | |
| 16 | RDEPENDS_${PN} = "\ |
| 17 | ${PYTHON_PN}-core \ |
Andrew Geissler | 7f40b71 | 2020-05-15 14:09:53 -0500 | [diff] [blame^] | 18 | ${PYTHON_PN}-fcntl \ |
| 19 | ${PYTHON_PN}-terminal \ |
| 20 | ${PYTHON_PN}-resource \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 21 | " |
| 22 | |
| 23 | BBCLASSEXTEND = "native nativesdk" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 24 | |
| 25 | inherit ptest |
| 26 | |
| 27 | SRC_URI += " \ |
| 28 | file://run-ptest \ |
| 29 | " |
| 30 | |
| 31 | RDEPENDS_${PN}-ptest += " \ |
| 32 | ${PYTHON_PN}-pytest \ |
| 33 | ${PYTHON_PN}-fcntl \ |
| 34 | ${PYTHON_PN}-terminal \ |
| 35 | ${PYTHON_PN}-resource \ |
| 36 | " |
| 37 | |
| 38 | do_install_ptest() { |
| 39 | install -d ${D}${PTEST_PATH}/tests |
| 40 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 41 | } |