python*-pexpect: add v4.2.1

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

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Tim Orling 2017-08-19 13:06:00 -07:00 committed by Martin Jansa
parent 26ef409d08
commit c64238c764
3 changed files with 29 additions and 0 deletions

View File

@ -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"

View File

@ -0,0 +1,2 @@
require python-pexpect.inc
inherit pypi setuptools

View File

@ -0,0 +1,2 @@
require python-pexpect.inc
inherit pypi setuptools3