summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python-ptyprocess.inc41
-rw-r--r--meta-python/recipes-devtools/python/python3-ptyprocess_0.6.0.bb43
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 @@
1SUMMARY = "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
9SRC_URI[md5sum] = "37402d69f3b50913d4d483587bffad8f"
10SRC_URI[sha256sum] = "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0"
11
12UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess"
13
14S = "${WORKDIR}/${SRCNAME}-${PV}"
15
16RDEPENDS_${PN} = "\
17 ${PYTHON_PN}-core \
18 ${PYTHON_PN}-fcntl \
19 ${PYTHON_PN}-terminal \
20 ${PYTHON_PN}-resource \
21"
22
23BBCLASSEXTEND = "native nativesdk"
24
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}
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 @@
1require python-ptyprocess.inc 1SUMMARY = "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
9SRC_URI[md5sum] = "37402d69f3b50913d4d483587bffad8f"
10SRC_URI[sha256sum] = "923f299cc5ad920c68f2bc0bc98b75b9f838b93b599941a6b63ddbc2476394c0"
11
2inherit pypi setuptools3 12inherit pypi setuptools3
13
14UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess"
15
16S = "${WORKDIR}/${SRCNAME}-${PV}"
17
18RDEPENDS_${PN} = "\
19 ${PYTHON_PN}-core \
20 ${PYTHON_PN}-fcntl \
21 ${PYTHON_PN}-terminal \
22 ${PYTHON_PN}-resource \
23"
24
25BBCLASSEXTEND = "native nativesdk"
26
27inherit ptest
28
29SRC_URI += " \
30 file://run-ptest \
31"
32
33RDEPENDS_${PN}-ptest += " \
34 ${PYTHON_PN}-pytest \
35 ${PYTHON_PN}-fcntl \
36 ${PYTHON_PN}-terminal \
37 ${PYTHON_PN}-resource \
38"
39
40do_install_ptest() {
41 install -d ${D}${PTEST_PATH}/tests
42 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
43}