diff options
| author | Richard Leitner <dev@g0hl1n.net> | 2024-02-05 13:58:29 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-02-10 10:39:58 -0800 |
| commit | fe06ca23194c4f19bd2ea4f63775c15ba0d8f973 (patch) | |
| tree | 95daab0bd6c98fc9f415124d791c5f181dacc18e /meta-python/recipes-devtools/python/python3-httpx_0.26.0.bb | |
| parent | 704b091001c7abc282ff6a29344357f26e321988 (diff) | |
| download | meta-openembedded-fe06ca23194c4f19bd2ea4f63775c15ba0d8f973.tar.gz | |
python3-httpx: add recipe for v0.26.0
The next generation HTTP client. This recipe uses pypi as source:
https://pypi.org/project/httpx
Signed-off-by: Richard Leitner <dev@g0hl1n.net>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-httpx_0.26.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-httpx_0.26.0.bb | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-httpx_0.26.0.bb b/meta-python/recipes-devtools/python/python3-httpx_0.26.0.bb new file mode 100644 index 0000000000..9abd13e2be --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-httpx_0.26.0.bb | |||
| @@ -0,0 +1,44 @@ | |||
| 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] = "451b55c30d5185ea6b23c2c793abf9bb237d2a7dfb901ced6ff69ad37ec1dfaf" | ||
| 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 | " | ||
| 26 | |||
| 27 | PACKAGES += "\ | ||
| 28 | ${PN}-cli \ | ||
| 29 | " | ||
| 30 | |||
| 31 | RDEPENDS:${PN}-cli += "\ | ||
| 32 | ${PN} \ | ||
| 33 | python3-click \ | ||
| 34 | python3-pygments \ | ||
| 35 | python3-rich \ | ||
| 36 | " | ||
| 37 | |||
| 38 | FILES:${PN} = "\ | ||
| 39 | /usr/lib/python${PYTHON_BASEVERSION} \ | ||
| 40 | " | ||
| 41 | |||
| 42 | FILES:${PN}-cli = "\ | ||
| 43 | /usr/bin/httpx \ | ||
| 44 | " | ||
