blob: 9abd13e2befb877f30f1ce050c3bedaaaa5b2356 [file] [log] [blame]
Patrick Williams73bd93f2024-02-20 08:07:48 -06001SUMMARY = "A next generation HTTP client for Python."
2SECTION = "devel/python"
3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c624803bdf6fc1c4ce39f5ae11d7bd05"
5
6inherit pypi python_hatchling
7
8SRC_URI[sha256sum] = "451b55c30d5185ea6b23c2c793abf9bb237d2a7dfb901ced6ff69ad37ec1dfaf"
9
10DEPENDS += "\
11 python3-hatch-fancy-pypi-readme-native \
12"
13
14PACKAGECONFIG ??= ""
15PACKAGECONFIG[brotli] = ",,,python3-brotli"
16PACKAGECONFIG[http2] = ",,,python3-h2"
17PACKAGECONFIG[socks] = ",,,python3-socksio"
18
19RDEPENDS:${PN} += "\
20 python3-anyio \
21 python3-certifi \
22 python3-httpcore \
23 python3-idna \
24 python3-sniffio \
25"
26
27PACKAGES += "\
28 ${PN}-cli \
29"
30
31RDEPENDS:${PN}-cli += "\
32 ${PN} \
33 python3-click \
34 python3-pygments \
35 python3-rich \
36"
37
38FILES:${PN} = "\
39 /usr/lib/python${PYTHON_BASEVERSION} \
40"
41
42FILES:${PN}-cli = "\
43 /usr/bin/httpx \
44"