diff options
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-httpx_0.28.1.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-httpx_0.28.1.bb | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-httpx_0.28.1.bb b/meta-python/recipes-devtools/python/python3-httpx_0.28.1.bb new file mode 100644 index 0000000000..fc41d7d2b2 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-httpx_0.28.1.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | SUMMARY = "A next generation HTTP client for Python." | ||
2 | SECTION = "devel/python" | ||
3 | LICENSE = "BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c624803bdf6fc1c4ce39f5ae11d7bd05" | ||
5 | |||
6 | inherit pypi python_hatchling | ||
7 | |||
8 | SRC_URI[sha256sum] = "75e98c5f16b0f35b567856f597f06ff2270a374470a5c2392242528e3e3e42fc" | ||
9 | |||
10 | DEPENDS += "\ | ||
11 | python3-hatch-fancy-pypi-readme-native \ | ||
12 | " | ||
13 | |||
14 | PACKAGECONFIG ??= "" | ||
15 | PACKAGECONFIG[brotli] = ",,,python3-brotli" | ||
16 | PACKAGECONFIG[http2] = ",,,python3-h2" | ||
17 | PACKAGECONFIG[socks] = ",,,python3-socksio" | ||
18 | |||
19 | RDEPENDS:${PN} += "\ | ||
20 | python3-anyio \ | ||
21 | python3-certifi \ | ||
22 | python3-httpcore \ | ||
23 | python3-idna \ | ||
24 | python3-sniffio \ | ||
25 | python3-json \ | ||
26 | python3-core \ | ||
27 | python3-netclient \ | ||
28 | python3-compression \ | ||
29 | " | ||
30 | |||
31 | PACKAGES += "\ | ||
32 | ${PN}-cli \ | ||
33 | " | ||
34 | |||
35 | RDEPENDS:${PN}-cli += "\ | ||
36 | ${PN} \ | ||
37 | python3-click \ | ||
38 | python3-pygments \ | ||
39 | python3-rich \ | ||
40 | " | ||
41 | |||
42 | FILES:${PN} = "\ | ||
43 | ${libdir}/${PYTHON_DIR} \ | ||
44 | " | ||
45 | |||
46 | FILES:${PN}-cli = "\ | ||
47 | ${bindir}/httpx \ | ||
48 | " | ||