Andrew Geissler | c87764f | 2020-06-27 00:16:32 -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 | |
| 9 | SRC_URI[md5sum] = "37402d69f3b50913d4d483587bffad8f" |
| 10 | SRC_URI[sha256sum] = "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0" |
| 11 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 12 | inherit pypi setuptools3 |
Andrew Geissler | c87764f | 2020-06-27 00:16:32 -0500 | [diff] [blame^] | 13 | |
| 14 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess" |
| 15 | |
| 16 | S = "${WORKDIR}/${SRCNAME}-${PV}" |
| 17 | |
| 18 | RDEPENDS_${PN} = "\ |
| 19 | ${PYTHON_PN}-core \ |
| 20 | ${PYTHON_PN}-fcntl \ |
| 21 | ${PYTHON_PN}-terminal \ |
| 22 | ${PYTHON_PN}-resource \ |
| 23 | " |
| 24 | |
| 25 | BBCLASSEXTEND = "native nativesdk" |
| 26 | |
| 27 | inherit ptest |
| 28 | |
| 29 | SRC_URI += " \ |
| 30 | file://run-ptest \ |
| 31 | " |
| 32 | |
| 33 | RDEPENDS_${PN}-ptest += " \ |
| 34 | ${PYTHON_PN}-pytest \ |
| 35 | ${PYTHON_PN}-fcntl \ |
| 36 | ${PYTHON_PN}-terminal \ |
| 37 | ${PYTHON_PN}-resource \ |
| 38 | " |
| 39 | |
| 40 | do_install_ptest() { |
| 41 | install -d ${D}${PTEST_PATH}/tests |
| 42 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 43 | } |