[oe] [meta-python][PATCH] python3-aiofiles: add recipe

Maciej Pijanowski maciej.pijanowski at 3mdeb.com
Tue Aug 13 18:24:13 UTC 2019


Signed-off-by: Maciej Pijanowski <maciej.pijanowski at 3mdeb.com>
---
 .../recipes-devtools/python/python-aiofiles.inc    | 14 ++++++++++++++
 .../python/python3-aiofiles_0.4.0.bb               |  2 ++
 2 files changed, 16 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-aiofiles.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-aiofiles_0.4.0.bb

diff --git a/meta-python/recipes-devtools/python/python-aiofiles.inc b/meta-python/recipes-devtools/python/python-aiofiles.inc
new file mode 100644
index 000000000000..3ecb21c86dd2
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python-aiofiles.inc
@@ -0,0 +1,14 @@
+SUMMARY = "File support for asyncio"
+DESCRIPTION = "Asynchronous local file IO library for asyncio and Python"
+HOMEPAGE = "https://github.com/aio-libs/aiohttp"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314"
+
+SRC_URI[md5sum] = "cb33cf96c371fbd56fc27ab0bd81bd61"
+SRC_URI[sha256sum] = "021ea0ba314a86027c166ecc4b4c07f2d40fc0f4b3a950d1868a0f2571c2bbee"
+
+PYPI_PACKAGE = "aiofiles"
+inherit pypi
+RDEPENDS_${PN} = "\
+    ${PYTHON_PN}-asyncio \
+"
diff --git a/meta-python/recipes-devtools/python/python3-aiofiles_0.4.0.bb b/meta-python/recipes-devtools/python/python3-aiofiles_0.4.0.bb
new file mode 100644
index 000000000000..b4d188b2edf3
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-aiofiles_0.4.0.bb
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-aiofiles.inc
-- 
2.20.1



More information about the Openembedded-devel mailing list