Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] python-pexpect: Adds python-pexpect recipe
@ 2015-03-18 21:42 Alejandro Hernandez
  2015-03-18 22:16 ` Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: Alejandro Hernandez @ 2015-03-18 21:42 UTC (permalink / raw)
  To: openembedded-core

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]

Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
---
 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

diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
index 302510c..6d4c8c8 100644
--- a/meta/recipes-core/meta/buildtools-tarball.bb
+++ b/meta/recipes-core/meta/buildtools-tarball.bb
@@ -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 \
diff --git a/meta/recipes-devtools/python/python-pexpect_3.3.bb b/meta/recipes-devtools/python/python-pexpect_3.3.bb
new file mode 100644
index 0000000..cd80aeb
--- /dev/null
+++ b/meta/recipes-devtools/python/python-pexpect_3.3.bb
@@ -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"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] python-pexpect: Adds python-pexpect recipe
  2015-03-18 21:42 [PATCH] python-pexpect: Adds python-pexpect recipe Alejandro Hernandez
@ 2015-03-18 22:16 ` Saul Wold
  0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2015-03-18 22:16 UTC (permalink / raw)
  To: Alejandro Hernandez, openembedded-core

On 03/18/2015 03:42 PM, Alejandro Hernandez wrote:
> 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!


> [YOCTO #7279]
>
> Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com>
> ---
>   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
>
> diff --git a/meta/recipes-core/meta/buildtools-tarball.bb b/meta/recipes-core/meta/buildtools-tarball.bb
> index 302510c..6d4c8c8 100644
> --- a/meta/recipes-core/meta/buildtools-tarball.bb
> +++ b/meta/recipes-core/meta/buildtools-tarball.bb
> @@ -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 \
> diff --git a/meta/recipes-devtools/python/python-pexpect_3.3.bb b/meta/recipes-devtools/python/python-pexpect_3.3.bb
> new file mode 100644
> index 0000000..cd80aeb
> --- /dev/null
> +++ b/meta/recipes-devtools/python/python-pexpect_3.3.bb
> @@ -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"
>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-18 22:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-18 21:42 [PATCH] python-pexpect: Adds python-pexpect recipe Alejandro Hernandez
2015-03-18 22:16 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox