From patchwork Fri Jan 17 20:30:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55740 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E315FC02183 for ; Fri, 17 Jan 2025 20:30:42 +0000 (UTC) Received: from mail-io1-f52.google.com (mail-io1-f52.google.com [209.85.166.52]) by mx.groups.io with SMTP id smtpd.web11.4846.1737145842469919841 for ; Fri, 17 Jan 2025 12:30:42 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.52, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f52.google.com with SMTP id ca18e2360f4ac-84cdacbc373so83170439f.1 for ; Fri, 17 Jan 2025 12:30:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737145841; x=1737750641; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8YIuxYbTabZuZdKS5Vev3rDoGVDMjDU7UnvUbCb/JU4=; b=ttAA077DYuCl5oVVU+Co5h5/3JOO/tPfoAqKe6d8Jxz02plF+Hwqd9XbpmmsNBPhhT 6yOm39/nYferyaLyXpebD1GtrQlypARsroXWNLFI6pH9HD55YCO6vhXhhz3BlewS12kD c39jUWqX2LZ8X6gL1g7u7EZ0n+JEzNNLrpeYvbz509CqctryFIbbEseIkJMFE3cIeX3j T6cZvN4WzsXHqSV2oPA1CdEst8MlHfK9PeH3DYiZvQlKSfzxz+nPaLUC6N4/szNiUP1G etV0tSmCh5GYT3M0EgmVGTNdLAE7vn0rMNkdU6EKFaKnsHgexPqhIgXU+5ZPdzqHTig/ 6Cgg== X-Gm-Message-State: AOJu0Yy3mqn00ziaHKxgDmD6vDANdE62AVdXCAagBZaddSQLYLDy+7Kw KTOMUUy+CWZ0BgNyf10yyO0D8Fwrgi8DJymvK4QbIezhHz/pxxfxHThT6g== X-Gm-Gg: ASbGncsqmqULf9A3s49oQEPY2/wSIHM+/780vBIwtGvulHLLdBTlgc20ktZ3CPvWBAI uvjsRa1gOvDNaoN1KS5DO5pmLI5xSmQKpsLqZhPg/DJjfSA6afi1g9yWW8fWns7ZYIr89roSBQT 0PAv/LqPESxOaCnxdIFL2SJD2QeB1fPNp1cRfZBKuR9x9rb8ogK5niW7iQmZmbNdTBgvne4gtPk W6NdI7I2hl9dcZq8BaBF5zCuJ/4EZrMpe866BVIJkbPDtQWiGcV+qEBs3quU3AUsDO08VTrGpxZ uAmSWQkGspPDgVWSgHK9uR1t6w== X-Google-Smtp-Source: AGHT+IE/bZv+SFvSQn/Y/VreGMJjS0OAzwpLwjiaHZGPiNne3l9TpbG34G0RMS4ZSZ7hSp6JBJGSgw== X-Received: by 2002:a05:6e02:2194:b0:3ce:5af3:79d5 with SMTP id e9e14a558f8ab-3cf743eb4aemr28521655ab.6.1737145840657; Fri, 17 Jan 2025 12:30:40 -0800 (PST) Received: from alpha.lab.asterius.io (c-24-118-24-24.hsd1.mn.comcast.net. [24.118.24.24]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea7566e687sm801814173.128.2025.01.17.12.30.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 12:30:40 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 01/10] python3-pyroute2: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 20:30:21 +0000 Message-Id: <20250117203030.3648575-1-derek@asterius.io> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jan 2025 20:30:42 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114934 Signed-off-by: Derek Straka --- .../recipes-devtools/python/python3-pyroute2/run-ptest | 4 ---- .../recipes-devtools/python/python3-pyroute2_0.8.1.bb | 10 ++-------- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pyroute2/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest b/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest deleted file mode 100644 index f1c8729f0..000000000 --- a/meta-python/recipes-devtools/python/python3-pyroute2/run-ptest +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -pytest --automake - diff --git a/meta-python/recipes-devtools/python/python3-pyroute2_0.8.1.bb b/meta-python/recipes-devtools/python/python3-pyroute2_0.8.1.bb index 048b0ca07..8f5ec7fcb 100644 --- a/meta-python/recipes-devtools/python/python3-pyroute2_0.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyroute2_0.8.1.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=dccbff78d7d79ae7e53953d43445c6e6 \ SRC_URI[sha256sum] = "b91f4a1f7abb9824637b1fe67e6e4a0a071d98d4a1a1b47ef792304ff3adad11" -inherit python_setuptools_build_meta pypi ptest +inherit python_setuptools_build_meta pypi ptest-python-pytest RDEPENDS:${PN} += " \ python3-ctypes \ @@ -22,20 +22,14 @@ RDEPENDS:${PN} += " \ python3-unixadmin \ " -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN}-ptest += " \ python3-fcntl \ python3-html \ python3-netclient \ - python3-pytest \ python3-sqlite3 \ - python3-unittest-automake-output \ " -do_install_ptest() { +do_install_ptest:append () { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ sed -e "s|'test_unit|'tests/test_unit|g" -i ${D}${PTEST_PATH}/tests/test_unit/test_nlmsg/test_marshal.py \ From patchwork Fri Jan 17 20:30:22 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55746 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB95BC02185 for ; Fri, 17 Jan 2025 20:30:52 +0000 (UTC) Received: from mail-il1-f169.google.com (mail-il1-f169.google.com [209.85.166.169]) by mx.groups.io with SMTP id smtpd.web10.4855.1737145843817906467 for ; Fri, 17 Jan 2025 12:30:43 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.169, mailfrom: straka.derek@gmail.com) Received: by mail-il1-f169.google.com with SMTP id e9e14a558f8ab-3ce7c4115e8so12607635ab.1 for ; Fri, 17 Jan 2025 12:30:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737145842; x=1737750642; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/hReuyBwswIsANocHFd0MvTLW59W6R+pyjQ66iNMS98=; b=eEQufBJHYg1gn5jZkvsIIKJzojQjtMqe03ITGU/gRKWZAcjlfufnLU+ITfWfeB1hRn LPLNt4Q1yrWSHxVongttEbXRZX3g1C5+UUXXKdqgCM2aGeu5rJm9y29a1g+FxR84n/ih I3SmsAtYJ7xX+5X6dAHiN6E35O7QOr3zvxmBctSVES1WN/rzdbEeG2ao+kwjA2n0z04T XuPANeY6QoYsZqlUrTMI3CVty3ljsog9NSfTctlsMxB/EYWy/2air8A9jEwKScyqMwYB N/Ez3Jz1bj93SiT90njQp9TqUEMjUaYmkVruRKOYN9EGzpC8o/rIPpCCseBTlm4G0cbp GmfA== X-Gm-Message-State: AOJu0Yyinp9DfOyXPGwf3lKjeT2Swgz0d3BC10IZwa9k8m/8hfe3wSq8 CO9uObAV4YEQk4bNpRpzCUqpyT1Sk4b1mlCu3YYw1YEVEZI+IV1jRihnZg== X-Gm-Gg: ASbGnctQtjdLT+O00/5vegwoEgsrjkaiU+4b7PE7EQXWo1hybY1Azfp8JwjrGdrmrDz Q0nphlFmRT+C+8w0yTaZzCAqjFEUWHr7cDAU3zbyrigEoF58l1SVv5hNTG0dYCKweqyIJplX+AG Xc/aaJ1iJb+EYbjSlT2NsczpwHTyL5WzXa2aYiBpsnt6s5hCzcmAS6KdllukyFVaVPESd4M0GkJ XwOvGUasxeO/kp3BiT4xRrZCcF63KhsRvZMnx0W6XN5IzGIVfjpZygnoF6unFF4hs0fofpSXtVQ YQnrSx9C5EQhzpIneI9bU9TcZQ== X-Google-Smtp-Source: AGHT+IHbZGC6rClTVsjtebmjd2Hx0fvI4/HUfyh8eCazh84fRI5SDzoxyz0ZSivWMHEleUAUKrCNaA== X-Received: by 2002:a05:6e02:6cf:b0:3ce:7c7d:37b3 with SMTP id e9e14a558f8ab-3ce84a62d72mr97196915ab.9.1737145842189; Fri, 17 Jan 2025 12:30:42 -0800 (PST) Received: from alpha.lab.asterius.io (c-24-118-24-24.hsd1.mn.comcast.net. [24.118.24.24]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea7566e687sm801814173.128.2025.01.17.12.30.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 12:30:41 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 02/10] python3-pydantic: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 20:30:22 +0000 Message-Id: <20250117203030.3648575-2-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117203030.3648575-1-derek@asterius.io> References: <20250117203030.3648575-1-derek@asterius.io> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jan 2025 20:30:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114935 Signed-off-by: Derek Straka --- .../recipes-devtools/python/python3-pydantic/run-ptest | 3 --- .../recipes-devtools/python/python3-pydantic_2.10.5.bb | 8 ++------ 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pydantic/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-pydantic/run-ptest b/meta-python/recipes-devtools/python/python3-pydantic/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-pydantic/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb b/meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb index 019781d51..cf211972d 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic_2.10.5.bb @@ -9,7 +9,7 @@ HOMEPAGE = "https://github.com/samuelcolvin/pydantic" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=09280955509d1c4ca14bae02f21d49a6" -inherit pypi python_hatchling +inherit pypi python_hatchling ptest-python-pytest SRC_URI[sha256sum] = "278b38dbbaec562011d659ee05f63346951b3a248a6f3642e1bc68894ea2b4ff" @@ -35,8 +35,6 @@ RDEPENDS:${PN} += "\ python3-zoneinfo \ " -inherit ptest -SRC_URI += "file://run-ptest" RDEPENDS:${PN}-ptest += "\ python3-ansi2html \ python3-coverage \ @@ -50,17 +48,15 @@ RDEPENDS:${PN}-ptest += "\ python3-mypy \ python3-packaging \ python3-pydoc \ - python3-pytest \ python3-pytest-codspeed \ python3-pytest-mock \ python3-pytz \ python3-rich \ python3-sqlalchemy \ - python3-unittest-automake-output \ python3-unixadmin \ " -do_install_ptest() { +do_install_ptest:append() { cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ # Requires 'ruff' (python3-ruff) which we cannot build # until we have Rust 1.71+ in oe-core From patchwork Fri Jan 17 20:30:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55744 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CF4BDC0218C for ; Fri, 17 Jan 2025 20:30:52 +0000 (UTC) Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) by mx.groups.io with SMTP id smtpd.web11.4847.1737145844812712179 for ; Fri, 17 Jan 2025 12:30:44 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.50, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f50.google.com with SMTP id ca18e2360f4ac-84cdacbc3dbso198732939f.2 for ; Fri, 17 Jan 2025 12:30:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737145843; x=1737750643; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IZ0+cGofEA+r5LvUHoQHzUBWvFYM55f9fRc1E5+yymQ=; b=bT8JdbrVfrtQcUV4faISRSYBgXVMNVTrCzJ8D17vVGC+YW7EVCe8HlzOC3qSQuYy0f qDhWk0pThscZURntjR38Bv2coW/Tynt7Rl80L1zglvjYc+x7MHTRMSA32ja4gDwejLBT az86yCfzR4oPrJTmmJ/NLOlwIdLOhZh8vg4+hYLdG+Y2wJceqi1FSeXZRTdycRx4yXae W+cvdACmhEjD/bEric6IiW3iYEtWbGAZve1KzTZJ2uwObSWfdTr15dPpPn+ujWI94F1k NFcamJzT+k80WfqdwDoJLkxVOaQtnlXEgcFJ0A9hp19cCU8NxtRQlTcvTX6Lg5jeyX28 fOfQ== X-Gm-Message-State: AOJu0YytHIlc5NcSaA/VnzA1Cf8M6iKgL8wlVu8y9Armsmvh68eYgXf7 Y2gZvw7eVdWT0IN9Sa5NCei01kwGPABE5n5DztHrCR5oFKhFCylcykmCUA== X-Gm-Gg: ASbGncv8GCuXRMurKaqEVDJfLeYu97Iw8DkJniBYG2kQTUf9wDLboKUEAF20F3VWPSW JRYyrUtHfJ2VRe1XihGJZ/ns7Wffd89oKylaCES4RcRSD/Eb+ugz8tXduaQZn78fcjDcmBsyzUr AH6LhkXtUqfSTa/lVMPHQIOMQlZjkmZugrz+luHcjahkWUbc3a4zWMvm07VLiElS6EoW0l6C1Pe /pJj801qpwqqT4P3gLClr1Tc2HbTST9YVfNGwLlbO6FFNHSoMrwjlZbWTS5k4QM8qVYykj6dleB hNXH2NAICht2rxxgWKoUeQYxbA== X-Google-Smtp-Source: AGHT+IHPXNoH5vr6CJligKDk3/f3qeuUpso50DPuy4SIwVqvKlK15ogq1aKqMvXtLjrWAfxKnBnpTA== X-Received: by 2002:a05:6602:15d1:b0:844:debf:2c8f with SMTP id ca18e2360f4ac-851b64cf92cmr374824739f.14.1737145843657; Fri, 17 Jan 2025 12:30:43 -0800 (PST) Received: from alpha.lab.asterius.io (c-24-118-24-24.hsd1.mn.comcast.net. [24.118.24.24]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea7566e687sm801814173.128.2025.01.17.12.30.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 12:30:42 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 03/10] python3-pydantic-core: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 20:30:23 +0000 Message-Id: <20250117203030.3648575-3-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117203030.3648575-1-derek@asterius.io> References: <20250117203030.3648575-1-derek@asterius.io> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jan 2025 20:30:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114936 Signed-off-by: Derek Straka --- .../python/python3-pydantic-core/run-ptest | 3 --- .../python/python3-pydantic-core_2.27.2.bb | 9 ++------- 2 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest b/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pydantic-core_2.27.2.bb b/meta-python/recipes-devtools/python/python3-pydantic-core_2.27.2.bb index 52571ff2c..5dd76f99f 100644 --- a/meta-python/recipes-devtools/python/python3-pydantic-core_2.27.2.bb +++ b/meta-python/recipes-devtools/python/python3-pydantic-core_2.27.2.bb @@ -10,13 +10,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ab599c188b4a314d2856b3a55030c75c" require ${BPN}-crates.inc -SRC_URI += "file://run-ptest" - SRC_URI[sha256sum] = "eb026e5a4c1fee05726072337ff51d1efb6f59090b7da90d30ea58625b1ffb39" DEPENDS = "python3-maturin-native python3-typing-extensions" -inherit pypi cargo-update-recipe-crates python_maturin +inherit pypi cargo-update-recipe-crates python_maturin ptest-python-pytest PYPI_PACKAGE = "pydantic_core" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" @@ -30,23 +28,20 @@ INSANE_SKIP:${PN} = "already-stripped" INSANE_SKIP:${PN} += "buildpaths" # python3-misc is for Lib/timeit.py which is not split out elsewhere -inherit ptest RDEPENDS:${PN}-ptest += "\ python3-dateutil \ python3-dirty-equals \ python3-hypothesis \ python3-inline-snapshot \ python3-misc \ - python3-pytest \ python3-pytest-mock \ python3-pytest-timeout \ python3-pytest-benchmark \ python3-tzdata \ - python3-unittest-automake-output \ python3-zoneinfo \ " -do_install_ptest() { +do_install_ptest:append () { cp -rf ${S}/tests/ ${D}${PTEST_PATH}/ sed -i -e "/--automake/ s/$/ -k 'not test_model_class_root_validator_wrap and not test_model_class_root_validator_before and not test_model_class_root_validator_after'/" ${D}${PTEST_PATH}/run-ptest } From patchwork Fri Jan 17 20:30:24 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55747 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7B05C0218D for ; Fri, 17 Jan 2025 20:30:52 +0000 (UTC) Received: from mail-il1-f179.google.com (mail-il1-f179.google.com [209.85.166.179]) by mx.groups.io with SMTP id smtpd.web11.4848.1737145846987171433 for ; Fri, 17 Jan 2025 12:30:47 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.179, mailfrom: straka.derek@gmail.com) Received: by mail-il1-f179.google.com with SMTP id e9e14a558f8ab-3ce915a8a25so8824055ab.1 for ; Fri, 17 Jan 2025 12:30:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737145845; x=1737750645; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4h57sUDa1UXYEKogdb2/9dWJQoa7iybW3Ly7a4rdvcA=; b=cya9exBxsqf2AQts3ryomcsUXLZ4gEmrYh9JFey8kiKzxGCsrwGWynVWMwOCF8zuV7 f2WuChIDEfwLp4iAcfJqwrZr68PxgSkzG4Qc+XXUerMD0uHoXlky3bfLm23cAmVjXwUu guJazErHThm+99XMvgOp3F18hDq9KeXM7zMEl4er5VdiywLVh5g4oktJ6MwIEXfLTk/v 9N/vwfV0/EOxbYDdI+9N8yhVANOwKyUIGJq4/qDgtuY2lscONyhd5gxzNEFYeRfwNioO 90R/vSlT/SbqCkGcfsM2OoDct7HwtOsw5opOQfrsRNrV4cDBJLxxFqPeCMPqIEBswl51 z5kg== X-Gm-Message-State: AOJu0YxzKJkZRALH/R4lEtnKC1bYWQpbUdem+ZpUW1KjgVXIm47fKtet i7PQpE2lz3RdnP5sSTck3N2/W4IR0k87lhDA40wz9A0oIghMUHar2uLUZQ== X-Gm-Gg: ASbGnct4wWrXvB8wSyOAENSHJiHOrR3Udq79VK4VpgjLkSG/S1GxrujlWTrvzXu40Zp YHCX+n1U18ZEVM9Ibd2BT2c4/NwrzqhxG10we0naMMvYTwPV0TOwd9GtL2PHqPoLYAmNfjYUHy0 dKfs8qJsfyfAd28cbYxKhPxlFkx7R9lYh87YbEiYLBR5qEqTfmnY28YQytFdQ0uAOomDk2puhXL YEJe38yJXZhCGzeWfeLPvw+GzlIL9i0V5I1WjzT03pFK0HrGSWYe/i1G1GnUcDuoY2EL/IbmaFO qm3+MXizseKDXgeDxZ/QMaIBaA== X-Google-Smtp-Source: AGHT+IG3+oblXu/+0sBeptKLRKyTsQAhqfyYA/bSWEHK3HY9rUuGPvWFydHYN2htIw9e3YrI7CPGiQ== X-Received: by 2002:a05:6e02:1d82:b0:3a7:fe47:6228 with SMTP id e9e14a558f8ab-3cf743fe62fmr29588985ab.6.1737145845305; Fri, 17 Jan 2025 12:30:45 -0800 (PST) Received: from alpha.lab.asterius.io (c-24-118-24-24.hsd1.mn.comcast.net. [24.118.24.24]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea7566e687sm801814173.128.2025.01.17.12.30.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 12:30:44 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 04/10] python3-pyasn1-modules: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 20:30:24 +0000 Message-Id: <20250117203030.3648575-4-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117203030.3648575-1-derek@asterius.io> References: <20250117203030.3648575-1-derek@asterius.io> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jan 2025 20:30:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114937 Signed-off-by: Derek Straka --- .../python/python3-pyasn1-modules/run-ptest | 3 --- .../python/python3-pyasn1-modules_0.4.1.bb | 15 +-------------- 2 files changed, 1 insertion(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest b/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-pyasn1-modules/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb index 225da562c..0ef2eaa1d 100644 --- a/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-pyasn1-modules_0.4.1.bb @@ -12,22 +12,9 @@ SRC_URI[sha256sum] = "c28e2dbf9c06ad61c71a075c7e0f9fd0f1b0bb2d2ad4377f240d33ac2a PYPI_PACKAGE = "pyasn1_modules" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -inherit pypi ptest python_setuptools_build_meta +inherit pypi ptest-python-pytest python_setuptools_build_meta RDEPENDS:${PN} = "python3-pyasn1" BBCLASSEXTEND = "native nativesdk" -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} From patchwork Fri Jan 17 20:30:25 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55745 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id D2ECBC3DA4A for ; Fri, 17 Jan 2025 20:30:52 +0000 (UTC) Received: from mail-io1-f45.google.com (mail-io1-f45.google.com [209.85.166.45]) by mx.groups.io with SMTP id smtpd.web11.4849.1737145847923316378 for ; Fri, 17 Jan 2025 12:30:48 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.45, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f45.google.com with SMTP id ca18e2360f4ac-84cdacbc3dbso198736439f.2 for ; Fri, 17 Jan 2025 12:30:47 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737145847; x=1737750647; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=XcUDlxDqV9b3kAAsOTwU8HhASAOhA4/q329rPwy8lyU=; b=tWbPdbU/Ra/jYaugwO2uDkU37TtAa301VQ8frCB1+tiMfr0Gdi5LYdbDgQWEbFxqS7 as5z90FRizTBdA2CrdNhUxwDNgwoHTgrnhlFI/RDtmKnkxpMrADu3lhYLi2GjnuPW9VM 3iek6VlnFBx+P3t5mxsWOuXeOQV4psjj38OoBylquqQMY0F8gBas5kFMzrIqWigzaQgG v8i/SNYis4PLS4P2CnL0hh/haN+zAuk1w0UXv42wKxG6435l4cVG0IpJTMum8iWSYPAS Ih7ljf4XFDCnTYtqOj7adCGI8+XUyzxeXVcM6VqoP0RhKIQbwtNTrRXSqxp3x4cYRl0H Q+iw== X-Gm-Message-State: AOJu0YwWjTNXAvL/LeyTBsoZ4t5sjlFr2qGhoCoC0XtClii9ZXsdP2I3 JVMP43W2y7/3lTJn5nyNog043pNJoCd1WWKx7z1vAc4vbVwH8AsggcfOvg== X-Gm-Gg: ASbGnctzTaX8b0tnXzm9TrHlOQkl2ToOiQpv3cTIR6GmHPyQ30V5BKMUxQndFoP9jLX 6OsNOzyX1qv2YC+Y1ceWGACVbtX3lYYmo44QRuU0v9HFJXyLXmO8bNGmdkuzNoMd6a0hBBbA3J4 fvKa3ye2Anc2Ewv3Q6hWO3x7sqfXwW8RwPdBa49UVrcQEhZUP5gd0WcvhxPlChJpbKICxYztY3v eHLvGlCyothVwDHE/dDv0uKN9/tg2g0J65/QloWAN+29tKTgqe+YfVHsHP+WPnAHAHTJe4IAQnv xcy509FeQlr0cBrx1WmFxYS+cw== X-Google-Smtp-Source: AGHT+IHK0tV09kxz9ZbswOHvU0GHZWoY3XMwsZzP3I0xWZm4wNwDZzXiZSlJIKiudlW2ss+5IcmRdg== X-Received: by 2002:a05:6e02:1608:b0:3ce:7e5d:6292 with SMTP id e9e14a558f8ab-3cf743f7c3fmr40253925ab.8.1737145846761; Fri, 17 Jan 2025 12:30:46 -0800 (PST) Received: from alpha.lab.asterius.io (c-24-118-24-24.hsd1.mn.comcast.net. [24.118.24.24]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea7566e687sm801814173.128.2025.01.17.12.30.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 12:30:45 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 05/10] python3-py-cpuinfo: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 20:30:25 +0000 Message-Id: <20250117203030.3648575-5-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117203030.3648575-1-derek@asterius.io> References: <20250117203030.3648575-1-derek@asterius.io> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jan 2025 20:30:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114938 Signed-off-by: Derek Straka --- .../python/python3-py-cpuinfo/run-ptest | 3 --- .../python/python3-py-cpuinfo_9.0.0.bb | 11 ++--------- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest b/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-py-cpuinfo/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb b/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb index 2d59a99b1..8aef266e3 100644 --- a/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-py-cpuinfo_9.0.0.bb @@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d2379ecb0d7a8299101b1e4c160cd1f7" SRC_URI[sha256sum] = "3cdbbf3fac90dc6f118bfd64384f309edeadd902d7c8fb17f02ffa1fc3f49690" -inherit ptest pypi python_setuptools_build_meta +inherit ptest-python-pytest pypi python_setuptools_build_meta -SRC_URI += "file://run-ptest \ +SRC_URI += " \ file://0001-test_cli.py-disable.patch \ " @@ -21,15 +21,8 @@ do_install:append() { done } -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN}-ptest += "\ python3-compile \ - python3-pytest \ - python3-unittest-automake-output \ " RDEPENDS:${PN} += "python3-core python3-ctypes python3-datetime python3-json python3-io python3-mmap python3-multiprocessing python3-netclient python3-pickle python3-pprint python3-shell" From patchwork Fri Jan 17 20:30:26 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55741 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BF2E2C0218A for ; Fri, 17 Jan 2025 20:30:52 +0000 (UTC) Received: from mail-il1-f172.google.com (mail-il1-f172.google.com [209.85.166.172]) by mx.groups.io with SMTP id smtpd.web10.4857.1737145849350264807 for ; Fri, 17 Jan 2025 12:30:49 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.172, mailfrom: straka.derek@gmail.com) Received: by mail-il1-f172.google.com with SMTP id e9e14a558f8ab-3ce915a8a25so8824175ab.1 for ; Fri, 17 Jan 2025 12:30:49 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737145848; x=1737750648; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=8m88Ac1P859FHkbQOuUz5YKS0mXBKfkv/BRodhAl1tA=; b=Kbk695UGR29eE4Dj8eQTuwcBpNO9EehSz3eiSARbpxzF4pWtSlbh7z8h4EUHHYQ/l2 7ib/A0VWN0eoVqOGcxeLYuHI8iIe6z1DSuK+P7lgIYgNIpbTVEUJC0HbrOeC5LB6Gy4s FSyQPIPMLvj0eq27lPfmiYrR2hhbhOKEf/ziFhIseg/LipWxGq2XRxDcUvCIZ2rr1cZo VzLJkGE8D7lkldXQPiNndDvb1t61fyzLlvZCkv8xsK61ixB0mpG0rpFzQND0py+cqVqV +VkWYNKlwl9E/61APULtPKlHLsls2i4B/fsJ1byXqYRjUI1fkNbfqXOCnQInRsgZetaZ N+0w== X-Gm-Message-State: AOJu0YwBhyiuO4Us+QavoWQIuF3BoH+xnfkVcoqtoBJ9h5F9JY58FAbT jOJYzcwkStqONxB0oIcSUI5ZdM0UJ7eQcuVSqt8bchdmgc6OldE7IDvZIg== X-Gm-Gg: ASbGnct+aUijQCvwa2rUWsdhzb2RTU8u6MZF38mvH250tQtxahpdtbN/YzUIBXqOk9f SRD5UUrliRF2xgS3z1a185wHtyMveOk/FoC7ppd8tyMuWJC919jzs8zovmrIKO2wTBYrrZANKy8 mdA3ve4tGjLMQOzClOF0+d5mcfbgZDy92zN+lUD+cgn+yw+aa6vtuzIx6gsw8DxIPCsBkV4g8Fs jn/0If9BAxaMBfSNRDxNsfd448aIMqbWw67EjmuqAZXSF5jm7g6CTbpX/K2b9Wz7z8iLDQTEJ2B LvQOC92bjynWxxFvoSlKCu0cIg== X-Google-Smtp-Source: AGHT+IFCIPW6nY9EufLydJg6JWevcV+LFKb9hmLdWUhl40+pw9cinaqNDN8i1MUQwXeTV/KCcZq6lQ== X-Received: by 2002:a05:6e02:16ce:b0:3ce:8d4e:9c79 with SMTP id e9e14a558f8ab-3cf743d2bcamr35256535ab.4.1737145847765; Fri, 17 Jan 2025 12:30:47 -0800 (PST) Received: from alpha.lab.asterius.io (c-24-118-24-24.hsd1.mn.comcast.net. [24.118.24.24]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea7566e687sm801814173.128.2025.01.17.12.30.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 12:30:47 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 06/10] python3-ptyprocess: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 20:30:26 +0000 Message-Id: <20250117203030.3648575-6-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117203030.3648575-1-derek@asterius.io> References: <20250117203030.3648575-1-derek@asterius.io> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jan 2025 20:30:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114939 Signed-off-by: Derek Straka --- .../python/python3-ptyprocess/run-ptest | 3 --- .../python/python3-ptyprocess_0.7.0.bb | 14 +------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest b/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-ptyprocess/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb b/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb index 12f10d824..e63c2c50b 100644 --- a/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-ptyprocess_0.7.0.bb @@ -9,7 +9,7 @@ SRCNAME = "ptyprocess" SRC_URI += "file://a44312974bd9084aa568d2e18ce5b2a7e0e45983.patch" SRC_URI[sha256sum] = "5c5d0a3b48ceee0b48485e0c26037c0acd7d29765ca3fbb5cb3831d347423220" -inherit pypi python_flit_core +inherit pypi python_flit_core ptest-python-pytest S = "${WORKDIR}/${SRCNAME}-${PV}" @@ -22,22 +22,10 @@ RDEPENDS:${PN} = "\ BBCLASSEXTEND = "native nativesdk" -inherit ptest - -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN}-ptest += " \ bash \ python3-fcntl \ - python3-pytest \ python3-resource \ python3-terminal \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} From patchwork Fri Jan 17 20:30:27 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55743 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id CA795C0218B for ; Fri, 17 Jan 2025 20:30:52 +0000 (UTC) Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) by mx.groups.io with SMTP id smtpd.web11.4852.1737145850891427099 for ; Fri, 17 Jan 2025 12:30:51 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.50, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f50.google.com with SMTP id ca18e2360f4ac-844cd85f5ebso196612039f.3 for ; Fri, 17 Jan 2025 12:30:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737145849; x=1737750649; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sYFy2PGU7l3Tw9R0mruJy2y/JsLv1OL0Cld2Hf7vTTc=; b=rKPbZ4rMmB/Bp16Kbxx3+beCoZ3yACrT8fIExnd6M57MGxzcuUscYxgWOWYoa5nHMl izzN2bmn3Zq/LicJKdo4DB31Wf7aE2e2XknircbJAOpk22z/drYf8rVfshviP4IZNnHp rbP59GM7nP13mxhYH0CnBjYDTlABydZ4ZZpN+SLZ8zH3JzxDa1joLIN6EXZWejbSCsjx dJFbKXTbMb5zSW63mQjQ58JSfWNoxvoC3rUye5wc6jjUqsUFfZBP49CsVwxLoddX59qK UZoU3gzMz83On0D9P93EYYm2s2M8xZT8owk7NrtR88PQBtDqa/XNrjGR5nr9rXlTbRW5 IV0w== X-Gm-Message-State: AOJu0YzHuXqVne1/NqtvbvsZZNfdC6tt3tBkiXU5nEp38ut5yONxjJUs hvzrXm2suN5l+Z/IDAZBt8b+ylVoT8GvQob3LktNyDEbDDtlq5WMEC64hg== X-Gm-Gg: ASbGnctReXPckADxVVZWZalYDeL9sg1selR4K/BRDOSgYHdvVO2nd+iwuQ2BY+snZWb FsETbMgjMyL+NZQkl1qkn12q3R/T+gVP2t+Qe4eeeTmvsAQ44FVKVzDo2X81o/3Nox6oEJlT/bq sxh4xEb0XjOyc13sUXCAvQXVlvj9cvDR0sJHVr4Vd6unKf0HIQjBo/+G5Slo13VJIsCR/jU8bpE 70TK/+cnyBNJicDOgGqxZOMM/eNjYwpsDl0z8AxfscFm8EOkeXpnpoWgm3mwATzbRiq4jzn6k3+ n2Gf9Du9cYzf1slfaPN8Y//KOw== X-Google-Smtp-Source: AGHT+IFqu6VqJJepbmLC05HQOFrqaa0cr5t3pqkbp+9P+eIDbkLtmg4nrKNXH8hvjxoiXxl6nlgrIA== X-Received: by 2002:a05:6602:394a:b0:844:debf:2b42 with SMTP id ca18e2360f4ac-851b619fc96mr371474439f.2.1737145849172; Fri, 17 Jan 2025 12:30:49 -0800 (PST) Received: from alpha.lab.asterius.io (c-24-118-24-24.hsd1.mn.comcast.net. [24.118.24.24]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea7566e687sm801814173.128.2025.01.17.12.30.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 12:30:48 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 07/10] python3-propcache: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 20:30:27 +0000 Message-Id: <20250117203030.3648575-7-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117203030.3648575-1-derek@asterius.io> References: <20250117203030.3648575-1-derek@asterius.io> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jan 2025 20:30:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114940 Signed-off-by: Derek Straka --- .../python/python3-propcache/run-ptest | 3 --- .../python/python3-propcache_0.2.1.bb | 12 +----------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-propcache/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-propcache/run-ptest b/meta-python/recipes-devtools/python/python3-propcache/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-propcache/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-propcache_0.2.1.bb b/meta-python/recipes-devtools/python/python3-propcache_0.2.1.bb index 0ea24e8bc..d15ead920 100644 --- a/meta-python/recipes-devtools/python/python3-propcache_0.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-propcache_0.2.1.bb @@ -5,26 +5,16 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI[sha256sum] = "3f77ce728b19cb537714499928fe800c3dda29e8d9428778fc7c186da4c09a64" -inherit pypi python_setuptools_build_meta ptest cython - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_setuptools_build_meta ptest-python-pytest cython DEPENDS += " \ python3-expandvars-native \ " RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-pytest-codspeed \ python3-pytest-xdist \ python3-rich \ python3-statistics \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} From patchwork Fri Jan 17 20:30:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55742 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id BCF5AC02183 for ; Fri, 17 Jan 2025 20:30:52 +0000 (UTC) Received: from mail-io1-f46.google.com (mail-io1-f46.google.com [209.85.166.46]) by mx.groups.io with SMTP id smtpd.web11.4853.1737145852333408169 for ; Fri, 17 Jan 2025 12:30:52 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.46, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f46.google.com with SMTP id ca18e2360f4ac-844e61f3902so200382539f.0 for ; Fri, 17 Jan 2025 12:30:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737145851; x=1737750651; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4n7Z+iX8Kp8KcU1yHzM1zHLUakm7KO5SFj7lcxgKjxY=; b=LgLLqTQLpGZHl9Bs3lZWLZ9+RSBiqSnewng1j98dyEdlQUaSBGm0SmQMK6dwZ2+HPL Sf2FoxUg0+c5z/QS9I06IOuASv0+xE77IH5lhZWYblRgb3tTIeJ7djgZ0j+ZzuW9pH0a zWqwpdzNjngaxaXgfVF7nQ397Np+rkAotMcLqwqje+Z4+E8qfprAj3aCyVd7ilJwFvMC okStIUvMmXxca96QMarO9o8S/vzTnbW7RrWCssKPkb31N4LeXlVcMKVZkDrueebR6s0U CWnNDmibWEBBB6225zxwkpfIBAnsrt1h8umueaGwnlfp8jTwvpS+hmeAEBX4nGU0e9wY suzw== X-Gm-Message-State: AOJu0YyaMjdVT2UgfxNsoPUGAkhOhZprdZa+rvgvmQgfQhZv/U1JDjnU X9A+dzXbFiqBTda5sapGUtxsvBeOEPBfP/ifjIsMRfW55nXFCQ1YkgM5bw== X-Gm-Gg: ASbGncu2GBS8NWFtvJBw4bRybIOn9m8XX9OsxnxrK/toH2bhbI/4RxNrjobpF+PS1ee llZGAjbl7Kweekgq4HSXGcGUAlo3WMh72huqfVihew/caNV1WRXFWrUsVDBqzzQzcLQ9+RvEbvW 8z+/jCBCWsqZ5SK5rIou4Ki7PiwiZrsetaRYafx2MS8215crxRJovFdBhDxvbY35ycB7IpP4bvz mqr07rYuiafYlabuS8rn13kq9VTtjwjX7FJjHFAXJRjaj1HYr7hUSEYZeSsPwx2Qy/6+DU7+jOK Pzkvp4bK0auLdxmNlallsDolFg== X-Google-Smtp-Source: AGHT+IHs8D12LeKcqUKORakI+fQtDHqSvQOcufaEt/aAylFF4srIEQlgJbH/swOfgjNePSmc4EaT9w== X-Received: by 2002:a05:6602:27cb:b0:847:51e2:eb0 with SMTP id ca18e2360f4ac-851b62afe94mr338853639f.12.1737145850738; Fri, 17 Jan 2025 12:30:50 -0800 (PST) Received: from alpha.lab.asterius.io (c-24-118-24-24.hsd1.mn.comcast.net. [24.118.24.24]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea7566e687sm801814173.128.2025.01.17.12.30.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 12:30:49 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 08/10] python3-prettytable: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 20:30:28 +0000 Message-Id: <20250117203030.3648575-8-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117203030.3648575-1-derek@asterius.io> References: <20250117203030.3648575-1-derek@asterius.io> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jan 2025 20:30:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114941 Signed-off-by: Derek Straka --- .../python/python3-prettytable/run-ptest | 3 --- .../python/python3-prettytable_3.12.0.bb | 13 ++----------- 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-prettytable/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-prettytable/run-ptest b/meta-python/recipes-devtools/python/python3-prettytable/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-prettytable/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake 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 442aadda2..007c0bffa 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" SRC_URI[sha256sum] = "f04b3e1ba35747ac86e96ec33e3bb9748ce08e254dc2a1c6253945901beec804" -SRC_URI += " \ - file://run-ptest \ -" -inherit pypi ptest python_hatchling + +inherit pypi ptest-python-pytest python_hatchling do_install:append() { perm_files=`find "${D}${PYTHON_SITEPACKAGES_DIR}/" -name "*.txt" -o -name "PKG-INFO"` @@ -31,15 +29,8 @@ RDEPENDS:${PN} += " \ " RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-pytest-lazy-fixtures \ python3-sqlite3 \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND = "native nativesdk" From patchwork Fri Jan 17 20:30:29 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55748 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E65DCC02183 for ; Fri, 17 Jan 2025 20:31:02 +0000 (UTC) Received: from mail-il1-f170.google.com (mail-il1-f170.google.com [209.85.166.170]) by mx.groups.io with SMTP id smtpd.web11.4856.1737145853356016702 for ; Fri, 17 Jan 2025 12:30:53 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.170, mailfrom: straka.derek@gmail.com) Received: by mail-il1-f170.google.com with SMTP id e9e14a558f8ab-3ce8a4e95f3so22441145ab.2 for ; Fri, 17 Jan 2025 12:30:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737145852; x=1737750652; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ygsmgnBn/gijitVslYZLxMKuzIuThLM1kWneBkzrvcI=; b=YXw5XSdFQlGw3wI5NiSthqko9U12HHWAg2kpXn5lx4siy9J2RCLl5HvVo08IX9bxG5 gmWrtJEUmIrs2UbW3HAMFlUcGwCdrw0SswzDG3P+3PUdwleydyolW8uZ/ORdAhOyr0oq BcAbsNT27ooR580wx8fOPC23STVF+d60owWM6RbEDVe1grecwckoReb6AkwJZpDRwAOB rdFeI6Bc/5P+Wy9HPxdpkCx03aOrYj06QvgrDAAmxPosL6HKrDnhlFm0rRqgnnSOlZGa 8ikdULHYLX6T+U/hqOHM4bYtxiH0Xt1mBk4N95/dtqt1aJrtdzumVdwUy3T4dweAfI/r eq5g== X-Gm-Message-State: AOJu0YzOaMWtcYwC/HBHSQFphpEuJAua72l9HX7jH1m8iIxcfrpu4G8c PQnyRtRGCWYjRASkToMVFfv8H4/jaLFdwSdf3H0jYk4CEt1nA2X+DRUVFw== X-Gm-Gg: ASbGncss9aLEHIL4Z10h3HFztsE8tzGfnMxxykL8rkG+wCuUqRmAUjVAZfWfGn4LsIE jTvnNDm7M4EfzbQDSaPoQ72N/GkIeZzgIIKk995f9JuUkSMlfJ3uQt8FwyOL4u+Co+SiJE/l3/N MhoxJtEyNtM9KqmXvn4kazBa6dZ3A3GCFVwlnFEf74exZASCSPrmZLedqQUUQBRKZBvaPsxsBPA 6NTOTLtlU/7BbAKx3V9QwuEooY9t0EjsyUxs/hu7kcjD1A9jdNS+dO5z0TLG3FVn7P0nPYpKiBf QPMHBhOOQx4oUtj8NDb/6PEmmw== X-Google-Smtp-Source: AGHT+IGuISWs0bRbaI98BBnJb7VgIRij1zcHZQzozVulPIEquUv1BN/7QEBBBjTsPgnhsDdqZXA1hA== X-Received: by 2002:a05:6e02:378b:b0:3a7:dd62:e954 with SMTP id e9e14a558f8ab-3cf74283ccamr37554295ab.0.1737145852160; Fri, 17 Jan 2025 12:30:52 -0800 (PST) Received: from alpha.lab.asterius.io (c-24-118-24-24.hsd1.mn.comcast.net. [24.118.24.24]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea7566e687sm801814173.128.2025.01.17.12.30.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 12:30:51 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 09/10] python3-precise-runner: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 20:30:29 +0000 Message-Id: <20250117203030.3648575-9-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117203030.3648575-1-derek@asterius.io> References: <20250117203030.3648575-1-derek@asterius.io> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jan 2025 20:31:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114942 Signed-off-by: Derek Straka --- .../python/python3-precise-runner/run-ptest | 3 --- .../python/python3-precise-runner_0.3.1.bb | 16 ++-------------- 2 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-precise-runner/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest b/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-precise-runner/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb b/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb index ea453366a..53fc31ab8 100644 --- a/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb +++ b/meta-python/recipes-devtools/python/python3-precise-runner_0.3.1.bb @@ -5,18 +5,6 @@ LIC_FILES_CHKSUM = "file://README.md;md5=2ad29e930f3107d52d2a55728bf62116" SRC_URI[sha256sum] = "1a464209fb4bf0a3f5d5a428310cb2a70487a01a6bc3a960d1dda90af896b80d" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/test - cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ -} +PTEST_PYTEST_DIR = "test" From patchwork Fri Jan 17 20:30:30 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55749 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id E6645C02185 for ; Fri, 17 Jan 2025 20:31:02 +0000 (UTC) Received: from mail-io1-f51.google.com (mail-io1-f51.google.com [209.85.166.51]) by mx.groups.io with SMTP id smtpd.web11.4858.1737145854805196152 for ; Fri, 17 Jan 2025 12:30:54 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.51, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f51.google.com with SMTP id ca18e2360f4ac-84cdb6fba9bso202591339f.2 for ; Fri, 17 Jan 2025 12:30:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737145853; x=1737750653; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=blVcnJygRdNHoQDJhd+FD2uuZQN+4+SnNjdboPDX0mA=; b=RTagT0weodnCW1L5Bq7eFC5Q0m1vdm33rw1mz0H0mbtrnpCi/Y/2sG/VnAd8KPA07t 3Az8sZaLi3dtS4SzO+eO5tqOR+mWS6kXHtz2jDQqFPIQpsmvmxi0bKpGjaXh/SAewBFa Ygg3nAsrRud4EcRFZZ1IDFov5rjn9D/R9uhDq+URgZDMp7dWHU1VLv1zjt+ATyHbWeuR ZzQdMZnv2Ai7SRZ5rjreT2eUBLCEuj9FOaJKONVrUD1qJZxYZuhnBE2rQMbYpMpNSghu 7+hrTN1iwdSbg2Ed21oegkhjKEYTu4ptR/dYuWcqmplzFKB/qRJfSaldXaffq/J9ZERO 7QDQ== X-Gm-Message-State: AOJu0Yz+tcKySQkUjlhRrBAsxkmZHh7lvQJuN/UN7LfXoXi6OjBNx8DK U1zByksaqrNezfxhZog0IBmqpWE4z0uio1qQVbabSjaZXo7FZMNciCuFeA== X-Gm-Gg: ASbGncsiZONIds62KOHHob6lXs4nm1IeBrshdr7oTPCA+roNhvXQgjmVmKGRH2QJOxH s86YF8+vB8uw8Zch2qCyejgDPRO78twDKdlinDOxYRxc2x6xz+s8hmV4NEADqOAnahQTB45unr9 3tu01OrLFsTAnY5Uragh3HsUbl2izMhJGj3xuiqm/R00irTblj3Sbk3071GG+KfMjdfGIZInXVp L7/s1aLx2AiNRHIqo7f5W1oM0nhaynM7ZSGeqBNSq82FzUhBlSQr0OhyuEx21OU8EDiUmCNhM+K gD0nccjXg/AOCjNSZkpmR7hCOg== X-Google-Smtp-Source: AGHT+IEwa8Kq3AynWq39Pg8z1m2zDOV+mmqSe5mWiF8kZ3lRFZ0HrxAGttEBfuBhYUpmRK3Rvbw3Wg== X-Received: by 2002:a05:6602:29cd:b0:84f:2915:daef with SMTP id ca18e2360f4ac-851b653aae9mr380262339f.12.1737145853194; Fri, 17 Jan 2025 12:30:53 -0800 (PST) Received: from alpha.lab.asterius.io (c-24-118-24-24.hsd1.mn.comcast.net. [24.118.24.24]) by smtp.gmail.com with ESMTPSA id 8926c6da1cb9f-4ea7566e687sm801814173.128.2025.01.17.12.30.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 12:30:52 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 10/10] python3-portion: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 20:30:30 +0000 Message-Id: <20250117203030.3648575-10-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117203030.3648575-1-derek@asterius.io> References: <20250117203030.3648575-1-derek@asterius.io> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Fri, 17 Jan 2025 20:31:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114943 Signed-off-by: Derek Straka --- .../python/python3-portion/run-ptest | 3 --- .../python/python3-portion_2.6.0.bb | 17 +++-------------- 2 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-portion/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-portion/run-ptest b/meta-python/recipes-devtools/python/python3-portion/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-portion/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb b/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb index 31c6f0731..8bdbc032c 100644 --- a/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb +++ b/meta-python/recipes-devtools/python/python3-portion_2.6.0.bb @@ -5,28 +5,17 @@ SECTION = "devel/python" LICENSE = "LGPL-3.0-only" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3000208d539ec061b899bce1d9ce9404" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest SRC_URI[sha256sum] = "6fb538b57a92058f0edd360667694448aa3fc028ab97e41e3091359d14ba4dd5" -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN} += "\ python3-sortedcontainers \ " -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests +do_install_ptest:append () { # This file tests README.md and deleted as redundant. - rm -f ${S}/tests/test_doc.py - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ + rm -f ${D}/tests/test_doc.py } BBCLASSEXTEND = "native"