diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb | 43 |
1 files changed, 42 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb b/meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb index bdcd0e2539..87911e02e5 100644 --- a/meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb | |||
| @@ -1,2 +1,43 @@ | |||
| 1 | require python-ptyprocess.inc | 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 | |||
| 2 | inherit pypi setuptools3 | 12 | inherit pypi setuptools3 |
| 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 | } | ||
