diff options
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python-ptyprocess.inc | 41 | ||||
-rw-r--r-- | meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb | 43 |
2 files changed, 42 insertions, 42 deletions
diff --git a/meta-python/recipes-devtools/python/python-ptyprocess.inc b/meta-python/recipes-devtools/python/python-ptyprocess.inc deleted file mode 100644 index a6dc21cf11..0000000000 --- a/meta-python/recipes-devtools/python/python-ptyprocess.inc +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
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 | |||
12 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess" | ||
13 | |||
14 | S = "${WORKDIR}/${SRCNAME}-${PV}" | ||
15 | |||
16 | RDEPENDS_${PN} = "\ | ||
17 | ${PYTHON_PN}-core \ | ||
18 | ${PYTHON_PN}-fcntl \ | ||
19 | ${PYTHON_PN}-terminal \ | ||
20 | ${PYTHON_PN}-resource \ | ||
21 | " | ||
22 | |||
23 | BBCLASSEXTEND = "native nativesdk" | ||
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 | } | ||
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 | } | ||