[oe-commits] [openembedded-core] 13/47: python-pexpect: Upgrade from 4.0.1 to 4.1.0

git at git.openembedded.org git at git.openembedded.org
Sun Jun 12 22:47:55 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 8e29f954613fbc2eb274fc7e3da1d516353c4683
Author: Alejandro Hernandez <alejandro.hernandez at linux.intel.com>
AuthorDate: Wed Jun 8 05:56:12 2016 +0000

    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 at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 ...hon-pexpect_4.0.1.bb => python-pexpect_4.1.0.bb} | 11 +++++++----
 .../python/python-ptyprocess_0.5.1.bb               | 21 +++++++++++++++++++++
 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
similarity index 60%
rename from meta/recipes-devtools/python/python-pexpect_4.0.1.bb
rename to meta/recipes-devtools/python/python-pexpect_4.1.0.bb
index 7f142a3..10590e4 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 0000000..a9f7b4f
--- /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 \
+"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list