blob: e4e1eeea7331ed629ed15b8742283f37ba5f423c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
SUMMARY = "A next generation HTTP client for Python."
SECTION = "devel/python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=c624803bdf6fc1c4ce39f5ae11d7bd05"
inherit pypi python_hatchling
SRC_URI[sha256sum] = "f7c2be1d2f3c3c3160d441802406b206c2b76f5947b11115e6df10c6c65e66c2"
DEPENDS += "\
python3-hatch-fancy-pypi-readme-native \
"
PACKAGECONFIG ??= ""
PACKAGECONFIG[brotli] = ",,,python3-brotli"
PACKAGECONFIG[http2] = ",,,python3-h2"
PACKAGECONFIG[socks] = ",,,python3-socksio"
RDEPENDS:${PN} += "\
python3-anyio \
python3-certifi \
python3-httpcore \
python3-idna \
python3-sniffio \
python3-json \
python3-core \
python3-netclient \
python3-compression \
"
PACKAGES += "\
${PN}-cli \
"
RDEPENDS:${PN}-cli += "\
${PN} \
python3-click \
python3-pygments \
python3-rich \
"
FILES:${PN} = "\
${libdir}/${PYTHON_DIR} \
"
FILES:${PN}-cli = "\
${bindir}/httpx \
"
|