summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Hernandez <alejandro.hernandez@linux.intel.com>2016-06-08 05:56:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-12 23:36:54 +0100
commit8e29f954613fbc2eb274fc7e3da1d516353c4683 (patch)
treec697eb54467491fa0cde0d5c2da9578677dc3a8c
parent84d54d198f6445ddd3c86d8ad6833f0d40a35ffd (diff)
downloadopenembedded-core-contrib-8e29f954613fbc2eb274fc7e3da1d516353c4683.tar.gz
openembedded-core-contrib-8e29f954613fbc2eb274fc7e3da1d516353c4683.tar.bz2
openembedded-core-contrib-8e29f954613fbc2eb274fc7e3da1d516353c4683.zip
python-pexpect: Upgrade from 4.0.1 to 4.1.0
Fixes source location, uses setuptools instead of distutils Adds python-ptyprocess package, since it is now a runtime dependency for python-pexpect Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-devtools/python/python-pexpect_4.1.0.bb (renamed from meta/recipes-devtools/python/python-pexpect_4.0.1.bb)11
-rw-r--r--meta/recipes-devtools/python/python-ptyprocess_0.5.1.bb21
2 files changed, 28 insertions, 4 deletions
diff --git a/meta/recipes-devtools/python/python-pexpect_4.0.1.bb b/meta/recipes-devtools/python/python-pexpect_4.1.0.bb
index 7f142a3854..10590e4ab7 100644
--- a/meta/recipes-devtools/python/python-pexpect_4.0.1.bb
+++ b/meta/recipes-devtools/python/python-pexpect_4.1.0.bb
@@ -4,15 +4,17 @@ SECTION = "devel/python"
LICENSE = "ISC"
LIC_FILES_CHKSUM = "file://LICENSE;md5=66c2378a96b307d56bfb3a9e58edafa8"
-SRC_URI = "https://pypi.python.org/packages/source/p/pexpect/pexpect-${PV}.tar.gz"
-SRC_URI[md5sum] = "056df81e6ca7081f1015b4b147b977b7"
-SRC_URI[sha256sum] = "232795ebcaaf2e120396dbbaa3a129eda51757eeaae1911558f4ef8ee414fc6c"
+SRCNAME = "pexpect"
+
+SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI[md5sum] = "562a1a21f2a60b36dfd5d906dbf0943e"
+SRC_URI[sha256sum] = "c381c60f1987355b65df8f08a27f428831914c8a81091bd1778ac336fa2f27e7"
UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/pexpect"
S = "${WORKDIR}/pexpect-${PV}"
-inherit distutils
+inherit setuptools
RDEPENDS_${PN} = "\
python-core \
@@ -20,6 +22,7 @@ RDEPENDS_${PN} = "\
python-terminal \
python-resource \
python-fcntl \
+ python-ptyprocess \
"
BBCLASSEXTEND = "nativesdk"
diff --git a/meta/recipes-devtools/python/python-ptyprocess_0.5.1.bb b/meta/recipes-devtools/python/python-ptyprocess_0.5.1.bb
new file mode 100644
index 0000000000..a9f7b4fd2c
--- /dev/null
+++ b/meta/recipes-devtools/python/python-ptyprocess_0.5.1.bb
@@ -0,0 +1,21 @@
+SUMMARY = "Run a subprocess in a pseudo terminal"
+HOMEPAGE = "http://ptyprocess.readthedocs.io/en/latest/"
+SECTION = "devel/python"
+LICENSE = "ISC"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=cfdcd51fa7d5808da4e74346ee394490"
+
+SRCNAME = "ptyprocess"
+
+SRC_URI = "https://files.pythonhosted.org/packages/source/p/${SRCNAME}/${SRCNAME}-${PV}.tar.gz"
+SRC_URI[md5sum] = "94e537122914cc9ec9c1eadcd36e73a1"
+SRC_URI[sha256sum] = "0530ce63a9295bfae7bd06edc02b6aa935619f486f0f1dc0972f516265ee81a6"
+
+UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/ptyprocess"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools
+
+RDEPENDS_${PN} = "\
+ python-core \
+"