summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-multidict_6.0.4.bb
blob: 19b94dee02a7ad43c628e2c606fc85999987877b (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
SUMMARY = "Multidicts are useful for working with HTTP headers, URL query args etc."
HOMEPAGE = "https://github.com/aio-libs/multidict/"

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=b4fef6e4b0828c2401fb983363985b39"

inherit pypi setuptools3 ptest

PV .= "+git"

SRCREV = "82b559cdd0b41548f3dadc5561a9aaaa7f93ae14"
PYPI_SRC_URI = "git://github.com/aio-libs/multidict;branch=master;protocol=https"
S = "${WORKDIR}/git"

SRC_URI += " \
  file://0001-Extend-aio-libs-multidict-909-to-3.12-as-well-to-add.patch \
	file://run-ptest \
"

RDEPENDS:${PN}-ptest += " \
    python3-pytest \
    python3-pytest-cov \
    python3-unittest-automake-output \
"

do_install_ptest() {
	install -d ${D}${PTEST_PATH}/tests
	cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
}

BBCLASSEXTEND = "native nativesdk"