diff options
author | Derek Straka <derek@asterius.io> | 2025-01-10 20:57:29 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2025-01-10 16:53:46 -0800 |
commit | 9e896bd9ae6ecc891dd6587624eb34a48a4a985e (patch) | |
tree | acd0584ddf041edcd756cd26e1e609f956fb40cb /meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb | |
parent | 5dd9806ac226fa689cb5b68c13f922058f39b4f1 (diff) | |
download | meta-openembedded-9e896bd9ae6ecc891dd6587624eb34a48a4a985e.tar.gz |
python3-sqlparse: 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-sqlparse_0.5.3.bb')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb b/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb index 588568c6a2..0282c1848d 100644 --- a/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb +++ b/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb | |||
@@ -4,27 +4,16 @@ SECTION = "devel/python" | |||
4 | LICENSE = "BSD-3-Clause" | 4 | LICENSE = "BSD-3-Clause" |
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" | 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" |
6 | 6 | ||
7 | SRC_URI:append = " \ | ||
8 | file://run-ptest \ | ||
9 | " | ||
10 | |||
11 | SRC_URI[sha256sum] = "09f67787f56a0b16ecdbde1bfc7f5d9c3371ca683cfeaa8e6ff60b4807ec9272" | 7 | SRC_URI[sha256sum] = "09f67787f56a0b16ecdbde1bfc7f5d9c3371ca683cfeaa8e6ff60b4807ec9272" |
12 | 8 | ||
13 | export BUILD_SYS | 9 | export BUILD_SYS |
14 | export HOST_SYS | 10 | export HOST_SYS |
15 | 11 | ||
16 | inherit pypi ptest python_hatchling | 12 | inherit pypi ptest-python-pytest python_hatchling |
17 | 13 | ||
18 | RDEPENDS:${PN}-ptest += "\ | 14 | RDEPENDS:${PN}-ptest += "\ |
19 | python3-mypy \ | 15 | python3-mypy \ |
20 | python3-pytest \ | ||
21 | python3-unittest-automake-output \ | ||
22 | python3-unixadmin \ | 16 | python3-unixadmin \ |
23 | " | 17 | " |
24 | 18 | ||
25 | do_install_ptest() { | ||
26 | install -d ${D}${PTEST_PATH}/tests | ||
27 | cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
28 | } | ||
29 | |||
30 | BBCLASSEXTEND = "native nativesdk" | 19 | BBCLASSEXTEND = "native nativesdk" |