summaryrefslogtreecommitdiff
path: root/upstream-layers/meta-openembedded/meta-python/recipes-connectivity/python-h2/python3-h2_4.4.1.bb
blob: 007f46d0163dbf1e54b81b131bfa0b4c4677be9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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] = "4e866ffb1a869ae14dd9b5e6beb5c24a13da0495ad72b65925ded182521c1516"

inherit ptest-python-pytest pypi python_setuptools_build_meta

DEPENDS += "python3-wheel-native"

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
}