diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-08-17 14:59:38 -0500 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-08-22 16:43:32 +0000 |
commit | d849ec78de728ef9a2d383b92ccfeabf40f8f1d0 (patch) | |
tree | 3f856aa8d0f07fb207894822f4ba5db495ce0b1b /import-layers/meta-virtualization/recipes-devtools/python/python-gevent_1.0.1.bb | |
parent | 60f9d69e016b11c468c98ea75ba0a60c44afbbc4 (diff) | |
download | blackbird-openbmc-d849ec78de728ef9a2d383b92ccfeabf40f8f1d0.tar.gz blackbird-openbmc-d849ec78de728ef9a2d383b92ccfeabf40f8f1d0.zip |
Squashed 'import-layers/meta-virtualization/' content from commit c4a1711
Change-Id: I42132e4f0aef12ec265e74d95f489a6409e22f46
git-subtree-dir: import-layers/meta-virtualization
git-subtree-split: c4a1711dd31659b027c70c07e4ef6da98591ac95
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'import-layers/meta-virtualization/recipes-devtools/python/python-gevent_1.0.1.bb')
-rw-r--r-- | import-layers/meta-virtualization/recipes-devtools/python/python-gevent_1.0.1.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/import-layers/meta-virtualization/recipes-devtools/python/python-gevent_1.0.1.bb b/import-layers/meta-virtualization/recipes-devtools/python/python-gevent_1.0.1.bb new file mode 100644 index 000000000..47f1267ab --- /dev/null +++ b/import-layers/meta-virtualization/recipes-devtools/python/python-gevent_1.0.1.bb @@ -0,0 +1,33 @@ +HOMEPAGE = "http://www.gevent.org" +SUMMARY = "A coroutine-based Python networking library" +DESCRIPTION = "\ + gevent is a coroutine-based Python networking library that uses greenlet \ + to provide a high-level synchronous API on top of the libevent event \ + loop. \ + " +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=2dbb33d00e1fd31c7041460a81ac0bd2" +DEPENDS += "python-greenlet libevent" +RDEPENDS_${PN} += "python-greenlet python-mime python-pprint python-re" + +SRCNAME = "gevent" + +SRC_URI = "http://pypi.python.org/packages/source/g/gevent/${SRCNAME}-${PV}.tar.gz" +SRC_URI[md5sum] = "7b952591d1a0174d6eb6ac47bd975ab6" +SRC_URI[sha256sum] = "4627e215d058f71d95e6b26d9e7be4c263788a4756bd2858a93775f6c072df43" + +S = "${WORKDIR}/${SRCNAME}-${PV}" + +inherit setuptools + +FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" +SRC_URI += "file://libev-conf.patch" +SRC_URI += "file://gevent-allow-ssl-v2-or-v3-certificates.patch" + +# The python-gevent has no autoreconf ability +# and the logic for detecting a cross compile is flawed +# so always force a cross compile +do_configure_append() { + sed -i -e 's/^cross_compiling=no/cross_compiling=yes/' ${S}/libev/configure +}
\ No newline at end of file |