From patchwork Fri Jan 10 22:31: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: 55382 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 7A9C4E7719E for ; Fri, 10 Jan 2025 22:32:02 +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.4061.1736548312591472738 for ; Fri, 10 Jan 2025 14:31:52 -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-3a8c7b02d68so15719155ab.3 for ; Fri, 10 Jan 2025 14:31:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736548311; x=1737153111; 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=eixNj4D4w6izAJrB8DSSOFS4hAbVAS3H8xNMKleUnho=; b=F1V+Czrii6SwjLjWY09R2/VDrBfGH/1aeUcy+yNuL5wI7OuWyb4638Dw3WAEBh++nF M+CbPKpl2DiysJJs+7D4XNLW4DLYzDCPv4URoarDXxoP3EIjvWO3vM7Ejf/2BgwjAZKO 62qRJCEbEKOCSq13X0Ny3bk688PGI5MMW2FpGkVoGPZubzzUOkZxo9ZATKU+fwlh22ib GPad/xxWjuJjjzCsQaNJNm/JDpug7eAnJTstcEJvZRDI8uZlmpQQQyX1XWNUltE9Xy6d LKTAPmufOdvHvHt7neS7tm+KB7HGb6taXBkWhCLa4hFkqrPpfDdsWWYr5ERcVwUN3BT+ ZWWg== X-Gm-Message-State: AOJu0YyvTro/y1zRCfgciTXMnlVAmYmaTUGXAB7AD9b3v77iM4jTpL/6 ZI5pBVqPorz03BmtUrcFuYrxA9YYtqOvWHSnAt/BfUxImZHfnYxA/R6aSg== X-Gm-Gg: ASbGncvy5vmsLPDSBaRtuWzkhF0culHJ1cFofZo0X5Pk8yC8ShgNaMkPogIVeQL5a6U qHyfAhgZjGB/PYTr8y/xX4fbYSqnH2X2nllD5wyzx7M5Wbevm2le80eEy32rd/+WajSL9hzyQMa fEA78tHrWIzKU3EnF/OjjUDgokLC8Sxx6NDXPCwNBN2v6qci8DUhGMXS4w5iHLIWi9Y6ImJ70Lu 2SIP4Uq1pDMhyNUfNcEEIMmjoFI6wV2C6x1UsWHNrTBa3jzLU9hWHFpvcDrzo63CohCOMZIILn6 SC8E2sGtDm+/53blKrct3hIk2Q== X-Google-Smtp-Source: AGHT+IHMV0HzKEKXHlBIDYZrMb8rkb5MrCK3LtSqRaX/HmrYl/6GQnElIlYuhCvBsWKVoETnbRXQ0g== X-Received: by 2002:a05:6e02:1d86:b0:3ce:5a89:326e with SMTP id e9e14a558f8ab-3ce5a893465mr25506855ab.13.1736548310965; Fri, 10 Jan 2025 14:31: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-4ea1b614781sm1120035173.44.2025.01.10.14.31.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 14:31:50 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 1/5] python3-soupsieve: update recipe to use the ptest-python-pytest class Date: Fri, 10 Jan 2025 22:31:30 +0000 Message-Id: <20250110223134.4177993-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, 10 Jan 2025 22:32:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114810 Signed-off-by: Derek Straka --- .../python/python3-soupsieve/run-ptest | 3 --- .../recipes-devtools/python/python3-soupsieve_2.6.bb | 12 +----------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-soupsieve/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest b/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-soupsieve/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb b/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb index dc317ea6c..dfcd9f484 100644 --- a/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb +++ b/meta-python/recipes-devtools/python/python3-soupsieve_2.6.bb @@ -6,11 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.md;md5=1bdfa4c8e8b6830bcf8e78cba1669e4d" SRC_URI[sha256sum] = "e2e68417777af359ec65daac1057404a3c8a5455bb8abc36f1a9866ab1a51abb" -inherit pypi python_hatchling python_setuptools_build_meta ptest +inherit pypi python_hatchling python_setuptools_build_meta ptest-python-pytest -SRC_URI += " \ - file://run-ptest \ -" RDEPENDS:${PN} += " \ python3-core \ python3-datetime \ @@ -21,13 +18,6 @@ RDEPENDS:${PN}:append:class-target = " \ RDEPENDS:${PN}-ptest += " \ python3-beautifulsoup4 \ - python3-pytest \ - 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 10 22:31:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55379 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 77A10E7719D for ; Fri, 10 Jan 2025 22:32:02 +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.4063.1736548314071384546 for ; Fri, 10 Jan 2025 14:31:54 -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-844e161a957so187737339f.0 for ; Fri, 10 Jan 2025 14:31:53 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736548312; x=1737153112; 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=2zMQG/hfLYVlR5H81YRXkyWyU//TA8wKzlBxPDbw+6I=; b=QwH7RomV8D0YfSrIz44MHBP9oZ06ReO/KyYz42V/Rq/c4Mpm50KaqkC7zywn81kL4D YWTVYgxXRJQizFs3s9nIKJnm6D3BRloBb6ZIqYHQR2JIJdN1uRoam1323rjucJRd80lK aSwpaGxjFJ669VSbmbPoI1DMYPJlyzIU4Vo8EjwRPGY8I1rI9XMHlEy25kTrxogj+DFA GNSJUN6VA1UAjlkMjMQR3HGsedZz1W+6fKoV+JFzomC9pdcUWBhc/BUhlCmchrBVwMVD 6q+ealRjwUIeEJ4UpgchzqGcOm81+3imlBFCql66sBG5XhaBRtKZ2baE4s1hYn3/3XzC WLUw== X-Gm-Message-State: AOJu0YxIQq8Ui1joEQmnVS5mNk0YtCSfh0cr+8RxlWQS+C7Lgtx2tvGC r0lNJGjnXAeibJ8gOze9doo/GIjwTEoiRlVfQ+sQZFxa71ZIh3SgKcUgZg== X-Gm-Gg: ASbGncsPWiu3LyBaRVYAbqz1RpZkyOvxTD0P1Sbs7CqKBwt3VL5o2KDR8eQXsr5k0GM IeXzCW/euccPBf+Igb+8uTo052cfkzKS7+9h5gK2e5gz2bAcsKKtnRoBnSIPDY8SBcOyk7ht+Dh AiaAZgmj+29Z9IZ3IHAGWkVt7E9EdKeZcyyAvxMr4xDWeEKP51pZ1dBbtyWxVoKCLeXa3ioVyLF C/TNU6dWqgf0uZ1wOQqmusfRbjQrBpZgHlgtNrkRtDt4snndzs+j4QhQmlhskiYYRDhaiRGQDDN LbnJQhU5/M4sivGoWptTxVijEg== X-Google-Smtp-Source: AGHT+IFVGecUlMR/3vEhxdr5v8bUcqvRgI8cAD1Lo8V10+qbdTiEYlv8xbUOEsvgXZmqq+G+1j47tw== X-Received: by 2002:a05:6602:721b:b0:843:ec18:82e2 with SMTP id ca18e2360f4ac-84ce00ef7e8mr1174464239f.8.1736548312412; Fri, 10 Jan 2025 14:31: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-4ea1b614781sm1120035173.44.2025.01.10.14.31.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 14:31:51 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 2/5] python3-simpleeval: update recipe to use the ptest-python-pytest class Date: Fri, 10 Jan 2025 22:31:31 +0000 Message-Id: <20250110223134.4177993-2-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250110223134.4177993-1-derek@asterius.io> References: <20250110223134.4177993-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, 10 Jan 2025 22:32:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114811 Signed-off-by: Derek Straka --- .../python/python3-simpleeval/run-ptest | 3 --- .../python/python3-simpleeval_1.0.3.bb | 11 ++--------- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-simpleeval/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest b/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-simpleeval/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb index 4537645c7..b4dc82bfb 100644 --- a/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb @@ -5,21 +5,14 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=83843c8f0f3beb18af2f282faecbdebe" SRC_URI[sha256sum] = "67bbf246040ac3b57c29cf048657b9cf31d4e7b9d6659684daa08ca8f1e45829" -inherit pypi python_setuptools_build_meta python_hatchling ptest +inherit pypi python_setuptools_build_meta python_hatchling ptest-python-pytest BBCLASSEXTEND = "native nativesdk" -SRC_URI += "file://run-ptest" - RDEPENDS:${PN} += " \ python3-math \ " -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { +do_install_ptest:append() { cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ } From patchwork Fri Jan 10 22:31:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55380 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 87310E7719C for ; Fri, 10 Jan 2025 22:32:02 +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.3970.1736548315616081556 for ; Fri, 10 Jan 2025 14:31:55 -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-3cdce23f3e7so17137545ab.0 for ; Fri, 10 Jan 2025 14:31:55 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736548314; x=1737153114; 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=UUvTxImm//1IDntv88adWGtrpkajfZLdUwIp23avaY8=; b=Q98L+zn7ODPlE4s+0o7lnT57okAIV61UKT4gsSkQ8hIOt/xx9/scl3AEZDhEJs7DjW vsLBY5t2goMljW8woMDKID2UBJ8Ozu4C519yPCwhpscXuCWbOs4c+w6YkZwhEB8ASifs c+Pk7Fi4doOz4/3sYqlrF32WCAVV5qlknsT3/pQPfJk8BOT4R01Z6TClu3ieX8AGzQ3W 8h5LMGXjfAOdckFBDbv/1dEBUZToruK/Ehb1zyBczLqZMK0FCO9EyX5HaksjY8o9IYr2 tysBuwklpZAyuRmMtg+A85lc8LuvtcDU/ak675UDUH11bS7dsGKX9SnGDl0BwEX1K5YK AgPA== X-Gm-Message-State: AOJu0YxmmfwSEgjbxeG0o30xkUmHSDBW4JXo5cCoL19ELMWBnCdUo2kW 5Y0G51SF6XuhGYugSAWcq+rb4HLby+DkJeGZ5x4IffGJaoDdBzMoW9wiWQ== X-Gm-Gg: ASbGncsKaxDe3OFP64O82OXOkDSKVt7Yo2UaElrt4ssqfa4Tt7Evj5fi9YIQEAvaAiw HPC4+dY3+EVZvQ2myFjqHhqOrhcmjHoURO2b1wr6RueuqnUBPgp4nX2vDZR5cSCKh+pkztAnD+e Zsv22GgcBTOl5YjBqucFeI30i8mV5DPj/q1rsNze+D9ekENXfC5qGpQJS+TF6e9Cv6LV+65SSzD hAoJC/63e47CbJ3a/eZrqk3E5IacpB8SJLNCW0bfJUgzwsalIgBtE4ZMSt6+S4K1Dvl/NGRfkI+ j99V1snlOotC/S4wraGf+FQIww== X-Google-Smtp-Source: AGHT+IFHxbR3FCGk4qm7qglyi4bIQEkSeYxOZTaQnaIHzSOyR3O85ZpW9pQx3tMwBerziQJxfZjfNw== X-Received: by 2002:a05:6e02:17c9:b0:3a0:8c5f:90c0 with SMTP id e9e14a558f8ab-3ce3a9c68b2mr95150795ab.10.1736548313882; Fri, 10 Jan 2025 14:31: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-4ea1b614781sm1120035173.44.2025.01.10.14.31.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 14:31:52 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 3/5] python3-smpplib: update recipe to use the ptest-python-pytest class Date: Fri, 10 Jan 2025 22:31:32 +0000 Message-Id: <20250110223134.4177993-3-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250110223134.4177993-1-derek@asterius.io> References: <20250110223134.4177993-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, 10 Jan 2025 22:32:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114812 Signed-off-by: Derek Straka --- .../recipes-devtools/python/python3-smpplib/run-ptest | 3 --- .../recipes-devtools/python/python3-smpplib_2.2.3.bb | 11 ++--------- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-smpplib/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-smpplib/run-ptest b/meta-python/recipes-devtools/python/python3-smpplib/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-smpplib/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb b/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb index 7979f04c5..2fdd2a463 100644 --- a/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb +++ b/meta-python/recipes-devtools/python/python3-smpplib_2.2.3.bb @@ -6,11 +6,7 @@ LIC_FILES_CHKSUM = "file://README.md;md5=8b4e2ac8cf248f7b991784f88b630852" PYPI_PACKAGE = "smpplib" SRC_URI[sha256sum] = "5215a95b0538d26f189600e0982b31da8281f7453cd6e2862c5b21e3e1002331" -inherit pypi setuptools3 ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi setuptools3 ptest-python-pytest RDEPENDS:${PN} += " \ python3-logging \ @@ -20,12 +16,9 @@ RDEPENDS:${PN} += " \ RDEPENDS:${PN}-ptest += " \ python3-mock \ python3-profile \ - python3-pytest \ - python3-unittest \ - python3-unittest-automake-output \ " -do_install_ptest() { +do_install_ptest:append() { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/smpplib/tests/* ${D}${PTEST_PATH}/tests/ } From patchwork Fri Jan 10 22:31:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55381 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 877BEC02181 for ; Fri, 10 Jan 2025 22:32:02 +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.web10.3972.1736548317044032670 for ; Fri, 10 Jan 2025 14:31:57 -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-844d7f81dd1so85789639f.2 for ; Fri, 10 Jan 2025 14:31:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736548315; x=1737153115; 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=ou42qppo9I801/lagapl/tC9YOBdW83wTPWWkxkxtdM=; b=R+o9GDcjINr8hET+OXlwI9pEMzcKhOe1AidV/i3/MmRGf46YqEaHiZ+fE+gM7a1DNy THP3ikl2DY24HF2pwhTlJ4S1oWntZJL4Nq7PvpOQDOlpPor6XAPxGNM5rMrXAbujOdhP xRGpmk5js6tdVlzIf6tNWYqhULb+eTpq2SDWDcIivc1BOnoJnlRPVkiDSquoggOlWinQ WrjluRuPVS2VvxGRRD1386vDKH7i/8WZEiajfWddhV/yGwBsQh+iZpTS/5az7GNMsQTi WW4Kf2RALZAsm1aV35Nrh1x+jpSptR0GJ5KvZn9APkdz1Xv78WzUlWdtgZUOMzELRmnY wStw== X-Gm-Message-State: AOJu0YxipP5gv8iYNp9N02DBdH3CIP6veasK66toS2NDbXx0JNZBXsRu Zq2pL7iOve0vKTSApq+NYFqrS8pT1kyYXoCJmieTON/ZpQUvtc/pwCjWJQ== X-Gm-Gg: ASbGnctuFEHS8+/hVT2VYMJJoGjMwogQSX43t6suP0K2m8lGAdQOIsk+X6aF4w4zXlg EeGRE3dr/OSwZRu5bXxwMYGybtlA3mz+tW4yowSljtuV+hPLCdauLf16PcLjA/hD8BYuxEjPkcA UDwPtDP9hnb3mgJ/vMw4xbk5Fb6eIOmdS1os4RG93Hy/iknL/edCcCWnbeF0L3ATi6n2YV7jFsE S0UYhABcJI9cI7UwSx+1wCSp1flYQy7EQzs1+6R+WcFbfPBMo10/UVEe562nCWX9pIEkJKbcr9f VIuJhXR2mfqH+SgomWdevf8mwg== X-Google-Smtp-Source: AGHT+IH0t/kNiPyVABsLWbEweEBVDU8BOHezPX065l3lqw5GjvXg5e8xXiXQfW2jDgHO/a/zQ7WN2Q== X-Received: by 2002:a05:6e02:3f09:b0:3ce:473d:9cb6 with SMTP id e9e14a558f8ab-3ce473d9f96mr67871005ab.4.1736548315439; Fri, 10 Jan 2025 14:31:55 -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-4ea1b614781sm1120035173.44.2025.01.10.14.31.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 14:31:54 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 4/5] python3-service-identity: update recipe to use the ptest-python-pytest class Date: Fri, 10 Jan 2025 22:31:33 +0000 Message-Id: <20250110223134.4177993-4-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250110223134.4177993-1-derek@asterius.io> References: <20250110223134.4177993-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, 10 Jan 2025 22:32:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114813 Signed-off-by: Derek Straka --- .../python/python3-service-identity/run-ptest | 3 --- .../python/python3-service-identity_24.2.0.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-service-identity/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-service-identity/run-ptest b/meta-python/recipes-devtools/python/python3-service-identity/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-service-identity/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb b/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb index 12dae861d..bbd6ab80d 100644 --- a/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-service-identity_24.2.0.bb @@ -6,15 +6,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=76edce6a3fa1b82b0bf2b6ce174c19e2" SRC_URI[sha256sum] = "b8683ba13f0d39c6cd5d625d2c5f65421d6d707b013b375c355751557cbe8e09" -inherit pypi python_hatchling ptest +inherit pypi python_hatchling ptest-python-pytest PYPI_PACKAGE = "service_identity" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -SRC_URI += " \ - file://run-ptest \ -" - DEPENDS += "python3-hatch-vcs-native python3-hatch-fancy-pypi-readme-native" RDEPENDS:${PN} += " \ @@ -25,13 +21,6 @@ RDEPENDS:${PN} += " \ RDEPENDS:${PN}-ptest += " \ python3-attrs \ - python3-pytest \ python3-six \ - python3-unittest-automake-output \ python3-pyopenssl \ " - -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} From patchwork Fri Jan 10 22:31:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Derek Straka X-Patchwork-Id: 55378 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 75884E77188 for ; Fri, 10 Jan 2025 22:32:02 +0000 (UTC) Received: from mail-il1-f177.google.com (mail-il1-f177.google.com [209.85.166.177]) by mx.groups.io with SMTP id smtpd.web10.3973.1736548317966236276 for ; Fri, 10 Jan 2025 14:31:58 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: gmail.com, ip: 209.85.166.177, mailfrom: straka.derek@gmail.com) Received: by mail-il1-f177.google.com with SMTP id e9e14a558f8ab-3a813899384so7758245ab.1 for ; Fri, 10 Jan 2025 14:31:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736548317; x=1737153117; 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=XjU39n6k64lE2Zlw1MfvMCMaHuVZyoKntZEht+kjq+Q=; b=ux7h+R6Gr8lR2vgToV62J2YoWFnvl8gOMwVtfDPghfAG2nG/v6YOAOjHGlIQR/Bdv1 18yhL0oGzKl/PCw+Jm2cUxhPIl0hXU7XtFbfL7s1DASLPkeEyCGzPf48esGAtiIxbWQ1 hg7n92cd7IGgDlIcKmTPXvZPvjgUPpg9CpMDI8k0halNIst+78Gxco/JM9UfRq2j7UuE tzekdIKj9Bta4lTcGRZj+G4I3xUS2E8xgFG6VazbvT2mtnyK2eOCO7+HFMwmLn4KMdJv GkbQc8Gkl8PDblxstA0gce9zmbV82UQZBHSTzPMrUQaoP2iGAkbn0K9EhEr/Z63PkHgS dfkw== X-Gm-Message-State: AOJu0YzMu2939XrewFoFpbEVuTa9bzq1nVVmV2wdH8oVhvdMn3mD0fu3 PdfHwc5nPRT7k0oURkfgd9qT9HiHGS5d1hIjZWocqs8iLgkfp8skd0iazQ== X-Gm-Gg: ASbGncsErzLUKcNMoLJZdLKyeyTlbMA1c5L7vhY2fMsjWBnYtSLXeiTeQL6EYtUKdAl yGgy7gBDcSvO5JVF/rJ5Ra4xRD5etgz8U3JmwsbiP3sYc7/7+H19ePdmYlvMbeQhOMYDKjkBMJa TfNUiyaOUK+vpn0f4nqcIbLx2XOzKFD6nQWUsVGp1ETTo/qsOqXci2cGODifJ89JnR8hTyng6RO 7EfRDzBOK3azXbS/LsUfFu8IzDW20CqGvaByksTOHdwW+LAg4+CHvkshKnkB90qZ5MUdDLWYZCL VcZBPSmCQLxkYi8uLT9hQWLbTw== X-Google-Smtp-Source: AGHT+IF0RzvLH/+K2JhZvnBGTdaJgqNlAI2HVqXaYF0IwB8lQAjwW8IcwjbgkURaJ9t0rvbzCHWpTQ== X-Received: by 2002:a05:6e02:1547:b0:3cd:b013:5c12 with SMTP id e9e14a558f8ab-3ce3a9d40b5mr98317025ab.20.1736548316845; Fri, 10 Jan 2025 14:31:56 -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-4ea1b614781sm1120035173.44.2025.01.10.14.31.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 14:31:55 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 5/5] python3-serpent: update recipe to use the ptest-python-pytest class Date: Fri, 10 Jan 2025 22:31:34 +0000 Message-Id: <20250110223134.4177993-5-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250110223134.4177993-1-derek@asterius.io> References: <20250110223134.4177993-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, 10 Jan 2025 22:32:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114814 Signed-off-by: Derek Straka --- .../python/python3-serpent/run-ptest | 3 --- .../recipes-devtools/python/python3-serpent_1.41.bb | 12 +----------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-serpent/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-serpent/run-ptest b/meta-python/recipes-devtools/python/python3-serpent/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-serpent/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-serpent_1.41.bb b/meta-python/recipes-devtools/python/python3-serpent_1.41.bb index 9265081fd..f6c7b5443 100644 --- a/meta-python/recipes-devtools/python/python3-serpent_1.41.bb +++ b/meta-python/recipes-devtools/python/python3-serpent_1.41.bb @@ -4,25 +4,15 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=d7c28f460fafe7be454fcdcac0b60263" SRC_URI[sha256sum] = "0407035fe3c6644387d48cff1467d5aa9feff814d07372b78677ed0ee3ed7095" -inherit pypi ptest setuptools3 +inherit pypi ptest-python-pytest setuptools3 -SRC_URI += " \ - file://run-ptest \ -" # python3-misc for timeit.py RDEPENDS:${PN}-ptest += " \ python3-attrs \ python3-misc \ - python3-pytest \ python3-pytz \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - RDEPENDS:${PN} += "\ python3-netclient \ python3-numbers \