summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-prettytable_3.12.0.bb
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2025-01-17 20:30:28 +0000
committerKhem Raj <raj.khem@gmail.com>2025-01-17 16:39:42 -0800
commit966a1f6f67a728aadcb05dfb67511b197c44006a (patch)
treeee736b6a3c8e86d0ac96752e8e8433421b148140 /meta-python/recipes-devtools/python/python3-prettytable_3.12.0.bb
parentbf5ce7551dd745379447395dd9265eeb9fd6a102 (diff)
downloadmeta-openembedded-966a1f6f67a728aadcb05dfb67511b197c44006a.tar.gz
python3-prettytable: update recipe to use the ptest-python-pytest class
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-prettytable_3.12.0.bb')
-rw-r--r--meta-python/recipes-devtools/python/python3-prettytable_3.12.0.bb13
1 files changed, 2 insertions, 11 deletions
diff --git a/meta-python/recipes-devtools/python/python3-prettytable_3.12.0.bb b/meta-python/recipes-devtools/python/python3-prettytable_3.12.0.bb
index 442aadda29..007c0bffac 100644
--- a/meta-python/recipes-devtools/python/python3-prettytable_3.12.0.bb
+++ b/meta-python/recipes-devtools/python/python3-prettytable_3.12.0.bb
@@ -5,10 +5,8 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c9a6829fcd174d9535b46211917c7671"
5 5
6 6
7SRC_URI[sha256sum] = "f04b3e1ba35747ac86e96ec33e3bb9748ce08e254dc2a1c6253945901beec804" 7SRC_URI[sha256sum] = "f04b3e1ba35747ac86e96ec33e3bb9748ce08e254dc2a1c6253945901beec804"
8SRC_URI += " \ 8
9 file://run-ptest \ 9inherit pypi ptest-python-pytest python_hatchling
10"
11inherit pypi ptest python_hatchling
12 10
13do_install:append() { 11do_install:append() {
14 perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"` 12 perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"`
@@ -31,15 +29,8 @@ RDEPENDS:${PN} += " \
31" 29"
32 30
33RDEPENDS:${PN}-ptest += " \ 31RDEPENDS:${PN}-ptest += " \
34 python3-pytest \
35 python3-pytest-lazy-fixtures \ 32 python3-pytest-lazy-fixtures \
36 python3-sqlite3 \ 33 python3-sqlite3 \
37 python3-unittest-automake-output \
38" 34"
39 35
40do_install_ptest() {
41 install -d ${D}${PTEST_PATH}/tests
42 cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/
43}
44
45BBCLASSEXTEND = "native nativesdk" 36BBCLASSEXTEND = "native nativesdk"