diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-calver_2022.6.26.bb')
-rw-r--r-- | meta/recipes-devtools/python/python3-calver_2022.6.26.bb | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3-calver_2022.6.26.bb b/meta/recipes-devtools/python/python3-calver_2022.6.26.bb new file mode 100644 index 0000000000..71b5431400 --- /dev/null +++ b/meta/recipes-devtools/python/python3-calver_2022.6.26.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "Setuptools extension for CalVer package versions" | ||
2 | HOMEPAGE = "https://github.com/di/calver" | ||
3 | LICENSE = "Apache-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" | ||
5 | |||
6 | SRC_URI = " \ | ||
7 | git://github.com/di/calver;branch=master;protocol=https \ | ||
8 | file://run-ptest \ | ||
9 | file://0001-setup.py-hard-code-version.patch \ | ||
10 | " | ||
11 | SRCREV = "3268d8acf2c345f32a1c5f08ba25dc67f76cca81" | ||
12 | |||
13 | inherit python_setuptools_build_meta ptest | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | RDEPENDS:${PN}-ptest += " \ | ||
18 | python3-pretend \ | ||
19 | python3-pytest \ | ||
20 | python3-unittest-automake-output \ | ||
21 | " | ||
22 | |||
23 | do_install_ptest() { | ||
24 | install -d ${D}${PTEST_PATH}/tests | ||
25 | cp -rf ${S}/tests ${D}${PTEST_PATH}/ | ||
26 | } | ||
27 | |||
28 | BBCLASSEXTEND = "native nativesdk" | ||