Skip to contentSkip to conversation

python3-aiohttp: add version 3.5.4

PATCH New Parthiban Nallathambi 1 participant 1 message May 1, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-aiohttp: add version 3.5.4

Added python3-aiohttp with following missing DEPENDS
- python3-async-timeout version 3.0.1
- python3-idna-ssl version 1.1.0
- python3-yarl version 1.3.0

---
 .../recipes-devtools/python/python-aiohttp.inc | 18 ++++++++++++++++++
 .../python/python-async-timeout.inc            | 15 +++++++++++++++
 .../python/python-idna-ssl.inc                 | 10 ++++++++++
 .../recipes-devtools/python/python-yarl.inc    | 10 ++++++++++
 .../python/python3-aiohttp_3.5.4.bb            |  2 ++
 .../python/python3-async-timeout_3.0.1.bb      |  2 ++
 .../python/python3-idna-ssl_1.1.0.bb           |  2 ++
 .../python/python3-yarl_1.3.0.bb               |  2 ++
 8 files changed, 61 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python-aiohttp.inc
 create mode 100644 meta-python/recipes-devtools/python/python-async-timeout.inc
 create mode 100644 meta-python/recipes-devtools/python/python-idna-ssl.inc
 create mode 100644 meta-python/recipes-devtools/python/python-yarl.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-aiohttp_3.5.4.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-async-timeout_3.0.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-yarl_1.3.0.bb
meta-python/recipes-devtools/python/python-aiohttp.inc new file +18 -0
new file mode 100644
index 000000000..81f1809bd
@@ -0,0 +1,18 @@
+SUMMARY = "Async http client/server framework"
+DESCRIPTION = "Asynchronous HTTP client/server framework for asyncio and Python"
+HOMEPAGE = "https://github.com/aio-libs/aiohttp"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cf056e8e7a0a5477451af18b7b5aa98c"
+
+SRC_URI[md5sum] = "85fe5c9037256c58d4678148bd91b3f3"
+SRC_URI[sha256sum] = "9c4c83f4fa1938377da32bc2d59379025ceeee8e24b89f72fcbccd8ca22dc9bf"
+
+PYPI_PACKAGE = "aiohttp"
+inherit pypi
+RDEPENDS_${PN} = "\
+    ${PYTHON_PN}-async-timeout \
+    ${PYTHON_PN}-chardet \
+    ${PYTHON_PN}-idna-ssl \
+    ${PYTHON_PN}-multidict \
+    ${PYTHON_PN}-yarl \
+"
meta-python/recipes-devtools/python/python-async-timeout.inc new file +15 -0
new file mode 100644
index 000000000..7e4959ebc
@@ -0,0 +1,15 @@
+SUMMARY = "asyncio-compatible timeout context manager"
+DESCRIPTION = "\
+The context manager is useful in cases when you want to apply \
+timeout logic around block of code or in cases when asyncio.wait_for() \
+is not suitable. Also it's much faster than asyncio.wait_for() because \
+timeout doesn't create a new task."
+HOMEPAGE = "https://github.com/aio-libs/async-timeout"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
+
+SRC_URI[md5sum] = "305c4fa529f2485c403d0dbe14390175"
+SRC_URI[sha256sum] = "0c3c816a028d47f659d6ff5c745cb2acf1f966da1fe5c19c77a70282b25f4c5f"
+
+PYPI_PACKAGE = "async-timeout"
+inherit pypi
meta-python/recipes-devtools/python/python-idna-ssl.inc new file +10 -0
new file mode 100644
index 000000000..e74bbd7c6
@@ -0,0 +1,10 @@
+SUMMARY = "Patch ssl.match_hostname for Unicode(idna) domains support"
+HOMEPAGE = "https://github.com/aio-libs/idna-ssl"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a61b9c5aec8796b64a6bf15d42605073"
+
+SRC_URI[md5sum] = "dd44ec53bac36e68446766fd8d3835bd"
+SRC_URI[sha256sum] = "a933e3bb13da54383f9e8f35dc4f9cb9eb9b3b78c6b36f311254d6d0d92c6c7c"
+
+PYPI_PACKAGE = "idna-ssl"
+inherit pypi
meta-python/recipes-devtools/python/python-yarl.inc new file +10 -0
new file mode 100644
index 000000000..49b5a607b
@@ -0,0 +1,10 @@
+SUMMARY = "The module provides handy URL class for url parsing and changing"
+HOMEPAGE = "https://github.com/aio-libs/yarl/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b334fc90d45983db318f54fd5bf6c90b"
+
+SRC_URI[md5sum] = "92889c31fce4c8f82b7ee9c2b2ed9cd1"
+SRC_URI[sha256sum] = "024ecdc12bc02b321bc66b41327f930d1c2c543fa9a561b39861da9388ba7aa9"
+
+PYPI_PACKAGE = "yarl"
+inherit pypi
meta-python/recipes-devtools/python/python3-aiohttp_3.5.4.bb new file +2 -0
new file mode 100644
index 000000000..cd0303f05
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-aiohttp.inc
meta-python/recipes-devtools/python/python3-async-timeout_3.0.1.bb new file +2 -0
new file mode 100644
index 000000000..7e2ffdb05
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-async-timeout.inc
meta-python/recipes-devtools/python/python3-idna-ssl_1.1.0.bb new file +2 -0
new file mode 100644
index 000000000..3643fcfd3
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-idna-ssl.inc
meta-python/recipes-devtools/python/python3-yarl_1.3.0.bb new file +2 -0
new file mode 100644
index 000000000..c5df44216
@@ -0,0 +1,2 @@
+inherit setuptools3
+require python-yarl.inc
Signature · 1 line
2.17.2