blob: 19b94dee02a7ad43c628e2c606fc85999987877b [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "Multidicts are useful for working with HTTP headers, URL query args etc."
2HOMEPAGE = "https://github.com/aio-libs/multidict/"
3
4LICENSE = "Apache-2.0"
Patrick Williamsf52e3dd2024-01-26 13:04:43 -06005LIC_FILES_CHKSUM = "file://LICENSE;md5=b4fef6e4b0828c2401fb983363985b39"
Andrew Geissler517393d2023-01-13 08:55:19 -06006
7inherit pypi setuptools3 ptest
8
Patrick Williamsf52e3dd2024-01-26 13:04:43 -06009PV .= "+git"
10
11SRCREV = "82b559cdd0b41548f3dadc5561a9aaaa7f93ae14"
12PYPI_SRC_URI = "git://github.com/aio-libs/multidict;branch=master;protocol=https"
13S = "${WORKDIR}/git"
14
Andrew Geissler517393d2023-01-13 08:55:19 -060015SRC_URI += " \
Patrick Williamsf52e3dd2024-01-26 13:04:43 -060016 file://0001-Extend-aio-libs-multidict-909-to-3.12-as-well-to-add.patch \
Andrew Geissler517393d2023-01-13 08:55:19 -060017 file://run-ptest \
18"
19
20RDEPENDS:${PN}-ptest += " \
Patrick Williams73bd93f2024-02-20 08:07:48 -060021 python3-pytest \
22 python3-pytest-cov \
23 python3-unittest-automake-output \
Andrew Geissler517393d2023-01-13 08:55:19 -060024"
25
26do_install_ptest() {
27 install -d ${D}${PTEST_PATH}/tests
28 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
29}
30
31BBCLASSEXTEND = "native nativesdk"