summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-connectivity/python-h2/python3-h2_4.3.0.bb
blob: 4034ffe7c1e0f708b6a725c45d37720ec30f7b13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DESCRIPTION = "HTTP/2 State-Machine based protocol implementation"
HOMEPAGE = "https://github.com/python-hyper/hyper-h2"
LICENSE = "MIT"

LIC_FILES_CHKSUM = "file://LICENSE;md5=aa3b9b4395563dd427be5f022ec321c1"

SRC_URI[sha256sum] = "6c59efe4323fa18b47a632221a1888bd7fde6249819beda254aeca909f221bf1"

inherit ptest-python-pytest pypi python_setuptools_build_meta

RDEPENDS:${PN} += "python3-hpack python3-hyperframe"
RDEPENDS:${PN}-ptest += "python3-hypothesis"

do_install_ptest:append(){
    # by defining CI envvar, hypothesis will use the CI-profile by default,
    # and will not use tight execution deadlines (which times out easily on qemu without kvm)
    sed -i 's/pytest/CI=1 pytest/' ${D}${PTEST_PATH}/run-ptest
}