summaryrefslogtreecommitdiffstats
path: root/meta-python
diff options
context:
space:
mode:
Diffstat (limited to 'meta-python')
-rw-r--r--meta-python/recipes-devtools/python/python3-prettytable_3.10.0.bb (renamed from meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb)33
1 files changed, 17 insertions, 16 deletions
diff --git a/meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb b/meta-python/recipes-devtools/python/python3-prettytable_3.10.0.bb
index ba75057f59..35e9ab1798 100644
--- a/meta-python/recipes-devtools/python/python3-prettytable_3.9.0.bb
+++ b/meta-python/recipes-devtools/python/python3-prettytable_3.10.0.bb
@@ -3,7 +3,12 @@ HOMEPAGE = "http://code.google.com/p/prettytable"
3LICENSE = "BSD-3-Clause" 3LICENSE = "BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://LICENSE;md5=c9a6829fcd174d9535b46211917c7671" 4LIC_FILES_CHKSUM = "file://LICENSE;md5=c9a6829fcd174d9535b46211917c7671"
5 5
6SRC_URI[sha256sum] = "f4ed94803c23073a90620b201965e5dc0bccf1760b7a7eaf3158cab8aaffdf34" 6
7SRC_URI[sha256sum] = "9665594d137fb08a1117518c25551e0ede1687197cf353a4fdc78d27e1073568"
8SRC_URI += " \
9 file://run-ptest \
10"
11inherit pypi ptest python_hatchling
7 12
8do_install:append() { 13do_install:append() {
9 perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"` 14 perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"`
@@ -12,33 +17,29 @@ do_install:append() {
12 done 17 done
13} 18}
14 19
15BBCLASSEXTEND = "native nativesdk"
16inherit pypi ptest python_hatchling
17
18SRC_URI += " \
19 file://run-ptest \
20"
21
22DEPENDS += "\ 20DEPENDS += "\
23 python3-hatch-vcs-native \ 21 python3-hatch-vcs-native \
24" 22"
25 23
26RDEPENDS:${PN} += " \ 24RDEPENDS:${PN} += " \
27 python3-math \ 25 python3-compression \
28 python3-html \ 26 python3-html \
29 python3-wcwidth \ 27 python3-importlib-metadata \
30 python3-json \ 28 python3-json \
31 python3-compression \ 29 python3-math \
32 python3-importlib-metadata \ 30 python3-wcwidth \
33" 31"
34 32
35RDEPENDS:${PN}-ptest += " \ 33RDEPENDS:${PN}-ptest += " \
36 python3-pytest \ 34 python3-pytest \
37 python3-pytest-lazy-fixture \ 35 python3-pytest-lazy-fixtures \
38 python3-sqlite3 \ 36 python3-sqlite3 \
39 python3-unittest-automake-output \ 37 python3-unittest-automake-output \
40" 38"
41 39
42do_install_ptest() { 40do_install_ptest() {
43 cp -f ${S}/tests/test_prettytable.py ${D}${PTEST_PATH}/ 41 install -d ${D}${PTEST_PATH}/tests
42 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
44} 43}
44
45BBCLASSEXTEND = "native nativesdk"