From patchwork Fri Jan 10 20:57: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: 55373 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 0D26AE7719E for ; Fri, 10 Jan 2025 20:57: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.1815.1736542665467042127 for ; Fri, 10 Jan 2025 12:57:45 -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-844e12f702dso76082339f.3 for ; Fri, 10 Jan 2025 12:57:45 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736542664; x=1737147464; 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=bhZO/B527WN5WyArGhZ5FKuWVfW108cGHDcAFiMzll8=; b=GiNw+9leXrv+ztR4+Vvbr1rpmFFT2/bjHbPT/HbCfeJnq7p+p+v6nUDJPREBXDL3ek Hh3537hidYcRUyIdDw5+qXlD5CYUdo2w/9FoMSFp6P04bXKMOyPwArv9A+S7Qf7nDIZ/ zkhDc5xh8TvUikjGqEVlWvK+Jconfc4l3x9qwI76OmhnXBPxqy7XMSyynd6aLQOtzhNc sVqUZN9PPqgJLrHEyEsp8Bh0JspdfSp3RPG6VYEyDAGiLjC8StsB8ToPaFsTQcd+uvs+ YDzzbJQ3fsdko1Poupodl1B3sG2ABcix3h2L8KeMgXqXiDvah1KChpyAwjf8EZA+8cMj bHmg== X-Gm-Message-State: AOJu0YxqeGBkb4G1pnxKxX7LEYtB/JYVxjx1gqMsD2Ll8V98+B/i4Uxf Q4Op4C7REaclPf1KG48EfJ6L62QeBWjNN+tZ50SEGxpk0idVK5Q7YDFF6A== X-Gm-Gg: ASbGnctAx2aCi4O9OH0dHjD/REqNK4bHaFAoAtCr8D/h5cJg2r1X1NEkRJZVhs+aBjP p8QFkvNIofUsEr0PNRMHl5uJC3qWoZ0rWcVfDtgx5HpOnEzPIRvyC/uRBpwpWcgr21aqPTYqFUX 0YmN6KDLxfNmOQklkY61kNOirwQ3/4sGW3vhctSQGwxtvgLxO9hucS7CQ8m9Z1OT1kiTuzzl0it rf7rMu/KqgOyj0xwi9KqBbN+TJ3iLt2+vJrx90yvzIRlaSJaZAiDAI/F36ubo1evxnpkLhDOzDv Lt+jXLeMB9wO1SkCSMMn7hm10g== X-Google-Smtp-Source: AGHT+IHDMJgOTkyTIdRkpemcIHr4uxJ3KIn70qdiTvZ0WLg0sYp/i4GIR57pWgB+SSwiQf7+jJCS7g== X-Received: by 2002:a05:6602:3a03:b0:835:4278:f130 with SMTP id ca18e2360f4ac-84ce0229e5fmr1063093239f.13.1736542664288; Fri, 10 Jan 2025 12:57:44 -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 ca18e2360f4ac-84d4faee16bsm106960939f.4.2025.01.10.12.57.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 12:57:42 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 1/3] python3-tomlkit: update recipe to use the ptest-python-pytest class Date: Fri, 10 Jan 2025 20:57:27 +0000 Message-Id: <20250110205729.4088028-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 20:57:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114805 Signed-off-by: Derek Straka --- .../python/python3-tomlkit/run-ptest | 3 --- .../python/python3-tomlkit_0.13.2.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-tomlkit/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest b/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-tomlkit/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb b/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb index 9fca14540..8eeb9d760 100644 --- a/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb +++ b/meta-python/recipes-devtools/python/python3-tomlkit_0.13.2.bb @@ -5,11 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82" SRC_URI[sha256sum] = "fff5fe59a87295b278abd31bec92c15d9bc4a06885ab12bcea52c71119392e79" -inherit pypi python_poetry_core ptest - -SRC_URI += " \ - file://run-ptest \ -" +inherit pypi python_poetry_core ptest-python-pytest RDEPENDS:${PN} += " \ python3-datetime \ @@ -19,14 +15,7 @@ RDEPENDS:${PN} += " \ RDEPENDS:${PN}-ptest += " \ python3-poetry-core \ - 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/ -} - BBCLASSEXTEND = "native nativesdk" From patchwork Fri Jan 10 20:57: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: 55374 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 0B4EDE77188 for ; Fri, 10 Jan 2025 20:57: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.1817.1736542668283461330 for ; Fri, 10 Jan 2025 12:57:48 -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-844d5444b3dso82750839f.1 for ; Fri, 10 Jan 2025 12:57:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736542667; x=1737147467; 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=VmGoKbbGM+BZbgBbMINOnwpWInxFEIeRzU9rW/uibrY=; b=vWgWcXgC294uFvqMkR+31DFiF6wL8tmw/af+RfsxBjBP18FZ4IQWR/vCJ4q521F9mh yZiRy/rkLYUAk0ncPlXdgmxAfcc0o63i4u2PSnTY+z2nxsf/JJ2rOTdK+UbZB55rcSOI C/vWvNAWxhD+et1nPWSihZmtDVYBnGUmsdHXok0BL+PCNtk4q7wVrL642OdWW6azj8cF guQkoOnx5OOz/94wOddI4g147stSMDnkHyMYGZinDONmRCPY3qSIa3mXTn2Y6UxIMX+c sZs3UkQWuv7GOIr7voMuWMVWgAn8AQostIO1mpmUgWg9g1K9iJ7v7P9ETks2z1yikCpG q+Ew== X-Gm-Message-State: AOJu0Yxo1m2dhIODH62JBlLzZjew7g0K+Ci9BubW8JMSSa7mAOVKaRXu lD4KpGJEW8jJUb3oTOcr0m0IyfxQfD4vwZ3jmi2Py2tbTGXbTXTSWxiSMQ== X-Gm-Gg: ASbGncvobqB2SXFM0t1vv8H4sAnpZVKdq82vNcW77e+NWDGz5PnFozDfSTAQfA3degs SYb0MGVbduRi2b/1p+2ff2/hrAfVaXdUtQkpCKimAjN/Pkd6c7ikx9bdRjlflS2VXeADtdfludG ZzXbKYmf+fKkQk+UupJZsZQQ6rRF7ckAu7BQ2inirC6ALDJYk2yqDgGVrHVAXMLkb9y6tD5JFqH QxLXffyi3NmfCcos4Mf/zl+Zge3nfgalDwRmHFa31jPhzWXc9xjAiP4ZbUWY6sKqTV7jhf5H2wt J9bBoBPfpQdvMKLJ6CDMdmKFpg== X-Google-Smtp-Source: AGHT+IGG0gUNxy3UsW9/H++76sS6BnayaOLS+ejjD9obGxFfToGd/yZVUAK8sKgD9GoXJ7e8Aw5niw== X-Received: by 2002:a05:6602:3a87:b0:84a:5ded:b7c6 with SMTP id ca18e2360f4ac-84cebef565emr650120939f.5.1736542667034; Fri, 10 Jan 2025 12:57: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 ca18e2360f4ac-84d4faee16bsm106960939f.4.2025.01.10.12.57.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 12:57:45 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 2/3] python3-tomli-w: update recipe to use the ptest-python-pytest class Date: Fri, 10 Jan 2025 20:57:28 +0000 Message-Id: <20250110205729.4088028-2-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250110205729.4088028-1-derek@asterius.io> References: <20250110205729.4088028-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 20:57:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114806 Signed-off-by: Derek Straka --- .../python/python3-tomli-w/run-ptest | 3 --- .../recipes-devtools/python/python3-tomli-w_1.1.0.bb | 12 ++---------- 2 files changed, 2 insertions(+), 13 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-tomli-w/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest b/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-tomli-w/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb b/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb index dded2cbf4..94ea20049 100644 --- a/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb +++ b/meta-python/recipes-devtools/python/python3-tomli-w_1.1.0.bb @@ -6,24 +6,16 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=aaaaf0879d17df0110d1aa8c8c9f46f5" SRCREV = "179105660c367874818f2cdd1e06ed98eea668f1" PYPI_SRC_URI = "git://github.com/hukkin/tomli-w.git;protocol=https;branch=master" -inherit pypi python_flit_core ptest +inherit pypi python_flit_core ptest-python-pytest S = "${WORKDIR}/git" -SRC_URI += " \ - file://run-ptest \ -" - RDEPENDS:${PN}-ptest += " \ - python3-pytest \ python3-tomli \ - python3-unittest-automake-output \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests +do_install_ptest:append() { install -d ${D}${PTEST_PATH}/benchmark - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ cp -rf ${S}/benchmark/* ${D}${PTEST_PATH}/benchmark/ } From patchwork Fri Jan 10 20:57: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: 55375 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 0C241E7719D for ; Fri, 10 Jan 2025 20:57:52 +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.1819.1736542670326102950 for ; Fri, 10 Jan 2025 12:57:50 -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-844e7409f8aso78801739f.1 for ; Fri, 10 Jan 2025 12:57:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736542669; x=1737147469; 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=uAITKZ9ucfYGa01OW9LtaTX3WrQpq86qrfYh66/rHFg=; b=YXe1JP/EffT9uneGDY2WvjD1WSN4uySo/vuHIFCcPeSR5qBaZgkEOfbnzT7it5Xd5g z8mB0MeF+aq88O6oSDQI/LlbpmgTXSbUWC3zv1PK1UvoD4Kn45MwPaolK/juB4gUNr9N RuB4xeKLNdtB48kgXara/bq52WJK/JTEiwtYkADzkBm3U3dblorbZIWarjh4sGpLswn8 BoCElHHKzS/kJVCtWdlr2U7OLg8nx1Fbc7etXdE2Zx04z5aT4bkrZW/6wcRncVMtrJUY vLEw0ZNykhTNXCAGYPzAkDNW/k29In+RdQWn8DfqrCyCbXWH39ylsXY7ApXRL/Kz2FK7 wsxA== X-Gm-Message-State: AOJu0Yz6LjaevmH2XMi/lUfEUvif0X+P/EGBz8ODXY6K7f/RMCavrC6i lyNnIG+dJ/V0B3E6182l2ZgigkXJkcdbbgXBy7p/PPiiKVz2IZFFB8H8pg== X-Gm-Gg: ASbGncsMAv4s+XxJBL3X+VyVrNFEWTtaatBcFoB6cbjO9AgyYOQT8cFo9ma2FhIMQTz Fg7ApJ1eVbYAnfqJIxTlEaWqttiNXtCHAeB2NfdDEUrRbbFc7Xw8WtOxl921SQJK8MD6JmW+1mC palrd+YpOx3Vj3MYDPsAu7TbUZZvK2TNfc9ce20lc51u+R5V/QVtEF60gp2d9+imNUkFOAdv/u6 rfSmect96Uw8hsIZNECrGMx9VhgYj7T6+3XghtjyrEMan7569RFXAKFeE6wV77uDFy7YNRo09Cz TuviYbXpgbSDBSVY6jLcpGKoDw== X-Google-Smtp-Source: AGHT+IHpGuaWhJsYK9EJgQHk81KuaPVPuhPNwFTLgeW+Pi34hXcLkEg6yZr9R0X2myBEZWh2QGcKZQ== X-Received: by 2002:a05:6602:4805:b0:841:9516:4e2e with SMTP id ca18e2360f4ac-84ce01e91bcmr1069089439f.11.1736542669153; Fri, 10 Jan 2025 12:57: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 ca18e2360f4ac-84d4faee16bsm106960939f.4.2025.01.10.12.57.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Jan 2025 12:57:48 -0800 (PST) From: Derek Straka To: openembedded-devel@lists.openembedded.org Cc: Derek Straka Subject: [oe][meta-python][PATCH 3/3] python3-sqlparse: update recipe to use the ptest-python-pytest class Date: Fri, 10 Jan 2025 20:57:29 +0000 Message-Id: <20250110205729.4088028-3-derek@asterius.io> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250110205729.4088028-1-derek@asterius.io> References: <20250110205729.4088028-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 20:57:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114807 Signed-off-by: Derek Straka --- .../python/python3-sqlparse/run-ptest | 3 --- .../python/python3-sqlparse_0.5.3.bb | 13 +------------ 2 files changed, 1 insertion(+), 15 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-sqlparse/run-ptest diff --git a/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest b/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest deleted file mode 100644 index 8d2017d39..000000000 --- a/meta-python/recipes-devtools/python/python3-sqlparse/run-ptest +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -pytest --automake diff --git a/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb b/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb index 588568c6a..0282c1848 100644 --- a/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb +++ b/meta-python/recipes-devtools/python/python3-sqlparse_0.5.3.bb @@ -4,27 +4,16 @@ SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=2b136f573f5386001ea3b7b9016222fc" -SRC_URI:append = " \ - file://run-ptest \ -" - SRC_URI[sha256sum] = "09f67787f56a0b16ecdbde1bfc7f5d9c3371ca683cfeaa8e6ff60b4807ec9272" export BUILD_SYS export HOST_SYS -inherit pypi ptest python_hatchling +inherit pypi ptest-python-pytest python_hatchling RDEPENDS:${PN}-ptest += "\ python3-mypy \ - python3-pytest \ - python3-unittest-automake-output \ python3-unixadmin \ " -do_install_ptest() { - install -d ${D}${PTEST_PATH}/tests - cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ -} - BBCLASSEXTEND = "native nativesdk"