diff options
Diffstat (limited to 'meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb')
-rw-r--r-- | meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb b/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb new file mode 100644 index 0000000000..01e8091f6f --- /dev/null +++ b/meta-python/recipes-extended/python3-gpt-image/python3-gpt-image_0.9.0.bb | |||
@@ -0,0 +1,30 @@ | |||
1 | DESCRIPTION = "GPT Image is used to Create GUID Partition Table disk images \ | ||
2 | on local disks. Written in pure Python gpt-image allows GPT disk images to \ | ||
3 | be built on a local filesystem and exported to a destination device." | ||
4 | SUMMARY = "GPT Image (pure python)" | ||
5 | LICENSE = "MIT" | ||
6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=db5f8de88d13d0917db21293d0e82e1d" | ||
7 | |||
8 | SRC_URI += "\ | ||
9 | file://run-ptest \ | ||
10 | " | ||
11 | |||
12 | DEPENDS += "python3-pip" | ||
13 | |||
14 | PYPI_PACKAGE = "gpt_image" | ||
15 | SRC_URI[sha256sum] = "c06d8efc7cf8d6f3954c1c3d8544f494aa95da37fe04e38a9699ad3f57455f7e" | ||
16 | |||
17 | inherit pypi setuptools3 python3native ptest | ||
18 | |||
19 | do_install_ptest() { | ||
20 | install -d ${D}${PTEST_PATH}/tests | ||
21 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
22 | } | ||
23 | |||
24 | RDEPENDS:${PN}-ptest += " \ | ||
25 | python3-pytest \ | ||
26 | " | ||
27 | |||
28 | do_install:append() { | ||
29 | rm -fr ${D}${libdir}/python*/site-packages/gpt-image/__pycache__ | ||
30 | } | ||