diff options
Diffstat (limited to 'meta-python/recipes-devtools')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-bleak/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb | 13 |
2 files changed, 1 insertions, 15 deletions
diff --git a/meta-python/recipes-devtools/python/python3-bleak/run-ptest b/meta-python/recipes-devtools/python/python3-bleak/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-bleak/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb b/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb index c0150c7901..47b3bcc62f 100644 --- a/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb +++ b/meta-python/recipes-devtools/python/python3-bleak_0.22.3.bb | |||
| @@ -6,25 +6,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=bcbc2069a86cba1b5e47253679f66ed7" | |||
| 6 | SRCREV = "2e6890f68f6718b4f92e602b9b926aa3d107b556" | 6 | SRCREV = "2e6890f68f6718b4f92e602b9b926aa3d107b556" |
| 7 | PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop" | 7 | PYPI_SRC_URI = "git://github.com/hbldh/bleak.git;protocol=https;branch=develop" |
| 8 | 8 | ||
| 9 | inherit pypi python_poetry_core ptest | 9 | inherit pypi python_poetry_core ptest-python-pytest |
| 10 | 10 | ||
| 11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
| 12 | 12 | ||
| 13 | SRC_URI += " \ | ||
| 14 | file://run-ptest \ | ||
| 15 | " | ||
| 16 | |||
| 17 | RDEPENDS:${PN}-ptest += " \ | 13 | RDEPENDS:${PN}-ptest += " \ |
| 18 | python3-pytest \ | ||
| 19 | python3-pytest-asyncio \ | 14 | python3-pytest-asyncio \ |
| 20 | python3-unittest-automake-output \ | ||
| 21 | " | 15 | " |
| 22 | 16 | ||
| 23 | do_install_ptest() { | ||
| 24 | install -d ${D}${PTEST_PATH}/tests | ||
| 25 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 26 | } | ||
| 27 | |||
| 28 | RDEPENDS:${PN} += " \ | 17 | RDEPENDS:${PN} += " \ |
| 29 | python3-core (>3.8) \ | 18 | python3-core (>3.8) \ |
| 30 | python3-dbus-fast \ | 19 | python3-dbus-fast \ |
