[oe] [meta-python][PATCH 2/2] python*-pexpect: add v4.2.1

Tim Orling timothy.t.orling at linux.intel.com
Sat Aug 19 20:06:00 UTC 2017


The python2 version was dropped from oe-core.
Also add support for python3.

Signed-off-by: Tim Orling <timothy.t.orling at linux.intel.com>
---
 .../recipes-devtools/python/python-pexpect.inc     | 25 ++++++++++++++++++++++
 .../python/python-pexpect_4.2.1.bb                 |  2 ++
 .../python/python3-pexpect_4.2.1.bb                |  2 ++
 3 files changed, 29 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-pexpect.inc
 create mode 100644 meta-python/recipes-devtools/python/python-pexpect_4.2.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pexpect_4.2.1.bb

diff --git a/meta-python/recipes-devtools/python/python-pexpect.inc b/meta-python/recipes-devtools/python/python-pexpect.inc
new file mode 100644
index 000000000..47d09796d
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pexpect.inc
@@ -0,0 +1,25 @@
+SUMMARY = "A Pure Python Expect like Module for Python"
+HOMEPAGE = "http://pexpect.readthedocs.org/"
+SECTION = "devel/python"
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=1c7a725251880af8c6a148181665385b"
+
+SRCNAME = "pexpect"
+
+SRC_URI[md5sum] = "3694410001a99dff83f0b500a1ca1c95"
+SRC_URI[sha256sum] = "3d132465a75b57aa818341c6521392a06cc660feb3988d7f1074f39bd23c9a92"
+
+UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pexpect"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+RDEPENDS_${PN} = "\
+    ${PYTHON_PN}-core \
+    ${PYTHON_PN}-io \
+    ${PYTHON_PN}-terminal \
+    ${PYTHON_PN}-resource \
+    ${PYTHON_PN}-fcntl \
+    ${PYTHON_PN}-ptyprocess \
+"
+
+BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-python/recipes-devtools/python/python-pexpect_4.2.1.bb b/meta-python/recipes-devtools/python/python-pexpect_4.2.1.bb
new file mode 100644
index 000000000..1c46b47a2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-pexpect_4.2.1.bb
@@ -0,0 +1,2 @@
+require python-pexpect.inc
+inherit pypi setuptools
diff --git a/meta-python/recipes-devtools/python/python3-pexpect_4.2.1.bb b/meta-python/recipes-devtools/python/python3-pexpect_4.2.1.bb
new file mode 100644
index 000000000..cf39233a3
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-pexpect_4.2.1.bb
@@ -0,0 +1,2 @@
+require python-pexpect.inc
+inherit pypi setuptools3
-- 
2.13.5




More information about the Openembedded-devel mailing list