diff options
Diffstat (limited to 'meta-python/recipes-devtools')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-platformdirs/run-ptest | 3 | ||||
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb | 13 |
2 files changed, 1 insertions, 15 deletions
diff --git a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest b/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-platformdirs/run-ptest +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | pytest --automake | ||
diff --git a/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb b/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb index 02d8c3cec7..c85e12ab5c 100644 --- a/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb +++ b/meta-python/recipes-devtools/python/python3-platformdirs_4.3.6.bb | |||
| @@ -3,13 +3,9 @@ HOMEPAGE = "https://github.com/platformdirs/platformdirs" | |||
| 3 | LICENSE = "MIT" | 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" | 4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" |
| 5 | 5 | ||
| 6 | SRC_URI += " \ | ||
| 7 | file://run-ptest \ | ||
| 8 | " | ||
| 9 | |||
| 10 | SRC_URI[sha256sum] = "357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907" | 6 | SRC_URI[sha256sum] = "357fb2acbc885b0419afd3ce3ed34564c13c9b95c89360cd9563f73aa5e2b907" |
| 11 | 7 | ||
| 12 | inherit pypi python_hatchling ptest | 8 | inherit pypi python_hatchling ptest-python-pytest |
| 13 | 9 | ||
| 14 | DEPENDS += " \ | 10 | DEPENDS += " \ |
| 15 | python3-hatch-vcs-native \ | 11 | python3-hatch-vcs-native \ |
| @@ -18,15 +14,8 @@ DEPENDS += " \ | |||
| 18 | RDEPENDS:${PN}-ptest += " \ | 14 | RDEPENDS:${PN}-ptest += " \ |
| 19 | python3-appdirs \ | 15 | python3-appdirs \ |
| 20 | python3-covdefaults \ | 16 | python3-covdefaults \ |
| 21 | python3-pytest \ | ||
| 22 | python3-pytest-cov \ | 17 | python3-pytest-cov \ |
| 23 | python3-pytest-mock \ | 18 | python3-pytest-mock \ |
| 24 | python3-unittest-automake-output \ | ||
| 25 | " | 19 | " |
| 26 | 20 | ||
| 27 | do_install_ptest() { | ||
| 28 | install -d ${D}${PTEST_PATH} | ||
| 29 | cp -rf ${S}/tests ${D}${PTEST_PATH}/ | ||
| 30 | } | ||
| 31 | |||
| 32 | BBCLASSEXTEND = "native nativesdk" | 21 | BBCLASSEXTEND = "native nativesdk" |
