From patchwork Fri Jan 17 18:59:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55728 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 5CADAC3DA4A for ; Fri, 17 Jan 2025 19:00:12 +0000 (UTC) Received: from mail-il1-f173.google.com (mail-il1-f173.google.com [209.85.166.173]) by mx.groups.io with SMTP id smtpd.web10.2744.1737140407151431619 for ; Fri, 17 Jan 2025 11:00:07 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.173, mailfrom: straka.derek@gmail.com) Received: by mail-il1-f173.google.com with SMTP id e9e14a558f8ab-3ce868498d3so9351465ab.3 for ; Fri, 17 Jan 2025 11:00:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737140405; x=1737745205; 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=wkJsgCnYBwvD8WGt8bz6dPXq867f8feZHmEIo7LEDoE=; b=Atbz5sOS3W0d9tyDqEFs1HuumIyteTcS6UWxGCtftPRZuH6Is6ArYT23kksJOUiH4v VTZL41I00Ruueok0a6l7RQhxNJlqa7BTJoEGUz+C2Uqc44y7pJnNyGNw5SS7FBsBhKTr PJP11vqd9RmF9xcWlw+5UhQ3Z1ISqUMa1FsEyJWWRiDfbbsNjvBsBiRbwbwzmVm58N/Z gMM4t0n10weYRenKhQQP/COKtEITN4C1NHCaNIL/+2236QLQYI2Aknnh4jLLFlTKbCvR w/NblCpZr9ylWii4xCGaEBYAbcEOomR8A5zWkr5Gz7ojoVEeHlAmRC7PElC0ltyq06u/ fdmQ== X-Gm-Message-State: AOJu0YyzGWGNVXBC4WCjalFGOigAzQXCFhh5CHnTqnWblzYxmozWsXEc d7jMVuCXprYTMw26aQS2wS8Pk6CQOWQwdf2l1dPBe7r+kVVFHoGX/EcEYA== X-Gm-Gg: ASbGncvngNa0gj1PQrPbepO3QDyHdGClHQzsJ3fnMypHClneIRCO/iPXclBnB1MRdvw 53/49jcgKEz8+Hfn1fRA5GLUlaFQOB+T02Tf+IKEzX04dHjponKFvqeP/6ZuA0Pqtusoam8LYRd rL1VJXOqg3jwgSC0JPMMWLvUSd2ZoyIe+2oMinvWlUjOzgIS0KNdsAziaIklrJYakNXB5cjACIX X0FCWh/yFbxFVRIGWkazB2IyvU0cdItXvtF7glxNzDqdUrE1hPSHLLdhr/zgwUz1u9nNKuYFgve kM+rUrnYtfAQ3Ra/FkwjntwKuA== X-Google-Smtp-Source: AGHT+IFCQhyvQ1m0WRYgJ2T3BD25TzRDQGJXmiRWzmZ/dwXBR71KC+qvlAb9RdEnsHuie/yUA6HNNA== X-Received: by 2002:a05:6e02:1686:b0:3ce:8cd1:f671 with SMTP id e9e14a558f8ab-3cf744a345cmr29648655ab.21.1737140405457; Fri, 17 Jan 2025 11:00:05 -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-4ea75495f5dsm761396173.60.2025.01.17.11.00.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 11:00:04 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 01/10] python3-semver: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 18:59:35 +0000 Message-Id: <20250117185944.3434424-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 19:00:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114922 Signed-off-by: Derek Straka --- .../python/python3-semver/run-ptest | 3 --- .../python/python3-semver_3.0.2.bb | 14 +------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-semver/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-semver/run-ptest b/meta-python/recipes-devtools/python/python3-semver/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-semver/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb b/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb index 25222bb5f..b329d65e1 100644 --- a/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb +++ b/meta-python/recipes-devtools/python/python3-semver_3.0.2.bb @@ -6,21 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d9da679db3bdce30a1b4328d5c474f98" SRC_URI[sha256sum] = "6253adb39c70f6e51afed2fa7152bcd414c411286088fb4b9effb133885ab4cc" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest BBCLASSEXTEND = "native nativesdk" -SRC_URI += " \ - file://run-ptest \ -" - DEPENDS += " python3-setuptools-scm-native" -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - cp -rf ${S}/tests ${D}${PTEST_PATH}/ -} From patchwork Fri Jan 17 18:59:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55727 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 5AC32C02183 for ; Fri, 17 Jan 2025 19:00:12 +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.web11.2818.1737140408120120762 for ; Fri, 17 Jan 2025 11:00:08 -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-3ce8c069840so16751965ab.3 for ; Fri, 17 Jan 2025 11:00:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737140407; x=1737745207; 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=a8Nc6/Fa3b7byWArP9In+w2rWq6gT+J6643FcY6jMXg=; b=wqFU1m8i7cU0Bz/Bq0HWhHRD9gHRFC7bJhC9FDAHHWvZf+VTDnEVGUSmILAjccargi AIVFAxk612atUeWDFxcH7zMK9T0Rgse7My70VwJwIeu2j22QbI914M4SQsMxtpL72L/J fcL7H7X+2UDmgYE7GHr4Hxd4jsj1yoZ863CnClCVBmWbGqEgzVrIJJXhDx3ZdXygo6uv nWiWC55gH814y2BSfwVLKUzPsbPve0X7Op9IlkF104NjRdwrmjOWoqspofp+MkJ2irDx bUGBYDR4cPjE5lrSDxfh4lSt8zZ0RXK4ki7uH8nzmozexn+ckmHy8AyAlAYGrW1biPTY lOkA== X-Gm-Message-State: AOJu0Yz8ZpJ2YVkIosYhJXn+wOLE++0N5JyanQtpoQZ2laz0wjqzlxKH Zt0RtpWylYaGwSPkssAqEn+AfQkqtaUdYJnJZ6OLxfcIbya6IAcO/RgyIg== X-Gm-Gg: ASbGncskk8ySmuq2td+60ezZPQixLT/3yZZQCGw2+ACKO/mwd7IDpyf7HDxecopbAs7 t6bFOMqyjBtVMhr0U/nre/1pg17hF48hC87pdnVe16md61CZxvyOafUFaRKgXpPY0q4JqJ+5kdk XkzeNKfldy/QS7or2FrsoyRFlHLaNiflgDtdqSAg9Q/LSpwVOSM+uKC/GMda+bBicrS35rIUG3j GXJJEBso7ztfkZoMJjxtTun9jyJyyDHn+6IyTCcoEyLKBUeHxnzGRLD3pDwGZWJ7IZXS1XrTHvY 2J5HZS4+0ezZL1urcxuyCL4p8Q== X-Google-Smtp-Source: AGHT+IHMQz/DFt3dbrOmNfby5X3ogeNm+q2nq5U9maIiN+rYFmtZB2wmqYOqs7ey+eZlBpJ0jMzNRw== X-Received: by 2002:a05:6e02:1989:b0:3ce:8aa2:3fb1 with SMTP id e9e14a558f8ab-3cf744bf12dmr32281565ab.22.1737140406968; Fri, 17 Jan 2025 11:00:06 -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-4ea75495f5dsm761396173.60.2025.01.17.11.00.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 11:00:05 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 02/10] python3-scrypt: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 18:59:36 +0000 Message-Id: <20250117185944.3434424-2-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117185944.3434424-1-derek@asterius.io> References: <20250117185944.3434424-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 19:00:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114923 Signed-off-by: Derek Straka --- .../python/python3-scrypt/run-ptest | 3 --- .../python/python3-scrypt_0.8.27.bb | 13 ++----------- 2 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-scrypt/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-scrypt/run-ptest b/meta-python/recipes-devtools/python/python3-scrypt/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-scrypt/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb b/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb index a3254de07..02f1da8f5 100644 --- a/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb +++ b/meta-python/recipes-devtools/python/python3-scrypt_0.8.27.bb @@ -7,22 +7,13 @@ SRC_URI += "file://0001-py-scrypt-remove-the-hard-coded-include-paths.patch" SRC_URI[sha256sum] = "a7b637848ed518c1ea2b31a9ecaaa3f49616598d8442de8706cf1f01fbabf0a7" -inherit pypi ptest setuptools3 dos2unix - -SRC_URI += " \ - file://run-ptest \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" +inherit pypi ptest-python-pytest setuptools3 dos2unix RDEPENDS:${PN} += " \ python3-ctypes \ " -do_install_ptest() { +do_install_ptest:append() { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/scrypt/tests/* ${D}${PTEST_PATH}/tests/ } From patchwork Fri Jan 17 18:59:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55730 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 6CEB5C02188 for ; Fri, 17 Jan 2025 19:00:12 +0000 (UTC) Received: from mail-io1-f41.google.com (mail-io1-f41.google.com [209.85.166.41]) by mx.groups.io with SMTP id smtpd.web11.2820.1737140409257631655 for ; Fri, 17 Jan 2025 11:00:09 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.41, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f41.google.com with SMTP id ca18e2360f4ac-84cdacbc3dbso192456039f.2 for ; Fri, 17 Jan 2025 11:00:09 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737140408; x=1737745208; 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=WVHXSZ4xVQbntbKXy4itOCsIgtRYU2+YdQc2eepkcxs=; b=DhjWyMI2JoooP05o7CZMuv3Fl3qiCyTHFiPtU+zRZa+Rwhs5h3R6XHfQcJCK3U/aId XUfaJTHrQMvlz4uW0nfHptbte9hhB28InxfEBKwDh5cTlXoaY05/Kky6xOAuSnFpXsX3 Wt8Xf+7Ge/+buHqXJFH2rMfJnKFLhnN3vxfLvC7du8YV1j1wh+o2zE8K6cn5iLqIxUnA X4qMTXUQGvKonPvsCj0UcVYD09WezhvJwPaiYM227gkGF10NDGVqgmzobbAJlOuhoLMi G+4Af08J8pxBxaUVGxtq5XDqLOVvZgw+mozj90pZyZJhTrSFUQHA1rJ8zgSF8m2wmO1E jBew== X-Gm-Message-State: AOJu0YyD1cP0inr7D/MJWn5LIpemw8sl6a58mbxSBtQ+bK0RvXk2wpud 24SgEWR5QQWq/dRk2A/lDEj9bz7vG+ohxHlQ1JCoKNCPb0eB39I5isMSKg== X-Gm-Gg: ASbGnctOmhH9M5Wf6D+k3AWBQAfe9AqxxD0R9XHHvUKVajfAXegjoHHtScGySguvQzE ou33HNxrhlpGHQnsQkpovUmz9JAIZF+QytfS7iHkkdMWDn7iFpRQgJA5nbpcInUVzBIKcG/G/u5 u12kgRlYtLK6Hid2peM+CxW7imWfOKWs+DpiAGlTG47nueMpTM+AqIP5Qnzy1I6V+vB4CJANKTs FjBVPvFFiEQPLRdGb95mhVS7ccJj4s3FdQ5IXxm/kfKmVNpZjAkD7oNvcgZcfZT7QQUEjrHfnBU clMIMSlAgIvFokAUbJDDTy4qMg== X-Google-Smtp-Source: AGHT+IFDjr6wH0wWfrZef7UT/y/Bj6IopZLWL3PIvOkjgGiJYn1rbRHC111kSaK8masbjW8di6JP3g== X-Received: by 2002:a05:6602:2c90:b0:84a:7963:7043 with SMTP id ca18e2360f4ac-851b6162861mr378222239f.1.1737140407961; Fri, 17 Jan 2025 11:00:07 -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-4ea75495f5dsm761396173.60.2025.01.17.11.00.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 11:00:07 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 03/10] python3-requests-toolbelt: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 18:59:37 +0000 Message-Id: <20250117185944.3434424-3-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117185944.3434424-1-derek@asterius.io> References: <20250117185944.3434424-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 19:00:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114924 Signed-off-by: Derek Straka --- .../python/python3-requests-toolbelt/run-ptest | 3 --- .../python/python3-requests-toolbelt_1.0.0.bb | 8 +++----- 2 files changed, 3 insertions(+), 8 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest b/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-requests-toolbelt/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb b/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb index 9cbe4927a..8956dee1f 100644 --- a/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-requests-toolbelt_1.0.0.bb @@ -4,14 +4,14 @@ HOMEPAGE = "https://toolbelt.readthedocs.org" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=6f14302a4b4099009ab38b4dde5f1075" -SRC_URI = "file://run-ptest \ +SRC_URI = " \ file://090856f4159c40a2927fb88546419f2e1697ad5f.patch \ file://720240501dca0b4eacc3295665d7ced8719e11d2.patch \ " SRC_URI[sha256sum] = "7681a0a3d047012b5bdc0ee37d7f8f07ebe76ab08caeccfc3921ce23c88d5bc6" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest RDEPENDS:${PN} += " \ python3-requests (>=2.0.1) \ @@ -21,12 +21,10 @@ RDEPENDS:${PN}-ptest += " \ python3-betamax \ python3-mock \ python3-multiprocessing \ - python3-pytest \ python3-trustme \ - 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/ cp -rf ${S}/setup.py ${D}${PTEST_PATH} From patchwork Fri Jan 17 18:59:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55729 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 5C1BBC02185 for ; Fri, 17 Jan 2025 19:00:12 +0000 (UTC) Received: from mail-il1-f181.google.com (mail-il1-f181.google.com [209.85.166.181]) by mx.groups.io with SMTP id smtpd.web10.2746.1737140410253102479 for ; Fri, 17 Jan 2025 11:00:10 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.181, mailfrom: straka.derek@gmail.com) Received: by mail-il1-f181.google.com with SMTP id e9e14a558f8ab-3a9c9f2a569so16992675ab.0 for ; Fri, 17 Jan 2025 11:00:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737140409; x=1737745209; 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=SaVdBP7k/jbRl52KUwZefqnUoW51PCbAjqq0yu9KvhQ=; b=hIfeH5Wexm1GhSNnFocGGsVRY6XuwHC2jHooSW7c5CrTrpnj3MUdc1z6OeAreBm0SI /e1+Xvv5nItJpJtcTFQKWu9d4BQdb0ILEvKBhb8JqXpu6WV74+s5QwMVXBKB+gcoo0PR uAhbC7cuos6UVnbeE4ojZBdrPFTBAw3VJAbNc1mWUOBOGGXRTzZZrWCAuJuYBOlHfwF9 rMrZSUzO8K8ZcYjInR9MUSdbH82UiXXT1n7McAZ1OuwCX+eYeLdigL3NLeJzQ2qas40v kdm240pziDxUyXF4mggTnzHgwybXPrnKPojkg/e6w6H2whOBuVWGfgP9hSBpYH6Azq0A C9Ug== X-Gm-Message-State: AOJu0YxPh0+uyz5cgxmzUFjBco3VIJ1gzCkQdOU0zwL6X4j2tFZgkmpv A9EVravPyrEwA8VrkpxvsFQxmuvDE9KFliHBdos8KiSgGWgQ8bHx3VNhJQ== X-Gm-Gg: ASbGncv2pko8ge1Lx75hd6snZqq9TzJwpcpT+bLFDoo7DhtsQLWQnNduVY3fZ7wifUi 0OCjEU3MFD/PyDYqTjoowGsnq3KvaQ3NVPGJC+iqBHwUiimquSJs5d0nLqFOmD+bhghgSy7eMgD IdtHKpgIqPQwOVNT5FHzvW/Z+qE1q0TGp1HOo+PKKiNTnipCoNcCDeSYNxUgT83XDHGqWUyXCzh h+R+prjPZG92rdf9nhfrQCSVZu6W2WEnXERUJJI1OWJjN3MuhrUixWBzbx0PXdNdMl4MjLRLeq6 FGREM9S4NDPRStw7nTKlmiUpmw== X-Google-Smtp-Source: AGHT+IE0Z6IpO1rWvL1yKC2OCra3jRobnikn/iJSebZ3uzAL0vzJwMTKJTBteQuZDKxa/mKPbcKR+w== X-Received: by 2002:a05:6e02:1c23:b0:3ce:8ed9:ca94 with SMTP id e9e14a558f8ab-3cf744905d8mr26995705ab.14.1737140409048; Fri, 17 Jan 2025 11:00:09 -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-4ea75495f5dsm761396173.60.2025.01.17.11.00.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 11:00:08 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 04/10] python3-requests-file: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 18:59:38 +0000 Message-Id: <20250117185944.3434424-4-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117185944.3434424-1-derek@asterius.io> References: <20250117185944.3434424-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 19:00:12 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114925 Signed-off-by: Derek Straka --- .../python/python3-requests-file/run-ptest | 3 --- .../python/python3-requests-file_2.1.0.bb | 16 +--------------- 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-requests-file/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-requests-file/run-ptest b/meta-python/recipes-devtools/python/python3-requests-file/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-requests-file/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb b/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb index 670a36a64..6e20a10f4 100644 --- a/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-requests-file_2.1.0.bb @@ -8,24 +8,10 @@ SRC_URI[sha256sum] = "0f549a3f3b0699415ac04d167e9cb39bccfb730cb832b4d20be3d98673 PYPI_PACKAGE = "requests_file" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -inherit pypi python_setuptools_build_meta ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_setuptools_build_meta ptest-python-pytest DEPENDS += "python3-setuptools-scm-native" -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/ -} - RDEPENDS:${PN} += " \ python3-requests \ " From patchwork Fri Jan 17 18:59:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55734 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 3CD13C02183 for ; Fri, 17 Jan 2025 19:00:22 +0000 (UTC) Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) by mx.groups.io with SMTP id smtpd.web10.2748.1737140412319270215 for ; Fri, 17 Jan 2025 11:00:12 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.54, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f54.google.com with SMTP id ca18e2360f4ac-844d555491eso75244739f.0 for ; Fri, 17 Jan 2025 11:00:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737140411; x=1737745211; 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=hl4k3c4PyTu3TpGzhDGxS1fIn6hRZ1KRjpwm6sc1AxU=; b=KmoOMKRugsOV+K8Jt4ViEdV98hNAqczQFuOrZuN5SduA/nF/YYv85//04HBQlsqGca nXniDT+wWXkMCanvym1KzYSoGIe8rJ2VHCdcXXfWUymSRbGjq8d00W+w55hGM1A5hZTJ V7alOnMHeeBSiUH1bLYDk7KmzHiRkfY1lLZKeIzHGroINRyGUAdp4v67iPmTBCKCjOQ6 mmciURODXrLR0cDJmybQ7wrV50InaqltGAuJOffjIdaK3rnfsBsXQxbsa3ryu9eUvplU jn++v6WgF72aQr9wejkjRqmDv5ogA6ueZqOOgYdnE8Sj0g2E/cXNvVosZRV9fzYj/A3D Dp5Q== X-Gm-Message-State: AOJu0YwJfao+eWIHE75fWQwxUDKnJuNvJj5kgLW00fxgAN2HooNjIZEY HXuW5qxmig4R5TzG8Y/sOhZD0Xv8u2l7JUIj18uhSxwm7sTaFtn9IXUd0A== X-Gm-Gg: ASbGnctovGNfYR9Z3M94csz41g/XL6FYSpSpCOZAhWfH1/B/BtfN51R2h3wT6yHhPwU iUqs8KLQUYRu4tQk9ygIzes2pY/GUpqHPOQ7WZR6bayuQM5Uw+ENvxsA/Ml5e78QIg+rYUAR+xW nwGI2MFIWJkq+N2XHtOx1Thwqt/taZZW1B7lwaFxiJMveDeXhtSyL8PIs/nlMDiPuokcZpEwNxt 6yZtein/KA/WEC5LD9hTsu5RxE9Qbg1cl3kQzhQjJlhu2ZdX2aYyEgNbpp/Jwd94+1pPGuZaMQ2 eZQ3wbdmIj+u9itWU7VV77CNwQ== X-Google-Smtp-Source: AGHT+IFu4Lu2/09qXrQNl2ilHGVi71BaOLpuJ85il+VMKEXuvaz14SjreOZkt2nzj4rsuBchbkSPxw== X-Received: by 2002:a05:6e02:3a08:b0:3ce:7b61:588 with SMTP id e9e14a558f8ab-3cf744962d3mr26175165ab.14.1737140410697; Fri, 17 Jan 2025 11:00:10 -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-4ea75495f5dsm761396173.60.2025.01.17.11.00.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 11:00:09 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 05/10] python3-rapidjson: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 18:59:39 +0000 Message-Id: <20250117185944.3434424-5-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117185944.3434424-1-derek@asterius.io> References: <20250117185944.3434424-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 19:00:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114926 Signed-off-by: Derek Straka --- .../python/python3-rapidjson/run-ptest | 3 --- .../python/python3-rapidjson_1.19.bb | 14 +------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-rapidjson/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-rapidjson/run-ptest b/meta-python/recipes-devtools/python/python3-rapidjson/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-rapidjson/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb b/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb index bfc05a735..5c47e0691 100644 --- a/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb +++ b/meta-python/recipes-devtools/python/python3-rapidjson_1.19.bb @@ -7,25 +7,18 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=6fe0b2465366662d7cfa6793ccbab563" SRC_URI[sha256sum] = "81e7260f6297cad564389b700783c0a33de71310b9eb01fd013faec5e7ed4eff" # Inheriting ptest provides functionality for packaging and installing runtime tests for this recipe -inherit setuptools3 pypi ptest +inherit setuptools3 pypi ptest-python-pytest PYPI_PACKAGE = "python-rapidjson" SETUPTOOLS_BUILD_ARGS += " --rj-include-dir=${RECIPE_SYSROOT}${includedir}" -# run-ptest is a shell script that starts the test suite -SRC_URI += " \ - file://run-ptest \ -" - DEPENDS += " \ rapidjson \ " # Adding required python package for the ptest (pytest and pytest->automake report translation) RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ python3-pytz \ " @@ -33,8 +26,3 @@ RDEPENDS:${PN} += " \ python3-core \ " -# Installing the test suite on the target -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} From patchwork Fri Jan 17 18:59:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55733 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 53D88C0218C for ; Fri, 17 Jan 2025 19:00:22 +0000 (UTC) Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) by mx.groups.io with SMTP id smtpd.web11.2824.1737140413863297008 for ; Fri, 17 Jan 2025 11:00:13 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.42, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f42.google.com with SMTP id ca18e2360f4ac-844de072603so185224039f.0 for ; Fri, 17 Jan 2025 11:00:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737140412; x=1737745212; 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=juo3U230YAjvgiXDORjkP52VGFDZWCExXiJ4vHDsYnM=; b=VakfS3Zr7lk8C6JNCElX8YPYc71HZ3UtORihq9Gmpm2wDMqzjGY8/dwwR2jEXQCw6g 0q67y2f/TKChjfj4reXL0eIXirMg1h2anYP0ExsCN2+nYA5Pt+bAP1T6VOQ7sb/so+Tk f1CDD1JqfwP34Vn7TM0g7MHrQTEks2ImXjHWRg/BHmPYhiLYCn5c6gcplIRUa8DU8gmQ cyZeKWmDYh4osip1+7Ydx6JM0/zl5aOHfab7j2cb6Me+WJ7sllt91HKUhQxR01gVNmbH 4p2Qasoe9ug/0xBErWzem3ksWqhYF+2jpOl6hD3v57e/zrOSIRL9qz7R3bEHgsOXa2/j nD6Q== X-Gm-Message-State: AOJu0YxTigFPP/n9hIeb9Ygu68lmwMEf2WykY4Exqe4mxRJsKVAkVB3d e/15zHCRed8qYcyPvMNlGWvlw8JUGHGDaflERHpA4VoPRx5YASX87L77ig== X-Gm-Gg: ASbGncuMr7Pa5Zpi7ZmK5rir2ZBexFDMrkaJUBDnKFCQSJT7n4uvy5oFPalaZnd2Jos vw0/+IjqRM+/FDcCH0sPqDDnLjq4ZBmXs9Td/Vo6En3TFLGJiXt4S52LAvqCzXEqHzAQiGyJALX RvbfytU+Ij/1ogNj0dzD1PL7dmoGx8l4YLFzm7WA+AnUAWgQjB9hFJPIPIquoabp41sE1GZsVBg 51+2gG2TiiwIqkQ2RY9b9Ta2WwXdGfBJXPYGH+Glsukoax+8FWeyYFEq4THY3pHQavckyM0Drhy EfyqKL7GfU9hqwa/p26w7AzeAw== X-Google-Smtp-Source: AGHT+IHJF7ReyGah2XQpeCKPYCAhzBPd9WZJa88AKeY6Ni0fj/mOYKJ9BkTPqzVjeXcQ7eQSoiyCPA== X-Received: by 2002:a05:6602:488d:b0:849:a2bb:ffdd with SMTP id ca18e2360f4ac-851b618abd4mr392705739f.4.1737140412257; Fri, 17 Jan 2025 11:00:12 -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-4ea75495f5dsm761396173.60.2025.01.17.11.00.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 11:00:11 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 06/10] python3-pyyaml-include: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 18:59:40 +0000 Message-Id: <20250117185944.3434424-6-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117185944.3434424-1-derek@asterius.io> References: <20250117185944.3434424-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 19:00:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114927 Signed-off-by: Derek Straka --- .../python/python3-pyyaml-include/run-ptest | 3 --- .../python/python3-pyyaml-include_2.2.bb | 10 +--------- 2 files changed, 1 insertion(+), 12 deletions(-) delete mode 100755 meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest b/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest deleted file mode 100755 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-pyyaml-include/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb b/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb index a93a2391d..49e643c71 100644 --- a/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb +++ b/meta-python/recipes-devtools/python/python3-pyyaml-include_2.2.bb @@ -7,17 +7,11 @@ SRCREV = "c5be2b7dfc4aaa91e44dbeb6fa42adc80936ef9d" SRC_URI = " \ git://github.com/tanbro/pyyaml-include;protocol=https;branch=main \ - file://run-ptest \ " S = "${WORKDIR}/git" -inherit python_setuptools_build_meta ptest - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} +inherit python_setuptools_build_meta ptest-python-pytest RDEPENDS:${PN} += " \ python3-pyyaml \ @@ -27,7 +21,5 @@ RDEPENDS:${PN}-ptest += " \ python3-fsspec \ python3-aiohttp \ python3-requests \ - python3-pytest \ - python3-unittest-automake-output \ " BBCLASSEXTEND = "native nativesdk" From patchwork Fri Jan 17 18:59:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55736 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 63CEBC0218D for ; Fri, 17 Jan 2025 19:00:22 +0000 (UTC) Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) by mx.groups.io with SMTP id smtpd.web11.2827.1737140415292585780 for ; Fri, 17 Jan 2025 11:00:15 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.42, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f42.google.com with SMTP id ca18e2360f4ac-844e1eb50e2so74117239f.0 for ; Fri, 17 Jan 2025 11:00:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737140414; x=1737745214; 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=h0FFiyiE0KPHDpCNDRENDLAl8sRdJrHY3pj+7NmjKRU=; b=IId+lBCZ4eLjLKKNmTSXWuviyhKSGRo8Ijcm6X/GFmCc3ElVdNTp5FXL7eADgdvlB+ AXzdfKvcvAgtuu/T/7KPdfoD5AVNSFwHxZ2e67FTlTxMSvrAaXpAH2ayd79s0F1f17Wd vwZ7m+Pg2PpDpo1+iwQxvyLoGR5HuyZR/5AyjASPVORkSjicUtibHCx0cAJnMq7bznMY xhhadNz3UOL+qSYH1SB6GHxzF0XOPvcaSZ9Wex+gnPCxqa4NEW/WBku5Zp8MQGOaw666 p0tLBbtMEfw42qY3jgD/+mgDBId3S61xwEuz/Uj+OgvjAJQk8Ro3CFHkJwvBERr0/q36 DrCQ== X-Gm-Message-State: AOJu0YzA79gUN52Ajxpmm1uateBlUz5NnlmsrsZz53NJga1ccnOwRlCg QHvTkB4b6McNp7x4HLq8sFqcJeHe4B8ndMT7ZbcBV17q66CB9uCz9bxdNQ== X-Gm-Gg: ASbGncuMFQRhIIEiC3sq13oVyE0+yZAkQqZLcNa4lBe2WGqr7kH5AifxFhoiE+o0SPx mLuQJfVC2biWmEmPc/1VI47/TnF23+xeSolilz6NA+WA8AIFaid0+/KXpKb7PAL6EBBmQ32V9qh hpFFBtS/oJIjQEeNz6LN5tB4BAg0T12KXh5qvZjP3Rzt0qSrWpEfLA8sUqybHpiFlBpB2Vf1htQ XBGwgMO9Wi73EkZaBPziU7+UkuMsRlGk9psOsD7wuN8jwdoY+1zXMz05GJqBxvgwdYBuqtTa/Rk gfufJWOrOmRSZmC+GIxEcEuI3g== X-Google-Smtp-Source: AGHT+IHnGbgZbmMmpmcCd90gvmTr6+7qbsHyEJJqusgM8wW0l3ktXW6jM+TiCTwpejFh99LTKIHuiw== X-Received: by 2002:a05:6e02:1d8b:b0:3a7:820c:180a with SMTP id e9e14a558f8ab-3cf74493955mr28289675ab.19.1737140413680; Fri, 17 Jan 2025 11:00:13 -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-4ea75495f5dsm761396173.60.2025.01.17.11.00.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 11:00:12 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 07/10] python3-pytoml: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 18:59:41 +0000 Message-Id: <20250117185944.3434424-7-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117185944.3434424-1-derek@asterius.io> References: <20250117185944.3434424-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 19:00:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114928 Signed-off-by: Derek Straka --- .../python/python3-pytoml/run-ptest | 3 --- .../python/python3-pytoml_0.1.21.bb | 17 +++-------------- 2 files changed, 3 insertions(+), 17 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pytoml/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-pytoml/run-ptest b/meta-python/recipes-devtools/python/python3-pytoml/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-pytoml/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb index 49390df83..15dc2f2c4 100644 --- a/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb +++ b/meta-python/recipes-devtools/python/python3-pytoml_0.1.21.bb @@ -6,25 +6,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cfff423699bdaef24331933ac4f56078" SRC_URI[sha256sum] = "8eecf7c8d0adcff3b375b09fe403407aa9b645c499e5ab8cac670ac4a35f61e7" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest -BBCLASSEXTEND = "native nativesdk" +PTEST_PYTEST_DIR = "test" -SRC_URI += " \ - file://run-ptest \ -" +BBCLASSEXTEND = "native nativesdk" RDEPENDS:${PN} += " \ python3-datetime \ python3-stringold \ " -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/ -} From patchwork Fri Jan 17 18:59:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55732 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 3DD8FC02185 for ; Fri, 17 Jan 2025 19:00:22 +0000 (UTC) Received: from mail-io1-f54.google.com (mail-io1-f54.google.com [209.85.166.54]) by mx.groups.io with SMTP id smtpd.web10.2752.1737140416724225305 for ; Fri, 17 Jan 2025 11:00:16 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.54, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f54.google.com with SMTP id ca18e2360f4ac-844d5444b3dso89951339f.1 for ; Fri, 17 Jan 2025 11:00:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737140415; x=1737745215; 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=QL3elPFBtVQNVM9gQlIHJCW8QgAenM/IBeqUqqA6Fmg=; b=LKpUOIj231n3VZObKU1tjdxWBmW+f9mL+Ia+OkbJDLcAqpN6dM4pCpa/QS1vwSa2PW eBnWcmme0xkEsW/UIk/GJnEHu4EijpTVDssgyHIMn4BheyuLtIm22Ab9B5it1lqHCmTi N9iT4ZUvZsDcLKGyMp5M6qHy7faW5nrvbsvl0AHFg5DCOYVEADOs6VYQEfdq8o85iYir 5g/BjZxw8AlmNvv43E2+UYi0+9j0oINwoVtxde0VzuriTpxOxCol9WaWEc8M9mA/1AKn 7Vl68e5O8+UBhNeuh/jnOCH4g4b0yMxsX4EtEKO1z+FXMecjZN5S7PafPzGCP3pV5/Ry 7juA== X-Gm-Message-State: AOJu0Yz5pxfKRRcg7OTUVzGnEIRZCk2K/egb5uItIfQx0PvWQHcbGY/p CFejW4diukrRtViCiwmXYmMy47+0PLj/1bwPJ0V2v0t0I4Fhlsnm1SbHtA== X-Gm-Gg: ASbGncukXQmv92W1j1Zes3Rb4Wmx+BEqeT6EizcQ58+6Kz1HnrZajfvF+7IPM6tAnkG 14FkJ5UR6brEhX5D5jxlEA/LaRHVjKZyqs04nhPnxaZfx48RIy8EAlOoUn7IIhSCiei1ZBiPAwN 6OuIJnOwd8ztYKphys5ZloTRxjRBTR5w2JZGFnMmTaSfIxnkjxafY9yW53sgcyreGy065paommF wYs82g/PkpjOBFbgl9c0NIrSaIBgsil5ryhfdug9oHzHEvahJOpVARYi8jAzl5wdZ6zTm/pDPZB aIRkv4QLnai3/vV7K067CqkiTg== X-Google-Smtp-Source: AGHT+IFMAIa4tr3W912+2A1M4+t6o8rn0vd6TpkXfgiqWNzbbSTB1ulRCb9ekX2ND9s+sdCYDLS7nw== X-Received: by 2002:a05:6602:3b83:b0:841:ab27:acac with SMTP id ca18e2360f4ac-84f672d4e27mr927180139f.2.1737140415091; Fri, 17 Jan 2025 11:00:15 -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-4ea75495f5dsm761396173.60.2025.01.17.11.00.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 11:00:14 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 08/10] python3-python-multipart: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 18:59:42 +0000 Message-Id: <20250117185944.3434424-8-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117185944.3434424-1-derek@asterius.io> References: <20250117185944.3434424-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 19:00:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114929 Signed-off-by: Derek Straka --- .../python/python3-python-multipart/run-ptest | 3 --- .../python/python3-python-multipart_0.0.20.bb | 12 +----------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-python-multipart/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-python-multipart/run-ptest b/meta-python/recipes-devtools/python/python3-python-multipart/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-python-multipart/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-python-multipart_0.0.20.bb b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.20.bb index db5e7bb45..71f9674ec 100644 --- a/meta-python/recipes-devtools/python/python3-python-multipart_0.0.20.bb +++ b/meta-python/recipes-devtools/python/python3-python-multipart_0.0.20.bb @@ -4,22 +4,12 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3d98f0d58b28321924a89ab60c82410e" SRC_URI[sha256sum] = "8dd0cab45b8e23064ae09147625994d090fa46f5b0d1e13af944c331a7fa9d13" -inherit pypi python_hatchling ptest +inherit pypi python_hatchling ptest-python-pytest PYPI_PACKAGE = "python_multipart" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-pyyaml \ - 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 18:59:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55731 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 45EFDC0218A for ; Fri, 17 Jan 2025 19:00:22 +0000 (UTC) Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) by mx.groups.io with SMTP id smtpd.web11.2828.1737140418194233007 for ; Fri, 17 Jan 2025 11:00:18 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.42, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f42.google.com with SMTP id ca18e2360f4ac-844df397754so79926339f.2 for ; Fri, 17 Jan 2025 11:00:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737140416; x=1737745216; 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=7ThBbXyphi7TD51IiODKcOx8qRk0rbRjeNI7cnDHNl4=; b=FAANtpWfAXbBh4AizDV78x6bJ0EJsif2tr2GTKtinMsjBBPK0y376d9PVsjsmSFH5w Fv1wusyqC3ivV3H6cP9mId8mnCg+yKr/QYjHzRlC8YM2kMOifV05joV/awyoCR2S8z/8 VZwHlZaXfMRTTiS6HT+4uTknc36fzMlg7q0BNxwvO9O31snxvQV9AVRrhFVTKdvBChKW g9Z1e/n1LTZPfG51fS5VguB3q7IPq+GLIeQ+4knvyoithGlRb6kGWEPh3ulX1ALkcVVM KhTGqvfv+8RGouaM9SIkIQo+a8MokCPcVumR29qsweRgOBplZRaDIuq+1JlPNB6kNWYx MQsw== X-Gm-Message-State: AOJu0YwMxenFOZlxTzRLBjm6+qTwlifNyDohXCYeFLUX7O9dayJdubCI 5BBb3qF7vjZVs29ox+AMCYeMe2uKh1YyLyh4ON3vAIqoa8TvnCHiY7YNuw== X-Gm-Gg: ASbGnct/UQ/fjXiEO6ceXTtVP8vnU43Ib/orLKuNEtzx4EqA9U57XyuZqGldreDN8Ne kq9fbNrldDH26ZUMWohHJ1yaSNDrGYuyADZlhaWglphXa/CSXO1C0ZOcyKrwc2/qIFWyvt9x9Tz JYUmXg6NxUpDBbvP/E26XCLViFZaP+Z1Xue83rxEcLUhpqOtL+KdkRcANSElV9TsmFF+aJXzu6h pSOxJ3ybrLSChGRSJvxQKrb5tKKVXByxUbUWUYGqhFbmaBcRVXcsNM9hhns/TNJtEVaz1JRwk0y 2/A3A0OcNAuPTYpa0XMFwmIOWA== X-Google-Smtp-Source: AGHT+IGxbDHe05y66x2+hbTO+OcXFYmO1+HX2zS4AotFgq8YY3VcrR2TND8JbnQu2d/xgqdfCfDUeA== X-Received: by 2002:a05:6602:3e88:b0:84f:41cb:1895 with SMTP id ca18e2360f4ac-851b616dc39mr343698439f.1.1737140416547; Fri, 17 Jan 2025 11:00:16 -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-4ea75495f5dsm761396173.60.2025.01.17.11.00.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 11:00:15 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 09/10] python3-pytest-localserver: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 18:59:43 +0000 Message-Id: <20250117185944.3434424-9-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117185944.3434424-1-derek@asterius.io> References: <20250117185944.3434424-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 19:00:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114930 Signed-off-by: Derek Straka --- .../python/python3-pytest-localserver/run-ptest | 3 --- .../python/python3-pytest-localserver_0.8.1.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pytest-localserver/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-pytest-localserver/run-ptest b/meta-python/recipes-devtools/python/python3-pytest-localserver/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-pytest-localserver/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb b/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb index 669817829..e9500bd3d 100644 --- a/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb +++ b/meta-python/recipes-devtools/python/python3-pytest-localserver_0.8.1.bb @@ -5,25 +5,14 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=b8da7a541d738b054dcbf70c31530432" DEPENDS += "python3-setuptools-scm-native" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest-python-pytest SRC_URI[sha256sum] = "66569c34fef31a5750b16effd1cd1288a7a90b59155d005e7f916accd3dee4f1" -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-requests \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} += " \ python3-werkzeug \ " From patchwork Fri Jan 17 18:59:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55735 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 53D36C02188 for ; Fri, 17 Jan 2025 19:00:22 +0000 (UTC) Received: from mail-io1-f47.google.com (mail-io1-f47.google.com [209.85.166.47]) by mx.groups.io with SMTP id smtpd.web11.2831.1737140419723602355 for ; Fri, 17 Jan 2025 11:00:19 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.47, mailfrom: straka.derek@gmail.com) Received: by mail-io1-f47.google.com with SMTP id ca18e2360f4ac-84a012f7232so118055039f.0 for ; Fri, 17 Jan 2025 11:00:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737140418; x=1737745218; 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=MtcdeXe54sH6WNgZCrZ8AA5iPFxjF5V1vnWPVV0zsvI=; b=NgFscP1k60DA3CiiqRvrOjgO4Nc0ux1Q2vDGqBNIDh2DhGDPnyWfM1NuXAcbXOYqjk xlF0rnogCwGZ95r95evRqzEsUY3DWINT0ZLwSu4gzMknbYKKa31WkC6qS9+RHgo7wduq xun01AfYAGGpo6G1OCzaA1hd+T4PR+IBdtBJqlYfoqVr3X9D+5Pfw7dMSAJVW5KWbzzP lYOK/n0ReRAKfo6h7/0A1ECCDH223ZNDojocFlHoCyn73kF7ljdYmto/rQ+HiJOMaP24 zAXUJm8DNVUTDC+DthGx9uIDjBDwmQhdKHC8NcrUrx9hfuBqcMCr6sBIsw2rV2NrroAG ADPQ== X-Gm-Message-State: AOJu0YwYAGFgHm8sxna2R77nj2knSK/MYjXxQt5FVDJ0jOdUexnpV4Z8 3GMZaXjGdQYGknrAVvcMS4KSouQuQqMjwntcadmO0jyaHwcylZbh3Dy1wg== X-Gm-Gg: ASbGncveNAY7w7OnqSgHr4rG97L9Mm4n09GdstgK6Djppeya+H139ED6zDrI2sjqB0v IT9F1eG0cP9jZ1y+6wm3iiakmGDz+ymHHVMlpHBv/gkGFo65fBHLXNawEuEGoDUZbxwXoh6odHa jrC/QUH4QAkKHxnbFNJBQu9EQ7d4ev7zSvrpJ9kzwU9eJTv9rniop+VqSrTT5VeAJRb/Fw5rQG6 l36JGDWWiyNE/MfbWC/NPgBNFJBsJwVhxbKBU/LpY6sNL9GgXQkoqOP9qXS9wnSkqbnPI4F+44N DwovMAazHib5+HbLc5ZvotRuqg== X-Google-Smtp-Source: AGHT+IHFKiZD08Ah+HLn3ySmFk1PK7rHMfsgQhGjBsNVDSPmW0Y1VeFkfte8LveX/SYzZjEGsuPd4A== X-Received: by 2002:a92:d48c:0:b0:3cf:6f63:fb51 with SMTP id e9e14a558f8ab-3cf6f63fc78mr50075525ab.10.1737140418022; Fri, 17 Jan 2025 11:00:18 -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-4ea75495f5dsm761396173.60.2025.01.17.11.00.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 17 Jan 2025 11:00:17 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 10/10] python3-pyserial: update recipe to use the ptest-python-pytest class Date: Fri, 17 Jan 2025 18:59:44 +0000 Message-Id: <20250117185944.3434424-10-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250117185944.3434424-1-derek@asterius.io> References: <20250117185944.3434424-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 19:00:22 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114931 Signed-off-by: Derek Straka --- .../python/python3-pyserial/run-ptest | 4 ---- .../python/python3-pyserial_3.5.bb | 17 +++-------------- 2 files changed, 3 insertions(+), 18 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-pyserial/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-pyserial/run-ptest b/meta-python/recipes-devtools/python/python3-pyserial/run-ptest deleted file mode 100644 index b651411db..000000000 --- a/meta-python/recipes-devtools/python/python3-pyserial/run-ptest +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb index ade137a38..93a81568c 100644 --- a/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb +++ b/meta-python/recipes-devtools/python/python3-pyserial_3.5.bb @@ -4,7 +4,9 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=520e45e59fc2cf94aa53850f46b86436" SRC_URI[sha256sum] = "3c77e014170dfffbd816e6ffc205e9842efb10be9f58ec16d3e8675b4925cddb" -inherit pypi setuptools3 ptest +inherit pypi setuptools3 ptest-python-pytest + +PTEST_PYTEST_DIR = "test" do_install:append() { rm -f ${D}${bindir}/pyserial-miniterm @@ -49,16 +51,3 @@ RDEPENDS:${PN} = "\ 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}/test - cp -rf ${S}/test/* ${D}${PTEST_PATH}/test/ -}