Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | SUMMARY = "Multidicts are useful for working with HTTP headers, URL query args etc." |
| 2 | HOMEPAGE = "https://github.com/aio-libs/multidict/" |
| 3 | |
| 4 | LICENSE = "Apache-2.0" |
Patrick Williams | f52e3dd | 2024-01-26 13:04:43 -0600 | [diff] [blame] | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=b4fef6e4b0828c2401fb983363985b39" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 6 | |
| 7 | inherit pypi setuptools3 ptest |
| 8 | |
Patrick Williams | f52e3dd | 2024-01-26 13:04:43 -0600 | [diff] [blame] | 9 | PV .= "+git" |
| 10 | |
Patrick Williams | 03514f1 | 2024-04-05 07:04:11 -0500 | [diff] [blame^] | 11 | SRCREV = "a9b281b2ef4ab25d95d6b268aa88c428e75c3696" |
Patrick Williams | f52e3dd | 2024-01-26 13:04:43 -0600 | [diff] [blame] | 12 | PYPI_SRC_URI = "git://github.com/aio-libs/multidict;branch=master;protocol=https" |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 15 | SRC_URI += " \ |
| 16 | file://run-ptest \ |
| 17 | " |
| 18 | |
| 19 | RDEPENDS:${PN}-ptest += " \ |
Patrick Williams | 73bd93f | 2024-02-20 08:07:48 -0600 | [diff] [blame] | 20 | python3-pytest \ |
| 21 | python3-pytest-cov \ |
| 22 | python3-unittest-automake-output \ |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 23 | " |
| 24 | |
| 25 | do_install_ptest() { |
| 26 | install -d ${D}${PTEST_PATH}/tests |
| 27 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ |
| 28 | } |
| 29 | |
| 30 | BBCLASSEXTEND = "native nativesdk" |