diff mbox series

[meta-python,4/4] python3-aioresponses: Add recipe

Message ID 20241026030453.2517894-4-raj.khem@gmail.com
State New
Headers show
Series [meta-python,1/4] python3-zopeinterface: Upgrade to 7.1.1 | expand

Commit Message

Khem Raj Oct. 26, 2024, 3:04 a.m. UTC
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 .../python/python3-aioresponses_0.7.6.bb      | 25 +++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 meta-python/recipes-devtools/python/python3-aioresponses_0.7.6.bb
diff mbox series

Patch

diff --git a/meta-python/recipes-devtools/python/python3-aioresponses_0.7.6.bb b/meta-python/recipes-devtools/python/python3-aioresponses_0.7.6.bb
new file mode 100644
index 0000000000..a99c80f592
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-aioresponses_0.7.6.bb
@@ -0,0 +1,25 @@ 
+SUMMARY = "Mock out requests made by ClientSession from aiohttp package"
+HOMEPAGE = "https://github.com/pnuckowski/aioresponses"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=b22b40d5974300051216633098387c57"
+
+SRC_URI[sha256sum] = "f795d9dbda2d61774840e7e32f5366f45752d1adc1b74c9362afd017296c7ee1"
+
+DEPENDS += "python3-pbr-native"
+
+inherit setuptools3 pypi
+
+RDEPENDS:${PN} += "python3-aiohttp \
+                   python3-asyncio \
+                   python3-core \
+                   python3-json \
+                   python3-math \
+                   python3-multidict \
+                   python3-netclient \
+                   python3-packaging \
+                   python3-unittest \
+                   python3-yarl"
+
+# optionally needs asynctest asynctest.case ddt but recipes do not exist for them
+
+PYPI_PACKAGE = "aioresponses"