Skip to contentSkip to conversation

python-pexpect: Adds python-pexpect recipe

PATCH In review Alejandro Hernandez 2 participants 2 messages Mar 18, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python-pexpect: Adds python-pexpect recipe

Creates a recipe for the pexpect module and adds it to buildtools, since it is needed by some of the automated runtime test code.

[YOCTO #7279]

---
 meta/recipes-core/meta/buildtools-tarball.bb       |  1 +
 meta/recipes-devtools/python/python-pexpect_3.3.bb | 23 ++++++++++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 meta/recipes-devtools/python/python-pexpect_3.3.bb
meta/recipes-core/meta/buildtools-tarball.bb +1 -0
index 302510c..6d4c8c8 100644
@@ -12,6 +12,7 @@ TOOLCHAIN_HOST_TASK ?= "\
     nativesdk-python-modules \
     nativesdk-python-misc \
     nativesdk-python-git \
+    nativesdk-python-pexpect \
     nativesdk-ncurses-terminfo-base \
     nativesdk-chrpath \
     nativesdk-tar \
meta/recipes-devtools/python/python-pexpect_3.3.bb new file +23 -0
new file mode 100644
index 0000000..cd80aeb
@@ -0,0 +1,23 @@
+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=c25d9a0770ba69a9965acc894e9f3644"
+
+SRC_URI = "https://pypi.python.org/packages/source/p/pexpect/pexpect-${PV}.tar.gz"
+SRC_URI[md5sum] = "0de72541d3f1374b795472fed841dce8"
+SRC_URI[sha256sum] = "dfea618d43e83cfff21504f18f98019ba520f330e4142e5185ef7c73527de5ba"
+
+S = "${WORKDIR}/pexpect-${PV}"
+
+inherit distutils
+
+RDEPENDS_${PN} = "\
+    python-core \
+    python-io \
+    python-terminal \
+    python-resource \
+    python-fcntl \
+"
+
+BBCLASSEXTEND = "nativesdk"
Signature · 1 line
1.9.1
#1 lore raw
Quoted 3 lines · Alejandro Hernandez

Creates a recipe for the pexpect module and adds it to buildtools, since it is needed by some of the automated runtime test code.

This should really be 2 patches on that adds the new recipe and a second to add it to build tools.

Also I guess you got the python-pexpect recipe from meta-python, so please give credit to that layer.

Sau!

Quoted 51 lines

[YOCTO #7279]

---
  meta/recipes-core/meta/buildtools-tarball.bb       |  1 +
  meta/recipes-devtools/python/python-pexpect_3.3.bb | 23 ++++++++++++++++++++++
  2 files changed, 24 insertions(+)

create mode 100644 meta/recipes-devtools/python/python-pexpect_3.3.bb

meta/recipes-core/meta/buildtools-tarball.bb +1 -0
index 302510c..6d4c8c8 100644
@@ -12,6 +12,7 @@ TOOLCHAIN_HOST_TASK ?= "\
      nativesdk-python-modules \
      nativesdk-python-misc \
      nativesdk-python-git \
+    nativesdk-python-pexpect \
      nativesdk-ncurses-terminfo-base \
      nativesdk-chrpath \
      nativesdk-tar \
meta/recipes-devtools/python/python-pexpect_3.3.bb new file +23 -0
new file mode 100644
index 0000000..cd80aeb
@@ -0,0 +1,23 @@
+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=c25d9a0770ba69a9965acc894e9f3644"
+
+SRC_URI = "https://pypi.python.org/packages/source/p/pexpect/pexpect-${PV}.tar.gz"
+SRC_URI[md5sum] = "0de72541d3f1374b795472fed841dce8"
+SRC_URI[sha256sum] = "dfea618d43e83cfff21504f18f98019ba520f330e4142e5185ef7c73527de5ba"
+
+S = "${WORKDIR}/pexpect-${PV}"
+
+inherit distutils
+
+RDEPENDS_${PN} = "\
+    python-core \
+    python-io \
+    python-terminal \
+    python-resource \
+    python-fcntl \
+"
+
+BBCLASSEXTEND = "nativesdk"