summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python/recipes-devtools/python')
-rw-r--r--meta-python/recipes-devtools/python/python3-platformdirs_3.6.0.bb18
1 files changed, 7 insertions, 11 deletions
diff --git a/meta-python/recipes-devtools/python/python3-platformdirs_3.6.0.bb b/meta-python/recipes-devtools/python/python3-platformdirs_3.6.0.bb
index 20b3299ac7..6444fde7ea 100644
--- a/meta-python/recipes-devtools/python/python3-platformdirs_3.6.0.bb
+++ b/meta-python/recipes-devtools/python/python3-platformdirs_3.6.0.bb
@@ -3,32 +3,28 @@ HOMEPAGE = "https://github.com/platformdirs/platformdirs"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a"
5 5
6SRC_URI = " \ 6SRC_URI += " \
7 git://github.com/platformdirs/platformdirs.git;branch=main;protocol=https \
8 file://run-ptest \ 7 file://run-ptest \
9" 8"
10 9
11SRCREV ?= "85b0b67eb33a835b797c1d52dab4a06c5554b7ee" 10SRC_URI[sha256sum] = "57e28820ca8094678b807ff529196506d7a21e17156cb1cddb3e74cebce54640"
12SRC_URI[sha256sum] = "7954a68d0ba23558d753f73437c55f89027cf8f5108c19844d4b82e5af396335"
13 11
14inherit python_setuptools_build_meta ptest 12inherit pypi python_hatchling ptest
15 13
16DEPENDS += " \ 14DEPENDS += " \
17 python3-hatch-vcs-native \ 15 ${PYTHON_PN}-hatch-vcs-native \
18 python3-setuptools-scm-native \
19 python3-toml-native \
20" 16"
21 17
22S = "${WORKDIR}/git"
23
24RDEPENDS:${PN}-ptest += " \ 18RDEPENDS:${PN}-ptest += " \
25 ${PYTHON_PN}-appdirs \ 19 ${PYTHON_PN}-appdirs \
20 ${PYTHON_PN}-covdefaults \
26 ${PYTHON_PN}-pytest \ 21 ${PYTHON_PN}-pytest \
27 ${PYTHON_PN}-pytest-mock \ 22 ${PYTHON_PN}-pytest-mock \
23 ${PYTHON_PN}-pytest-cov \
28" 24"
29 25
30do_install_ptest() { 26do_install_ptest() {
31 install -d ${D}${PTEST_PATH}/Tests 27 install -d ${D}${PTEST_PATH}
32 cp -rf ${S}/tests ${D}${PTEST_PATH}/ 28 cp -rf ${S}/tests ${D}${PTEST_PATH}/
33} 29}
34 30