From 9e896bd9ae6ecc891dd6587624eb34a48a4a985e Mon Sep 17 00:00:00 2001 From: Derek Straka Date: Fri, 10 Jan 2025 20:57:29 +0000 Subject: python3-sqlparse: update recipe to use the ptest-python-pytest class Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../recipes-devtools/python/python3-sqlparse/run-ptest | 3 --- .../recipes-devtools/python/python3-sqlparse_0.5.3.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-sqlparse/run-ptest (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest b/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest deleted file mode 100644 index 8d2017d39c..0000000000 --- a/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake 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" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" -SRC_URI:append = " \ - file://run-ptest \ -" - SRC_URI[sha256sum] = "09f67787f56a0b16ecdbde1bfc7f5d9c3371ca683cfeaa8e6ff60b4807ec9272" export BUILD_SYS export HOST_SYS -inherit pypi ptest python_hatchling +inherit pypi ptest-python-pytest python_hatchling RDEPENDS:${PN}-ptest += "\ python3-mypy \ - python3-pytest \ - python3-unittest-automake-output \ python3-unixadmin \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf