[meta-virtualization] [m-c-s][PATCH 20/49] python-aioeventlet: initial version

Mark Asselstine mark.asselstine at windriver.com
Wed Feb 3 17:41:15 PST 2016


From: Mark Asselstine <asselsm at gmail.com>

This package provides asyncio event loop scheduling callbacks in
eventlet.

This package is required by oslo.messaging.

Signed-off-by: Mark Asselstine <asselsm at gmail.com>
---
 .../Makefile-skip-building-docs.patch              | 33 ++++++++++++++++++++++
 .../python/python-aioeventlet_0.4.bb               | 27 ++++++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 meta-openstack/recipes-devtools/python/python-aioeventlet/Makefile-skip-building-docs.patch
 create mode 100644 meta-openstack/recipes-devtools/python/python-aioeventlet_0.4.bb

diff --git a/meta-openstack/recipes-devtools/python/python-aioeventlet/Makefile-skip-building-docs.patch b/meta-openstack/recipes-devtools/python/python-aioeventlet/Makefile-skip-building-docs.patch
new file mode 100644
index 0000000..a1c85a3
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-aioeventlet/Makefile-skip-building-docs.patch
@@ -0,0 +1,33 @@
+From e53f9da41a45f24329e42cef4796b68c70bfefcb Mon Sep 17 00:00:00 2001
+From: Mark Asselstine <mark.asselstine at windriver.com>
+Date: Fri, 13 Nov 2015 10:48:59 -0500
+Subject: [PATCH] Makefile: skip building docs
+
+We don't have cross build sphinx-build support in Poky so skip
+building the docs. The user can build the docs on the target, where we
+do have sphinx-build support available.
+
+Signed-off-by: Mark Asselstine <mark.asselstine at windriver.com>
+---
+ Makefile | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 40bccab..d93943f 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,11 +1,6 @@
+-.PHONY: doc
+-
+ test:
+ 	tox
+-doc:
+-	make -C doc html
+ clean:
+ 	rm -rf build dist aioeventlet.egg-info .tox
+ 	find -name "*.pyc" -delete
+ 	find -name "__pycache__" -exec rm -rf {} \;
+-	make -C doc clean
+-- 
+2.1.4
+
diff --git a/meta-openstack/recipes-devtools/python/python-aioeventlet_0.4.bb b/meta-openstack/recipes-devtools/python/python-aioeventlet_0.4.bb
new file mode 100644
index 0000000..0841b9b
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-aioeventlet_0.4.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "Asyncio event loop scheduling callbacks in eventlet"
+HOMEPAGE = "http://aioeventlet.readthedocs.org/"
+SECTION = "devel/python"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=8f7bb094c7232b058c7e9f2e431f389c"
+
+SRCNAME = "aioeventlet"
+
+SRC_URI = "https://pypi.python.org/packages/source/a/${SRCNAME}/${SRCNAME}-${PV}.tar.gz \
+    file://Makefile-skip-building-docs.patch \
+    "
+
+SRC_URI[md5sum] = "678ea30265ae0326bddc767f80efd144"
+SRC_URI[sha256sum] = "fe78c2b227ce077b1581e2ae2c071f351111d0878ec1b0216435f6a898df79a6"
+
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+inherit setuptools 
+
+DEPENDS += " \
+        python-pip \
+        "
+
+RDEPENDS_${PN} += " \
+        python-sphinx \
+        "
+
-- 
2.1.4



More information about the meta-virtualization mailing list