From patchwork Wed May 17 20:14:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 24117 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 ED1E9C77B75 for ; Wed, 17 May 2023 20:15:01 +0000 (UTC) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) by mx.groups.io with SMTP id smtpd.web11.61666.1684354499366264608 for ; Wed, 17 May 2023 13:14:59 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=QJRF5pes; spf=pass (domain: baylibre.com, ip: 209.85.160.179, mailfrom: tgamblin@baylibre.com) Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-3f42b4da6e5so6484751cf.2 for ; Wed, 17 May 2023 13:14:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1684354498; x=1686946498; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=HQe6UiJQlP+zrI6Wq2SjmGQs18jetBcZpn27vQXciU4=; b=QJRF5pesnPPtyOah9XGHTErf0+TlY2D2IpLx/x7YtcFbtnnJ7qEtUafc/cnPvkU+r4 WUiTsBRtMB0M0uZ61s0yYvnKVALWVUL3jmY0mTZ5KYuFvHBoevMEEOTGmB78+zRDaCHI W3Hbez6d6+BTg/q5iEcSrUBQONGycvqpd8w546I5LYuh4WH1Fh15q1coekH5UVXmlAci WYCMyO3y3ZWr7IfrBd3YRYQq0ffEEc4RLoxV6jMggLgipHuQv/sqS+GhajGFR0Kc4TRN wmiblosLnMGfmRdJQumdGS+se9maWB4W84zISnp+n+Fz0snMM+icKYjyrizo46hXCK0n EqnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684354498; x=1686946498; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=HQe6UiJQlP+zrI6Wq2SjmGQs18jetBcZpn27vQXciU4=; b=VegDg/cuYIPbBpbjIsb/MXa8/+Z2dCzWBZwKzLjpLajeTwQSmMFozuiyK1BH4td24H z6cohzCb5F6552HwWfVEA7WWmvhK5UcQWIQwAE+WA4dBIQNssV2vsYyRW7/JMyMIoZZy cfGa5bvqT8ohF7U53hrjrL7+6TUV1Zv/ZiI3lPxij9VzVPgrzQv42oFAJtGmdKz2brZL WW0Ku2nSg/aTVrR10sXJ8sNCFE0wcuGWw5CuANMP3LyNaDq2PgJpD0PFYHBRDwCOOHiL f8rD2ZHl9hQ6IDoLWFappiRfwg1DrGeS1Hi589/TmjYIXIrZL+cD9nncZpJq7k9ATFvI 4H0Q== X-Gm-Message-State: AC+VfDzhoNjs1zuD0te73xhNfIzS9StbA8WPzi9P6HeF7PPtZToZoNVL Gtcsi01E8ll/YACdkKSUkRu8rc4b0dtXQNhSZJYC2A== X-Google-Smtp-Source: ACHHUZ6mEmMYBc0vSV5fnX42GrdhrgbouPELxOLpISH5JqFmEk5JMNzuh1s42EV3gsDBxPWWoqOsNQ== X-Received: by 2002:ac8:7d4f:0:b0:3ef:5847:d7c8 with SMTP id h15-20020ac87d4f000000b003ef5847d7c8mr1781904qtb.44.1684354497875; Wed, 17 May 2023 13:14:57 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id z10-20020a05620a100a00b007592547a822sm868084qkj.80.2023.05.17.13.14.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 13:14:57 -0700 (PDT) From: Trevor Gamblin To: yocto@lists.yoctoproject.org Subject: [PATCH 01/11] python3-astroid: upgrade 1.5.3 -> 2.15.4 Date: Wed, 17 May 2023 16:14:46 -0400 Message-Id: <20230517201456.1608917-2-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230517201456.1608917-1-tgamblin@baylibre.com> References: <20230517201456.1608917-1-tgamblin@baylibre.com> 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 ; Wed, 17 May 2023 20:15:01 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60048 Copy the recipe from meta-python to handle the upgrade, so that patchtest can build it without needing that layer. Signed-off-by: Trevor Gamblin --- .../python/python3-astroid_1.5.3.bb | 20 ----------- .../python/python3-astroid_2.15.4.bb | 35 +++++++++++++++++++ 2 files changed, 35 insertions(+), 20 deletions(-) delete mode 100644 meta-patchtest/recipes-devtools/python/python3-astroid_1.5.3.bb create mode 100644 meta-patchtest/recipes-devtools/python/python3-astroid_2.15.4.bb diff --git a/meta-patchtest/recipes-devtools/python/python3-astroid_1.5.3.bb b/meta-patchtest/recipes-devtools/python/python3-astroid_1.5.3.bb deleted file mode 100644 index 104038a..0000000 --- a/meta-patchtest/recipes-devtools/python/python3-astroid_1.5.3.bb +++ /dev/null @@ -1,20 +0,0 @@ -SUMMARY = "An abstract syntax tree for Python with inference support." -HOMEPAGE = "https://pypi.python.org/pypi/astroid" -SECTION = "devel/python" -LICENSE = "LGPL" -LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" - -SRC_URI[md5sum] = "6f65e4ea8290ec032320460905afb828" -SRC_URI[sha256sum] = "492c2a2044adbf6a84a671b7522e9295ad2f6a7c781b899014308db25312dd35" - -inherit pypi setuptools3 - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-distutils \ - ${PYTHON_PN}-lazy-object-proxy \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-subprocess \ - ${PYTHON_PN}-wrapt \ - ${PYTHON_PN}-re \ - ${PYTHON_PN}-setuptools \ -" diff --git a/meta-patchtest/recipes-devtools/python/python3-astroid_2.15.4.bb b/meta-patchtest/recipes-devtools/python/python3-astroid_2.15.4.bb new file mode 100644 index 0000000..6053728 --- /dev/null +++ b/meta-patchtest/recipes-devtools/python/python3-astroid_2.15.4.bb @@ -0,0 +1,35 @@ +SUMMARY = "An abstract syntax tree for Python with inference support." +HOMEPAGE = "https://pypi.python.org/pypi/astroid" +SECTION = "devel/python" +LICENSE = "LGPL-2.1-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a70cf540abf41acb644ac3b621b2fad1" + +SRC_URI[sha256sum] = "c81e1c7fbac615037744d067a9bb5f9aeb655edf59b63ee8b59585475d6f80d8" + +inherit pypi python_setuptools_build_meta + +DEPENDS += "\ + ${PYTHON_PN}-pytest-runner-native \ + ${PYTHON_PN}-wheel-native \ +" + +PACKAGES =+ "${PN}-tests" + +FILES:${PN}-tests += " \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/test* \ + ${PYTHON_SITEPACKAGES_DIR}/astroid/__pycache__/test* \ +" + +RDEPENDS:${PN}:class-target += "\ + ${PYTHON_PN}-distutils \ + ${PYTHON_PN}-lazy-object-proxy \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-wrapt \ + ${PYTHON_PN}-setuptools \ +" + +RDEPENDS:${PN}-tests:class-target += "\ + ${PYTHON_PN}-unittest \ + ${PYTHON_PN}-xml \ +" From patchwork Wed May 17 20:14:47 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 24118 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 EEF93C7EE23 for ; Wed, 17 May 2023 20:15:01 +0000 (UTC) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by mx.groups.io with SMTP id smtpd.web11.61667.1684354499472815702 for ; Wed, 17 May 2023 13:14:59 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=ayyRiLuj; spf=pass (domain: baylibre.com, ip: 209.85.222.182, mailfrom: tgamblin@baylibre.com) Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-7590aa05af6so137729185a.0 for ; Wed, 17 May 2023 13:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1684354498; x=1686946498; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=C1xIV1g99gcntQFhAAYt5qBk3WJikcFvpqqiLUj7z5Y=; b=ayyRiLujP97+A8wjI/V9wiv2itSm+I6/nOuiB8LJvYH47GeXPU7/mBFozptRZk/rdG s62FvycsgiblpI54S9IaDdHr9c6kI9Lqtyspd+xAbohmpnPhNSoqM+QkQRFyMP+9d4Lu 6avAaDyYP8xq57dP6FLpEx2cyFcr3DWveq6H5XmA4xgtUSgzdJE6LBcZhoyqWYUjg9Tm R26s0x3A8JudnOMAfX491CJ1EvE34fGGWKgtPG8fVQWHM15ube+uHnaAXc/LMX9C0Ns1 gaWELDk68m/g2GI8veLgJPv/O7MjTa9Nfhg+okUtUEvjraBBfQQ3fleKZblMibl5YJu+ qzuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684354498; x=1686946498; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=C1xIV1g99gcntQFhAAYt5qBk3WJikcFvpqqiLUj7z5Y=; b=j2boFE6BJaukyxg4to6CIf61uITKjIY9GkfA8Qhk6mvnwX4LinVDqkRe0T9FhqIKqP fLFYEl3EBLHuTCliLtmWHW3EEOzpJWmR1sibD2o7vKLTDMq0/2yVKony6u5pVQVUEkS8 x5n3ehNClwP0n0RWv8vsaon4pFSaX17eeUY0+iGzAnu22hxFm3hguYUXJS+HYRgoAcWo NbrQMwuIRsLTbMhMMeXmdxNqXUQubE4oTHxxVTKfNwMMm0Fy1bbAeLMNroRinxobH8N0 lIY8m7O7jocEcRP77dlwPbSYqiiF3bE1+4gFZNC1jrqtTNe6fsN9AduCBx2HnkzJHwSD Rknw== X-Gm-Message-State: AC+VfDzyYMxM78Tbe8Uac7jq/+j/FtiYzk0D2BwE68jUKX24SQOsdElm bwb08IcpixFOQW0E0Aw4tz16X2by5jQs07czdwxDbQ== X-Google-Smtp-Source: ACHHUZ7cKBeBK7KMnt3eWm5E08+726siW5sCd77i8ElmGBQjMoN77QGq2B9qDuavhCXMwc+J1Q3Mjg== X-Received: by 2002:ac8:5d86:0:b0:3f3:8ee7:483 with SMTP id d6-20020ac85d86000000b003f38ee70483mr1588472qtx.53.1684354498372; Wed, 17 May 2023 13:14:58 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id z10-20020a05620a100a00b007592547a822sm868084qkj.80.2023.05.17.13.14.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 13:14:58 -0700 (PDT) From: Trevor Gamblin To: yocto@lists.yoctoproject.org Subject: [PATCH 02/11] python3-isort: upgrade 4.2.15 -> 5.12.0 Date: Wed, 17 May 2023 16:14:47 -0400 Message-Id: <20230517201456.1608917-3-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230517201456.1608917-1-tgamblin@baylibre.com> References: <20230517201456.1608917-1-tgamblin@baylibre.com> 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 ; Wed, 17 May 2023 20:15:01 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60049 Copy the recipe from meta-python to handle the upgrade, so that patchtest can build it without requiring the layer. Signed-off-by: Trevor Gamblin --- .../python/python3-isort_4.2.15.bb | 10 ---------- .../python/python3-isort_5.12.0.bb | 20 +++++++++++++++++++ 2 files changed, 20 insertions(+), 10 deletions(-) delete mode 100644 meta-patchtest/recipes-devtools/python/python3-isort_4.2.15.bb create mode 100644 meta-patchtest/recipes-devtools/python/python3-isort_5.12.0.bb diff --git a/meta-patchtest/recipes-devtools/python/python3-isort_4.2.15.bb b/meta-patchtest/recipes-devtools/python/python3-isort_4.2.15.bb deleted file mode 100644 index fc98e7c..0000000 --- a/meta-patchtest/recipes-devtools/python/python3-isort_4.2.15.bb +++ /dev/null @@ -1,10 +0,0 @@ -SUMMARY = "A Python utility / library to sort Python imports." -HOMEPAGE = "https://pypi.python.org/pypi/isort" -LICENSE = "MIT" -SECTION = "devel/python" -LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=8227180126797a0148f94f483f3e1489" - -SRC_URI[md5sum] = "34915a2ce60e6fe3dbcbf5982deef9b4" -SRC_URI[sha256sum] = "79f46172d3a4e2e53e7016e663cc7a8b538bec525c36675fcfd2767df30b3983" - -inherit pypi setuptools3 diff --git a/meta-patchtest/recipes-devtools/python/python3-isort_5.12.0.bb b/meta-patchtest/recipes-devtools/python/python3-isort_5.12.0.bb new file mode 100644 index 0000000..6d7b20f --- /dev/null +++ b/meta-patchtest/recipes-devtools/python/python3-isort_5.12.0.bb @@ -0,0 +1,20 @@ +SUMMARY = "A Python utility / library to sort Python imports." +HOMEPAGE = "https://pypi.python.org/pypi/isort" +LICENSE = "MIT" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=8227180126797a0148f94f483f3e1489" + +SRC_URI[sha256sum] = "8bef7dde241278824a6d83f44a544709b065191b95b6e50894bdc722fcba0504" + +inherit pypi python_poetry_core + +RDEPENDS:${PN} += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-profile \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-pprint \ + ${PYTHON_PN}-difflib \ +" + +BBCLASSEXTEND = "native nativesdk" From patchwork Wed May 17 20:14:48 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 24119 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 12582C7EE2A for ; Wed, 17 May 2023 20:15:02 +0000 (UTC) Received: from mail-qk1-f181.google.com (mail-qk1-f181.google.com [209.85.222.181]) by mx.groups.io with SMTP id smtpd.web11.61668.1684354499919533780 for ; Wed, 17 May 2023 13:15:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=p7+ueWNH; spf=pass (domain: baylibre.com, ip: 209.85.222.181, mailfrom: tgamblin@baylibre.com) Received: by mail-qk1-f181.google.com with SMTP id af79cd13be357-75795493bceso75703085a.3 for ; Wed, 17 May 2023 13:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1684354499; x=1686946499; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=sqhom4dc4Q+xIa2MqqsR76v3WNmNOx92lxjZjEC7U3U=; b=p7+ueWNH0OwAFivRJPI38fBDwjNWNKkui/zsV34TYh/+Cx0c6CSlLeKPqxshKkXEMm C6dM9OkKJzEh8ohikLjDYtej5vujvG94wtb5tN4omNaz72xgrWhTI+RrSQ6SgqHz00ZA NKSdRXTp0BzCdvgcX+JGUAxi1Ly8izkunaO/hnXVA/xMQnlym0BIJBmpabWDRNukECNC /dyFlYTeP1pDumwa3iPPpSpY6myVyRtMEtHsy8pdsSSq/1XoOKSMIN9j7NZRquw7vt3w H9jB2PzNod48U5pJRyuJC2TCmp7ERmGMwbs3Csk+a23AguEnNl/LFhql2cMNP7CZvQMf Q5tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684354499; x=1686946499; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sqhom4dc4Q+xIa2MqqsR76v3WNmNOx92lxjZjEC7U3U=; b=F8dFO7ScDfvU6l6nbiG6R0k7KizRQZzt9YSye8e5gli3UQYhv3+j/0+uKtqM1uGi6L uoQmFt5GCAgoa6yVWwAUVNI1sdgbGR0dgww1j9jxe1XZ5r1h3ytgC4x6Wr3xLiFDb5iy FB/gvporzLftBbtR5z0KK7pVguHSQ+raajTvdu2VzwMYZ3WYZKOOjNh742TkRwhhGsa0 9P8ZuEavkRSl3yQ+Q0NEGGvhGlvq3JNwDNUeBaP73JeneIQ121YV6tD6Rx38devUOAPD hnaNgI6gjl0jnvSbJMXNtQ1gsQzSEup0bUDFAh379zZwsgAQUgsgQJ3WKGX2s6PSyOLF rkUw== X-Gm-Message-State: AC+VfDzTDutgQGNu7XrHasGvRnlr2THliWtq/xpHVfIJEy8t4D9sBEOY SlZTN2hYlHsk/7XCHephxa60W82APqIlw3GN8aw+RQ== X-Google-Smtp-Source: ACHHUZ4O9XsS9qz/+cxoKGC1bG4ZNTJgN5pAPYxzHAI+SLgylbL0iKwK4u8rb4HKYrHnZgwMk0c/mw== X-Received: by 2002:a05:6214:1bcb:b0:5e0:7ecb:8ffb with SMTP id m11-20020a0562141bcb00b005e07ecb8ffbmr1638554qvc.8.1684354498903; Wed, 17 May 2023 13:14:58 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id z10-20020a05620a100a00b007592547a822sm868084qkj.80.2023.05.17.13.14.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 13:14:58 -0700 (PDT) From: Trevor Gamblin To: yocto@lists.yoctoproject.org Subject: [PATCH 03/11] python3-lazy-object-proxy: upgrade 1.3.1 -> 1.9.0 Date: Wed, 17 May 2023 16:14:48 -0400 Message-Id: <20230517201456.1608917-4-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230517201456.1608917-1-tgamblin@baylibre.com> References: <20230517201456.1608917-1-tgamblin@baylibre.com> 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 ; Wed, 17 May 2023 20:15:02 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60050 Copy the recipe from meta-python to handle the upgrade, so that patchtest can build it without requiring the layer. Signed-off-by: Trevor Gamblin --- .../python/python3-lazy-object-proxy_1.3.1.bb | 10 ---------- .../python/python3-lazy-object-proxy_1.9.0.bb | 11 +++++++++++ 2 files changed, 11 insertions(+), 10 deletions(-) delete mode 100644 meta-patchtest/recipes-devtools/python/python3-lazy-object-proxy_1.3.1.bb create mode 100644 meta-patchtest/recipes-devtools/python/python3-lazy-object-proxy_1.9.0.bb diff --git a/meta-patchtest/recipes-devtools/python/python3-lazy-object-proxy_1.3.1.bb b/meta-patchtest/recipes-devtools/python/python3-lazy-object-proxy_1.3.1.bb deleted file mode 100644 index a876fa7..0000000 --- a/meta-patchtest/recipes-devtools/python/python3-lazy-object-proxy_1.3.1.bb +++ /dev/null @@ -1,10 +0,0 @@ -SUMMARY = "A fast and thorough lazy object proxy" -HOMEPAGE = "https://python-lazy-object-proxy.readthedocs.io/" -LICENSE = "BSD" -SECTION = "devel/python" -LIC_FILES_CHKSUM = "file://LICENSE;md5=ec680df42d8ad56427a83308817658cc" - -SRC_URI[md5sum] = "e128152b76eb5b9ba759504936139fd0" -SRC_URI[sha256sum] = "eb91be369f945f10d3a49f5f9be8b3d0b93a4c2be8f8a5b83b0571b8123e0a7a" - -inherit pypi setuptools3 diff --git a/meta-patchtest/recipes-devtools/python/python3-lazy-object-proxy_1.9.0.bb b/meta-patchtest/recipes-devtools/python/python3-lazy-object-proxy_1.9.0.bb new file mode 100644 index 0000000..74c5e9b --- /dev/null +++ b/meta-patchtest/recipes-devtools/python/python3-lazy-object-proxy_1.9.0.bb @@ -0,0 +1,11 @@ +SUMMARY = "A fast and thorough lazy object proxy" +HOMEPAGE = "https://python-lazy-object-proxy.readthedocs.io/" +LICENSE = "BSD-2-Clause" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=d606e94f56c21c8e0cdde0b622dcdf57" + +DEPENDS += "${PYTHON_PN}-setuptools-scm-native ${PYTHON_PN}-pip-native" + +SRC_URI[sha256sum] = "659fb5809fa4629b8a1ac5106f669cfc7bef26fbb389dda53b3e010d1ac4ebae" + +inherit pypi setuptools3 From patchwork Wed May 17 20:14:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 24120 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 0E0D4C7EE2C for ; Wed, 17 May 2023 20:15:02 +0000 (UTC) Received: from mail-qt1-f178.google.com (mail-qt1-f178.google.com [209.85.160.178]) by mx.groups.io with SMTP id smtpd.web10.61356.1684354500533349078 for ; Wed, 17 May 2023 13:15:00 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=IMa5KUwj; spf=pass (domain: baylibre.com, ip: 209.85.160.178, mailfrom: tgamblin@baylibre.com) Received: by mail-qt1-f178.google.com with SMTP id d75a77b69052e-3f4eb166122so7859431cf.3 for ; Wed, 17 May 2023 13:15:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1684354499; x=1686946499; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Drs1deuUryuwrIrzODWBWf69pNmnI3LdPelKwYIrpdY=; b=IMa5KUwjpjghdyh8E4bTdLBN71oyhDobQOftzWRlfwiHESQcW0OUTxBo5FvDMysLzE 2bDcDW20tAn8qta0rKZEN8q3DQJOB2Y33Kr/LKqJk9WZjtCbdE0mx/4l7wo+xXCRKC1T 6/3D1nLPxNXBqthv+4IFI8dS0eTdEIw4pmEZ8ioNY7jbM0KYGhIxdd2ALF22tt+V0qpS YvinsA5HhECDoHtT9HOHZ4NQ4doy48u839Ha4kA60VRZF/5kS+7HvD2d6QmEQzQRzjh6 uV9I5IZG8biOuz9tbQqvUBFsfFC+CWo+DYnBPwsBUBALYp7aQR1R6Hg5YU8tmLPurgbd 3pKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684354499; x=1686946499; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Drs1deuUryuwrIrzODWBWf69pNmnI3LdPelKwYIrpdY=; b=MLpsC+g3GSEkK+eTWoc6e216BBpJvHGZb/HklE+kPODPjiHwDVuuwD7kFXfgfiKqdR 5kTppmT8XnlEPzcRtLkSjKZk5AMROfK7vJ/Eze0/06/QNnAFRfP69WWRzPMdfYx/9A23 jwJ34Yc3caaTjaFBodgX1tSUXxwPpVFI1NWDoJTh744W0AdvNk0JgYWlS4y6bcC7qF2/ eS1rGtcqjVj0wUMq57UldGYz5Z651LeT0zvTRBlDKmcqT6S+e1H76PNjgnrUyS3FW/pU 8XO/q+aYw9tP6wrGdHr4KEXGFkl2IVkyC31rgaI+zjA/68EKMifhoP0SBrmfmmeljwQM TQaw== X-Gm-Message-State: AC+VfDzYUdwA9wnPBvkzkYMMfjh+sRE/Ua5GPpNf522lqHqgQwArxd6k QX25o6rF6VYGT75NyQEn4VcYVIEMO7TfN23m0m/LKg== X-Google-Smtp-Source: ACHHUZ5DO65af2Syq14VoyaS+ReKEKwz35MU4OC5oJjTf/YtRUJkgoxqqBtpY7fXqTLUH4c/2hH1GQ== X-Received: by 2002:a05:622a:134b:b0:3f5:19eb:6d41 with SMTP id w11-20020a05622a134b00b003f519eb6d41mr1615920qtk.5.1684354499461; Wed, 17 May 2023 13:14:59 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id z10-20020a05620a100a00b007592547a822sm868084qkj.80.2023.05.17.13.14.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 13:14:59 -0700 (PDT) From: Trevor Gamblin To: yocto@lists.yoctoproject.org Subject: [PATCH 04/11] python3-pylint: upgrade 1.6.5 -> 2.17.4 Date: Wed, 17 May 2023 16:14:49 -0400 Message-Id: <20230517201456.1608917-5-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230517201456.1608917-1-tgamblin@baylibre.com> References: <20230517201456.1608917-1-tgamblin@baylibre.com> 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 ; Wed, 17 May 2023 20:15:02 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60051 Copy the recipe from meta-python to handle the upgrade, so that patchtest can build it without requiring the layer. Signed-off-by: Trevor Gamblin --- .../python/python3-pylint/run-ptest | 3 ++ .../python/python3-pylint_1.6.5.bb | 33 ------------ .../python/python3-pylint_2.17.4.bb | 51 +++++++++++++++++++ 3 files changed, 54 insertions(+), 33 deletions(-) create mode 100644 meta-patchtest/recipes-devtools/python/python3-pylint/run-ptest delete mode 100644 meta-patchtest/recipes-devtools/python/python3-pylint_1.6.5.bb create mode 100644 meta-patchtest/recipes-devtools/python/python3-pylint_2.17.4.bb diff --git a/meta-patchtest/recipes-devtools/python/python3-pylint/run-ptest b/meta-patchtest/recipes-devtools/python/python3-pylint/run-ptest new file mode 100644 index 0000000..7a5ceed --- /dev/null +++ b/meta-patchtest/recipes-devtools/python/python3-pylint/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest --benchmark-disable -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta-patchtest/recipes-devtools/python/python3-pylint_1.6.5.bb b/meta-patchtest/recipes-devtools/python/python3-pylint_1.6.5.bb deleted file mode 100644 index 0bb9e3f..0000000 --- a/meta-patchtest/recipes-devtools/python/python3-pylint_1.6.5.bb +++ /dev/null @@ -1,33 +0,0 @@ -SUMMARY="Pylint is a Python source code analyzer" -HOMEPAGE= "http://www.pylint.org/" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4" - -SRC_URI[md5sum] = "31da2185bf59142479e4fa16d8a9e347" -SRC_URI[sha256sum] = "a673984a8dd78e4a8b8cfdee5359a1309d833cf38405008f4a249994a8456719" - -inherit pypi setuptools3 - -SRC_URI += "file://0001-epylint-corrects-msg-template-object.patch" - -DEPENDS += "${PYTHON_PN}-pytest-runner-native" - -RDEPENDS_${PN} += "${PYTHON_PN}-astroid \ - ${PYTHON_PN}-isort \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-pkgutil \ - ${PYTHON_PN}-difflib \ - ${PYTHON_PN}-netserver \ - " - -do_install:append(){ - rm ${D}${bindir}/pylint - cat >> ${D}${bindir}/pylint < X-Patchwork-Id: 24121 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 2DF99C7EE2D for ; Wed, 17 May 2023 20:15:02 +0000 (UTC) Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) by mx.groups.io with SMTP id smtpd.web10.61358.1684354501006056555 for ; Wed, 17 May 2023 13:15:01 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=TM0CrAEI; spf=pass (domain: baylibre.com, ip: 209.85.160.169, mailfrom: tgamblin@baylibre.com) Received: by mail-qt1-f169.google.com with SMTP id d75a77b69052e-3f41b73104eso7329251cf.3 for ; Wed, 17 May 2023 13:15:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1684354500; x=1686946500; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=obd6fGZs0RjP/WSgcNdzlP3P2mTMtyBmgPKRwRWI+kE=; b=TM0CrAEI8lV5ADYePbxK+OBxBHwcwcU3TCxKHN1Jdx9DBd1wxM+9lLe95WaqbQuTDT req6JmB7bcIBp71QPSyFPjEF5JggQnKkTF2PENmz7NDbdO+pi8tWkT11nAdRPi7VHkHP p9utdvM4CFpzhgVOdECs1lv9TFfCYwt007Fyhq2vTHmDLztkcPLGZaGpuBxMR5jVNW2j foF3tqHICb1dNP5XHhKF73Bf0h6GDomIkehx291yZytFlE/7SnvNZNlN3e6fCZkXlg+i cXahM/GHP2KZQTOajX9IE5oyEJBvTJ5q035NdHgsAp1kzfdDUVXgMuYnJDDMuy1CDpjv vvzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684354500; x=1686946500; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=obd6fGZs0RjP/WSgcNdzlP3P2mTMtyBmgPKRwRWI+kE=; b=ZLmiEXijvTPHEkp1P9JZjTT9h+a2wN4M5O4w1+fBjBoVgM4fo4XEyEvCNYWHrr2w8P XcVQ9kAbpUwuzcv2XDg1Ph/sfYKl2ZDbZxMGhe0caQyq9DuSys8eTHOQL7L5tQPHJbqH o66gmHjICSvB6eGEysAdSHfUwFNeCZnueC1qiRA0t8V+vwvB2bDeyu6j2K1pRAwK9hVg uzr50qL5Iq81QyR+R8FwrB9JG1wDTkxCSZkqSV0PB0R5lI1+60UqINUS41tg4bh74Dy5 jYoVLuFyBwu910iw2ObC5p0zkITyreZJq3qyfjRtnl889Y6TMk4Nyx+UQFcA2+jIDis6 pCQA== X-Gm-Message-State: AC+VfDw2qeoHdD5x30YhTSbvZhcpdJfxGgxbNF8xo7i+Ryghshf7FoXS toCJOzQdj1nCxxPksN73YlabSc5OmJroxKmZw1Y6gA== X-Google-Smtp-Source: ACHHUZ5NG95D74bAloVxgoS1+Y8JCPffgWqczySUa/1z/v4J31AuMs3tlikT7GC0zvdKaHNME7J4Hw== X-Received: by 2002:ac8:5c04:0:b0:3ef:37d5:49e0 with SMTP id i4-20020ac85c04000000b003ef37d549e0mr1527444qti.21.1684354499982; Wed, 17 May 2023 13:14:59 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id z10-20020a05620a100a00b007592547a822sm868084qkj.80.2023.05.17.13.14.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 13:14:59 -0700 (PDT) From: Trevor Gamblin To: yocto@lists.yoctoproject.org Subject: [PATCH 05/11] python3-pyparsing: remove recipe Date: Wed, 17 May 2023 16:14:50 -0400 Message-Id: <20230517201456.1608917-6-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230517201456.1608917-1-tgamblin@baylibre.com> References: <20230517201456.1608917-1-tgamblin@baylibre.com> 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 ; Wed, 17 May 2023 20:15:02 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60052 This is in oe-core now, so no need to carry it in patchtest. Signed-off-by: Trevor Gamblin --- .../python/python3-pyparsing_2.2.0.bb | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 meta-patchtest/recipes-devtools/python/python3-pyparsing_2.2.0.bb diff --git a/meta-patchtest/recipes-devtools/python/python3-pyparsing_2.2.0.bb b/meta-patchtest/recipes-devtools/python/python3-pyparsing_2.2.0.bb deleted file mode 100644 index 033e0db..0000000 --- a/meta-patchtest/recipes-devtools/python/python3-pyparsing_2.2.0.bb +++ /dev/null @@ -1,19 +0,0 @@ -SUMMARY = "Python parsing module" -HOMEPAGE = "http://pyparsing.wikispaces.com/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=fb46329938e6bc829b256e37d5c1e31a" - -SRC_URI[md5sum] = "0214e42d63af850256962b6744c948d9" -SRC_URI[sha256sum] = "0832bcf47acd283788593e7a0f542407bd9550a55a8a8435214a1960e04bcb04" - -inherit pypi - -RDEPENDS_${PN} += " \ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-debugger \ - ${PYTHON_PN}-json \ - ${PYTHON_PN}-netclient \ - ${PYTHON_PN}-pprint \ - ${PYTHON_PN}-stringold \ - ${PYTHON_PN}-threading \ -" From patchwork Wed May 17 20:14:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 24122 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 D0893C7EE23 for ; Wed, 17 May 2023 20:15:11 +0000 (UTC) Received: from mail-qt1-f173.google.com (mail-qt1-f173.google.com [209.85.160.173]) by mx.groups.io with SMTP id smtpd.web10.61359.1684354501559468666 for ; Wed, 17 May 2023 13:15:01 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=ZSfPjhQQ; spf=pass (domain: baylibre.com, ip: 209.85.160.173, mailfrom: tgamblin@baylibre.com) Received: by mail-qt1-f173.google.com with SMTP id d75a77b69052e-3f4de077aaaso13439681cf.1 for ; Wed, 17 May 2023 13:15:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1684354500; x=1686946500; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=EGtrBcVT3Ga1jJYVpzoCvKP7XKbKMoGMb+48h1yr+aw=; b=ZSfPjhQQRmlwE0cqTeA1E1uR+d98NctgsUlHNtRDvRjOYH331JTn885H3/jMeKFw5m Z8/Jw5zxzCe2JbRjUXs7eEr5yFnjNzpFnDgWtBEIy/gPRsiDjsQWroNeLvzK+vr+08M4 3XOdTdDYwk919Evkd6K7DNkenFIo6jInhjlbJZumJbx8asMaIYb59VmiNtb2AEFQzeKI fzgglSamwoSA4p1r3Fo9tpqQzJSK2pGVk6M8j6iUvuO0yzwm8dwbW3W+7HKNt+cxZjLJ V/WjSpNaDB8w0luqDwkHGn1GX1ratMyBOelWmCz/QAwolePbCwQHf/lKP1qkgp1/E78u agVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684354500; x=1686946500; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=EGtrBcVT3Ga1jJYVpzoCvKP7XKbKMoGMb+48h1yr+aw=; b=lt+mqZv9x+/2ejW3M0eQmLRIiwmmU27jW7NUrA6HBNlsueOUkPZcqoNPThYRWee1US gsAgIdW1cP4d3VdA/zidTzk2Pmm6+aPMaodVonF8PkRWx+YYBtk+tjkdxSYHr5DJUUCu KSLfjeo2UoDLS/CpzLa07NBkiMuJvnGokws0BUV9ci39RQoeglsiQUnbTfSIgCAPfnTm tCRPwpTN5qswV4LIGek+rNYOFoWzd8uuisbSMd/JdBDAJiOzrgj6DyRWktLHaCKU/4eK FC2C6CFTxk7sf0JWzdQj9xBLQ3EiI+HLFYLHhSIn9+MI8GhEfJKQLroeWvPyhf69y+Gl vKpQ== X-Gm-Message-State: AC+VfDwe0G8dD9HCfpNVpGNEAOkpW3S5TzkNCA5GTFwi+eV36CWcrsHZ k7J5AuDwG8Y0k06vCrUL8ijm7sqnXlcAioeNIDpYRw== X-Google-Smtp-Source: ACHHUZ7M3k8Y9WSr6t1gsfyTG0mXQB/PFJSr5NYNJI3eRsYpLoppe6O5L9llBoVZythyjq2Kcdf7LQ== X-Received: by 2002:a05:622a:174f:b0:3f5:3fdb:3295 with SMTP id l15-20020a05622a174f00b003f53fdb3295mr1574454qtk.39.1684354500561; Wed, 17 May 2023 13:15:00 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id z10-20020a05620a100a00b007592547a822sm868084qkj.80.2023.05.17.13.15.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 13:15:00 -0700 (PDT) From: Trevor Gamblin To: yocto@lists.yoctoproject.org Subject: [PATCH 06/11] python3-unidiff: upgrade 0.5.4 -> 0.7.5 Date: Wed, 17 May 2023 16:14:51 -0400 Message-Id: <20230517201456.1608917-7-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230517201456.1608917-1-tgamblin@baylibre.com> References: <20230517201456.1608917-1-tgamblin@baylibre.com> 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 ; Wed, 17 May 2023 20:15:11 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60053 Copy the recipe from meta-python to handle the upgrade, so that patchtest can build it without requiring the layer. Signed-off-by: Trevor Gamblin --- .../python/python3-unidiff/run-ptest | 3 +++ .../python/python3-unidiff_0.5.4.bb | 9 ------- .../python/python3-unidiff_0.7.5.bb | 26 +++++++++++++++++++ 3 files changed, 29 insertions(+), 9 deletions(-) create mode 100644 meta-patchtest/recipes-devtools/python/python3-unidiff/run-ptest delete mode 100644 meta-patchtest/recipes-devtools/python/python3-unidiff_0.5.4.bb create mode 100644 meta-patchtest/recipes-devtools/python/python3-unidiff_0.7.5.bb diff --git a/meta-patchtest/recipes-devtools/python/python3-unidiff/run-ptest b/meta-patchtest/recipes-devtools/python/python3-unidiff/run-ptest new file mode 100644 index 0000000..b63c4de --- /dev/null +++ b/meta-patchtest/recipes-devtools/python/python3-unidiff/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta-patchtest/recipes-devtools/python/python3-unidiff_0.5.4.bb b/meta-patchtest/recipes-devtools/python/python3-unidiff_0.5.4.bb deleted file mode 100644 index 5ad9bfc..0000000 --- a/meta-patchtest/recipes-devtools/python/python3-unidiff_0.5.4.bb +++ /dev/null @@ -1,9 +0,0 @@ -SUMMARY = "Unified diff parsing/metadata extraction library" -HOMEPAGE = "http://github.com/matiasb/python-unidiff" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3" - -SRC_URI[md5sum] = "c8099edf89d2e3bac16123766625a38b" -SRC_URI[sha256sum] = "a7baf71846a68c5305a7d6005dfb5eca8798f13861176355a285cbda3206824d" - -inherit pypi setuptools3 diff --git a/meta-patchtest/recipes-devtools/python/python3-unidiff_0.7.5.bb b/meta-patchtest/recipes-devtools/python/python3-unidiff_0.7.5.bb new file mode 100644 index 0000000..690acf8 --- /dev/null +++ b/meta-patchtest/recipes-devtools/python/python3-unidiff_0.7.5.bb @@ -0,0 +1,26 @@ +SUMMARY = "Unified diff parsing/metadata extraction library" +HOMEPAGE = "http://github.com/matiasb/python-unidiff" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4c434b08ef42fea235bb019b5e5a97b3" + +SRC_URI[sha256sum] = "2e5f0162052248946b9f0970a40e9e124236bf86c82b70821143a6fc1dea2574" + +inherit pypi setuptools3 ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +} + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-codecs \ + ${PYTHON_PN}-io \ +" From patchwork Wed May 17 20:14:52 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 24123 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 D07C8C7EE22 for ; Wed, 17 May 2023 20:15:11 +0000 (UTC) Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) by mx.groups.io with SMTP id smtpd.web11.61670.1684354502206138656 for ; Wed, 17 May 2023 13:15:02 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=RSc7yL3K; spf=pass (domain: baylibre.com, ip: 209.85.222.173, mailfrom: tgamblin@baylibre.com) Received: by mail-qk1-f173.google.com with SMTP id af79cd13be357-757742c2e5fso118500885a.1 for ; Wed, 17 May 2023 13:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1684354501; x=1686946501; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=h8Tt7Vn+IUlKj3cow2zDaub/0zS4XKV4Aj6YqFtHW3M=; b=RSc7yL3Krm2UPXRuwVCELih3iduHsAKq4KJDUJwgBoGPT8rZ655qUfzd8mKsPRtuPh JOUwXBiAjko3TCfUGMNziErbmfmaZN7hBKO9MCoRWbhVxarSG/LMuOYnPUSp2pvK+Vnk V0KxxK28h70B/IgRPNk2yh+PQW/r23c77LnaTwmva4FIi1zi47jhOvX43gbn29JsgFXS podY5n++wue3KNFF9eewta3uKy+wxtVVw8iMzJn3ub5yoqQxiYfiGe5SO5EXAZ2WWC1p efuhQnDILgBm3cwXawhBSasWfV/FLn0ly08aFT/2DD/JxLa0j5syKToIaW+Izuz9KRIk qbrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684354501; x=1686946501; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=h8Tt7Vn+IUlKj3cow2zDaub/0zS4XKV4Aj6YqFtHW3M=; b=k+FrJ+BaHNFH0EPhYtyQu8UrN2xQ/sT/efOjCfvHhPF8iE76yzjWVJTMkRy/8De6Nd +Yw9yx8JhHz+bCyfISs3PZxQiXR+cNqZLbDtRcA7EPEwDxGGTr/zksqi9+8RUnayKZSv 3F2GhKss8WGc9X6N51f0pvrdvB2d5gaiI7BGufSIRGK1PHMqudfH0z/TuAQZsFQGBQiX P68+QqRZvOnhYrXaSOA7/P7D0QnGWyY7IYbFPSVhuhAlqDx5BcRdzvquVj6OkQCFQ029 qR0F8ogUQZMl5zMltDEmLS+fCAcupZidzryXrBxiOPfkD7xUr//tg+wc1Eu/mtQKIOYb G5eA== X-Gm-Message-State: AC+VfDyiefs5MR5HlgfwDybi5MaiVM9FYeV4rgFGzEyaoABmDMey82DY 0bsby4RCDdhagSe9mws2oPYysGpMqa1m7/gOjeIi4g== X-Google-Smtp-Source: ACHHUZ5cRGdGAAaYMZUH5PF8pmzYDLZX1unCI5COu86idjlJdLNDLt8ESzh5fjH7g8oPBP8tL8fyXw== X-Received: by 2002:ac8:7dcb:0:b0:3f5:c257:9f13 with SMTP id c11-20020ac87dcb000000b003f5c2579f13mr1337199qte.51.1684354501164; Wed, 17 May 2023 13:15:01 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id z10-20020a05620a100a00b007592547a822sm868084qkj.80.2023.05.17.13.15.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 13:15:00 -0700 (PDT) From: Trevor Gamblin To: yocto@lists.yoctoproject.org Subject: [PATCH 07/11] python3-wrapt: upgrade 1.10.10 -> 1.15.0 Date: Wed, 17 May 2023 16:14:52 -0400 Message-Id: <20230517201456.1608917-8-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230517201456.1608917-1-tgamblin@baylibre.com> References: <20230517201456.1608917-1-tgamblin@baylibre.com> 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 ; Wed, 17 May 2023 20:15:11 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60054 Copy the recipe from meta-python to handle the upgrade, so that patchtest can build it without requiring the layer. Signed-off-by: Trevor Gamblin --- .../python/python3-wrapt_1.10.10.bb | 15 --------------- .../python/python3-wrapt_1.15.0.bb | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 15 deletions(-) delete mode 100644 meta-patchtest/recipes-devtools/python/python3-wrapt_1.10.10.bb create mode 100644 meta-patchtest/recipes-devtools/python/python3-wrapt_1.15.0.bb diff --git a/meta-patchtest/recipes-devtools/python/python3-wrapt_1.10.10.bb b/meta-patchtest/recipes-devtools/python/python3-wrapt_1.10.10.bb deleted file mode 100644 index cd987d3..0000000 --- a/meta-patchtest/recipes-devtools/python/python3-wrapt_1.10.10.bb +++ /dev/null @@ -1,15 +0,0 @@ -SUMMARY = "A Python module for decorators, wrappers and monkey patching." -HOMEPAGE = "http://wrapt.readthedocs.org/" -LICENSE = "BSD" -SECTION = "devel/python" -LIC_FILES_CHKSUM = "file://LICENSE;md5=82704725592991ea88b042d150a66303" - -SRC_URI[md5sum] = "97365e906afa8b431f266866ec4e2e18" -SRC_URI[sha256sum] = "42160c91b77f1bc64a955890038e02f2f72986c01d462d53cb6cb039b995cdd9" - -inherit pypi setuptools3 - -RDEPENDS_${PN}_class-target += "\ - ${PYTHON_PN}-stringold \ - ${PYTHON_PN}-threading \ -" diff --git a/meta-patchtest/recipes-devtools/python/python3-wrapt_1.15.0.bb b/meta-patchtest/recipes-devtools/python/python3-wrapt_1.15.0.bb new file mode 100644 index 0000000..e35e1f7 --- /dev/null +++ b/meta-patchtest/recipes-devtools/python/python3-wrapt_1.15.0.bb @@ -0,0 +1,16 @@ +SUMMARY = "A Python module for decorators, wrappers and monkey patching." +HOMEPAGE = "http://wrapt.readthedocs.org/" +LICENSE = "BSD-2-Clause" +SECTION = "devel/python" +LIC_FILES_CHKSUM = "file://LICENSE;md5=dc34cbad60bc961452eb7ade801d25f7" + +SRC_URI[sha256sum] = "d06730c6aed78cee4126234cf2d071e01b44b915e725a6cb439a879ec9754a3a" + +inherit pypi setuptools3 + +RDEPENDS:${PN}:class-target += "\ + ${PYTHON_PN}-stringold \ + ${PYTHON_PN}-threading \ +" + +BBCLASSEXTEND = "native" From patchwork Wed May 17 20:14:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 24124 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 D1D41C77B75 for ; Wed, 17 May 2023 20:15:11 +0000 (UTC) Received: from mail-qk1-f177.google.com (mail-qk1-f177.google.com [209.85.222.177]) by mx.groups.io with SMTP id smtpd.web10.61361.1684354502702922617 for ; Wed, 17 May 2023 13:15:02 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=ywl9fOvw; spf=pass (domain: baylibre.com, ip: 209.85.222.177, mailfrom: tgamblin@baylibre.com) Received: by mail-qk1-f177.google.com with SMTP id af79cd13be357-75783ac48e7so119342685a.0 for ; Wed, 17 May 2023 13:15:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1684354501; x=1686946501; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=IGUaQstU71U+JliFLH00eTwb6zXs2criBZcyeVVpSH4=; b=ywl9fOvwcAJm23aoThQV2qWtf6yQXY83y6IMZ+liI+shW/zOj7nhgRh1+nt6MbBrTW jnMEGddLWUslla8arquhrIpnZM+2uZMMymkrv5PqhffVPcLj4/b40kRTWohKYy6xEjHM dWZjA96cCWpW7v3EtbIyr4m2EzsZWY9o7/MkB3W9wX6R54R8WDGwoEEld1lWx9CgYDI7 OXgmQvms2NqhJhQCLLcCLjSOQCw1t7wIBxM+pXr1+Sld2wqeL1vY7O+7cCFF8FefWnyV Sk0G32fEtIl3sQEHsKQh3INhnTRxPgqKq72IdNrkwbVZQksfLwbtxs6Vh07wQN6OL50+ Vetg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684354501; x=1686946501; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IGUaQstU71U+JliFLH00eTwb6zXs2criBZcyeVVpSH4=; b=YXBLpFjk5ma6/3qNrwncXZy6SH1Cn2rTAe/MWKLqNIwCKgMcibQSejlI+HG/xqO9u5 nEhYM/1TrKiygkUm6Zl+CMShIMYwzeG+fCoB/ZIdJrs07Hp2gW/ynKx7dglHBinrcn2o Wx+D4orutD5QvmyJywU7E82rZHeopBYqyv/WFq6s1m033SgcXESTVGdfIFq4RbzW1yJ3 zKVeXhEr8G4apJkWKrsSRfgQOdhL4OQdq6PWGBf9QNNstO9/UzHW2PoJ65rr5Mab4bLG Jl6OXNfvER6cXq6cD/Lz3WhtBmm7w51Fv1iWdKx4ebNwBoAtPj4SfwqeQjJowHzE+wzK yFBw== X-Gm-Message-State: AC+VfDwWiXB3CqO+vGOvO5iEkXWslQJcP5dvPeBsC0MgKdj6YvYZMNfm QFZkEdw2u8nOm/SWcO202+LN3YThqHKKer55r9G+0w== X-Google-Smtp-Source: ACHHUZ7Fs7SmmPEgA/QATta90+O1LptqecTzDaWT7riLgsBgt/3Uw1/T/C5X/wOI3d4f6ejHkGYBow== X-Received: by 2002:a05:6214:4118:b0:5ef:67b9:8d37 with SMTP id kc24-20020a056214411800b005ef67b98d37mr1608652qvb.13.1684354501690; Wed, 17 May 2023 13:15:01 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id z10-20020a05620a100a00b007592547a822sm868084qkj.80.2023.05.17.13.15.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 13:15:01 -0700 (PDT) From: Trevor Gamblin To: yocto@lists.yoctoproject.org Subject: [PATCH 08/11] python3-dill: add recipe Date: Wed, 17 May 2023 16:14:53 -0400 Message-Id: <20230517201456.1608917-9-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230517201456.1608917-1-tgamblin@baylibre.com> References: <20230517201456.1608917-1-tgamblin@baylibre.com> 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 ; Wed, 17 May 2023 20:15:11 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60055 python3-pylint requires python3-dill, so copy it from meta-python to avoid requiring that layer for patchtest. Signed-off-by: Trevor Gamblin --- .../python/python3-dill_0.3.6.bb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 meta-patchtest/recipes-devtools/python/python3-dill_0.3.6.bb diff --git a/meta-patchtest/recipes-devtools/python/python3-dill_0.3.6.bb b/meta-patchtest/recipes-devtools/python/python3-dill_0.3.6.bb new file mode 100644 index 0000000..bec4643 --- /dev/null +++ b/meta-patchtest/recipes-devtools/python/python3-dill_0.3.6.bb @@ -0,0 +1,17 @@ +SUMMARY = "Serialize all of python" +HOMEPAGE = "https://pypi.org/project/dill/" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=61f24e44fc855bde43ed5a1524a37bc4" + +SRC_URI[sha256sum] = "e5db55f3687856d8fbdab002ed78544e1c4559a130302693d839dfe8f93f2373" + +inherit pypi setuptools3 + +PYPI_PACKAGE_EXT = "tar.gz" + +RDEPENDS:${PN} += "\ + ${PYTHON_PN}-multiprocessing \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-profile \ + ${PYTHON_PN}-core \ +" From patchwork Wed May 17 20:14:54 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 24125 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 DFCBEC7EE2D for ; Wed, 17 May 2023 20:15:11 +0000 (UTC) Received: from mail-qv1-f41.google.com (mail-qv1-f41.google.com [209.85.219.41]) by mx.groups.io with SMTP id smtpd.web10.61362.1684354503355297571 for ; Wed, 17 May 2023 13:15:03 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=ky0aCJST; spf=pass (domain: baylibre.com, ip: 209.85.219.41, mailfrom: tgamblin@baylibre.com) Received: by mail-qv1-f41.google.com with SMTP id 6a1803df08f44-6238b15d298so5651286d6.0 for ; Wed, 17 May 2023 13:15:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1684354502; x=1686946502; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Z/yCxrQdVTNue1MK5FP5stGkNr/LOkz/ITwJav1j0Zo=; b=ky0aCJSTOQ7GYPTd8pWOJ0d+CgYYQk2+RyXM2Y3dUuILH/1b91ay+xDQmUU/TJydzM 2797LfNnWxyYN2ytoAeebf6QvZcJFJIPDp0nRF41vOqfQRyifkKH4ZM+gNaD3ickzK+A 6dJNfX9pWUSZtje033dYv5dLsV5Dm0zxkRcGP0v3Bf1W17DxbKbOEFHdPAL+dK666nQF 6imFIawHkz0a1R9VhfWZz85VRydj7iVhULA5XQ+iOCjLgdJGx8l79uJObd74Rii61VFn 4PfZeSN3AXE/80qje4siaudMTKZ2dOo/vL+KVHobWjsX4218SztalLsAsHwHPuNUpfSG CJjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684354502; x=1686946502; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Z/yCxrQdVTNue1MK5FP5stGkNr/LOkz/ITwJav1j0Zo=; b=aJynlP12ZPWa/fN1S4jB1nZJ5UlQDTZIsjFPGP/5TocKL/LodfQCCiha70aeNhZmMz BLgr27JhxfUy4U3nbXcgSSENvrZ2j4tRkXZ9eAE0vxSl0NNoSlaA25dCf3m4+22hE28Q xtlbxjBwt4bneKc1KS5b8mD1KCR3hJzAhfLqIAv1BvnRSm9YNAGt5dVVvbdGcochUBJf W40iCDXr9zYpJ+++WG0WPZ3wWYKIih5nQT3OiTuoj8f2DjUGCwfvvmtSozp1gWMQUJ7D L0ssN7Mgy+nUuIjmJbmbOtbUD9Cq3z09h53Gaih6cZSlsTXMnn6ZF4fLCSuuZOXrHPRO n6hw== X-Gm-Message-State: AC+VfDyEANMfUqeHBLsF8dSq8GvjPMixPpCaq/da/Lqrzq0MuR52dE9v sfZTc7s2zAi4aYt2Ap1g5Ab9T42u5IpFs3p1TRtciA== X-Google-Smtp-Source: ACHHUZ56FpT+SO7z3j6v37XozH8q0ObfgmaL0D9yenkXkAqSlCXvDZV5Dtv6Xa4Syi+C2m/KRbLhhg== X-Received: by 2002:ad4:5cc1:0:b0:5e9:2d8c:9a21 with SMTP id iu1-20020ad45cc1000000b005e92d8c9a21mr1577760qvb.32.1684354502377; Wed, 17 May 2023 13:15:02 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id z10-20020a05620a100a00b007592547a822sm868084qkj.80.2023.05.17.13.15.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 13:15:02 -0700 (PDT) From: Trevor Gamblin To: yocto@lists.yoctoproject.org Subject: [PATCH 09/11] python3-mccabe: add recipe Date: Wed, 17 May 2023 16:14:54 -0400 Message-Id: <20230517201456.1608917-10-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230517201456.1608917-1-tgamblin@baylibre.com> References: <20230517201456.1608917-1-tgamblin@baylibre.com> 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 ; Wed, 17 May 2023 20:15:11 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60056 python3-pylint requires python3-mccabe, so copy it from meta-python to avoid requiring that layer for patchtest. Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-mccabe_0.7.0.bb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta-patchtest/recipes-devtools/python/python3-mccabe_0.7.0.bb diff --git a/meta-patchtest/recipes-devtools/python/python3-mccabe_0.7.0.bb b/meta-patchtest/recipes-devtools/python/python3-mccabe_0.7.0.bb new file mode 100644 index 0000000..a2c72fc --- /dev/null +++ b/meta-patchtest/recipes-devtools/python/python3-mccabe_0.7.0.bb @@ -0,0 +1,11 @@ +DESCRIPTION = "McCabe checker, plugin for flake8" +HOMEPAGE = "https://github.com/PyCQA/mccabe" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=a489dc62bacbdad3335c0f160a974f0f" + +SRC_URI[sha256sum] = "348e0240c33b60bbdf4e523192ef919f28cb2c3d7d5c7794f74009290f236325" + +inherit pypi setuptools3 + +DEPENDS += "${PYTHON_PN}-pytest-runner-native" From patchwork Wed May 17 20:14:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 24126 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 DFC77C7EE2A for ; Wed, 17 May 2023 20:15:11 +0000 (UTC) Received: from mail-qt1-f182.google.com (mail-qt1-f182.google.com [209.85.160.182]) by mx.groups.io with SMTP id smtpd.web11.61673.1684354503970585963 for ; Wed, 17 May 2023 13:15:04 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=ERmabsnS; spf=pass (domain: baylibre.com, ip: 209.85.160.182, mailfrom: tgamblin@baylibre.com) Received: by mail-qt1-f182.google.com with SMTP id d75a77b69052e-3f507edcaaaso12755511cf.2 for ; Wed, 17 May 2023 13:15:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1684354503; x=1686946503; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=dU1jC2lOeLWIMKDv/TEFIzWlCwbDadc9bpYojEepYDs=; b=ERmabsnScdPflR+uZUnDCklo/YCKf4RMD0cYrpfzgfZDLhovCiGUck7AZTRDXus6Os FQQvAeH2rP6chsdOjURXBTkXB8ogmQyccMRqoo0fwnlU5vrjbN7v7CeIrbJ4vomJAZl7 DJZT6sQTNYwRtBIuwbvhy42hI5hwaLdcjDAw+3b8+xy/XkG5gmAXrXXEh0HYeOAUPfqT Jus8kW+lWoC8nkizuy4tk53PbvCisY5VcJwiDhUm5vc0a7wNalVC9p+p5EtME39vNCKa eU08N8MoTDmzkA3KDdOLrJ1u/S5ueVceUJwj//8feE399WSnyAMrhI68aes7YI0kxkbN CCiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684354503; x=1686946503; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dU1jC2lOeLWIMKDv/TEFIzWlCwbDadc9bpYojEepYDs=; b=Sjm3VzIMseGmqJ79Zyb01N1zJ4/5otgtWOreMklSzapjGtD2R6/pfht1/K/KnK2pbk +SgHToQGRO4781/2JMnwLT4Iok34oGrmnBXIQ++2rI0QnTDnRp/DqFY0tb6GjUJUMG0Z wBQKKecH2o2SHrDRr8FPDd122j7TB7lj0t2//855WebICqSoLH1fnkIpv4pwURCMXdWy w/njS1F/ER5Nox3Rfc4W+VuU9eSHy2jEFB1it5qkz0JEBNvEzijrDdvIaLN7eSFY/cJp syiCDqs9VZTO15fFED+DLVQu3U443DMM9Rv8P3u5KMVd3ILmNL33F77EJwjPBW+uzoEv zbAw== X-Gm-Message-State: AC+VfDz5cdvd3/YAOqb92rNNsr6h7EKBmyCdBG59fMDiCkiCVufyJv3V gW+OFlDbh9kpJdVBxFzNPkEzbssf8aU4/dOBeDJ0pA== X-Google-Smtp-Source: ACHHUZ6ers7LXIZJt4pw6l+6QWIc+nuRoiOh9pn76FZ1DJpAbWkgxRPX2yIgLWczvHKbXADil/QEzA== X-Received: by 2002:a05:622a:15ca:b0:3f5:320e:8b14 with SMTP id d10-20020a05622a15ca00b003f5320e8b14mr1480530qty.52.1684354502904; Wed, 17 May 2023 13:15:02 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id z10-20020a05620a100a00b007592547a822sm868084qkj.80.2023.05.17.13.15.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 13:15:02 -0700 (PDT) From: Trevor Gamblin To: yocto@lists.yoctoproject.org Subject: [PATCH 10/11] python3-platformdirs: add recipe Date: Wed, 17 May 2023 16:14:55 -0400 Message-Id: <20230517201456.1608917-11-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230517201456.1608917-1-tgamblin@baylibre.com> References: <20230517201456.1608917-1-tgamblin@baylibre.com> 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 ; Wed, 17 May 2023 20:15:11 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60057 python3-pylint requires python3-platformdirs, so copy it from meta-python to avoid requiring that layer for patchtest. Signed-off-by: Trevor Gamblin --- .../python/python3-platformdirs/run-ptest | 3 ++ .../python/python3-platformdirs_3.5.1.bb | 35 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 meta-patchtest/recipes-devtools/python/python3-platformdirs/run-ptest create mode 100644 meta-patchtest/recipes-devtools/python/python3-platformdirs_3.5.1.bb diff --git a/meta-patchtest/recipes-devtools/python/python3-platformdirs/run-ptest b/meta-patchtest/recipes-devtools/python/python3-platformdirs/run-ptest new file mode 100644 index 0000000..b63c4de --- /dev/null +++ b/meta-patchtest/recipes-devtools/python/python3-platformdirs/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta-patchtest/recipes-devtools/python/python3-platformdirs_3.5.1.bb b/meta-patchtest/recipes-devtools/python/python3-platformdirs_3.5.1.bb new file mode 100644 index 0000000..4fefe56 --- /dev/null +++ b/meta-patchtest/recipes-devtools/python/python3-platformdirs_3.5.1.bb @@ -0,0 +1,35 @@ +SUMMARY = "A small Python module for determining appropriate platform-specific dirs" +HOMEPAGE = "https://github.com/platformdirs/platformdirs" +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ea4f5a41454746a9ed111e3d8723d17a" + +SRC_URI = " \ + git://github.com/platformdirs/platformdirs.git;branch=main;protocol=https \ + file://run-ptest \ +" + +SRCREV ?= "b8c42ddca4def1fba38b9815a7d94ec2ac630b29" +SRC_URI[sha256sum] = "7954a68d0ba23558d753f73437c55f89027cf8f5108c19844d4b82e5af396335" + +inherit python_setuptools_build_meta ptest + +DEPENDS += " \ + python3-hatch-vcs-native \ + python3-setuptools-scm-native \ + python3-toml-native \ +" + +S = "${WORKDIR}/git" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-appdirs \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-pytest-mock \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/Tests + cp -rf ${S}/tests ${D}${PTEST_PATH}/ +} + +BBCLASSEXTEND = "native" From patchwork Wed May 17 20:14:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Gamblin X-Patchwork-Id: 24127 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 06346C7EE2E for ; Wed, 17 May 2023 20:15:12 +0000 (UTC) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by mx.groups.io with SMTP id smtpd.web10.61364.1684354504451044808 for ; Wed, 17 May 2023 13:15:04 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@baylibre-com.20221208.gappssmtp.com header.s=20221208 header.b=CRd/+WqE; spf=pass (domain: baylibre.com, ip: 209.85.222.182, mailfrom: tgamblin@baylibre.com) Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-7576ecfa4e7so125394585a.3 for ; Wed, 17 May 2023 13:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20221208.gappssmtp.com; s=20221208; t=1684354503; x=1686946503; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=47woCR1JKqZdckg0Uyouuh+oRi4kHB04te8KZN8DplM=; b=CRd/+WqE138eABrS/s8Er0KaG+LMoM3jH0Zk+ZErf4CTnxJClDrucE2rkrX/2BPgxI zskXBKYBTGrZyT+lO2p4JG4YjlyXCPWeGBiagbUNBp0R7VoRfZxM46Z/pDewdBk9A/6W 30wPtqvSo2fGBqfAzlOA6M83V1OSkOtVnxeqoXH+s7H5b699MeMPHd/19QTVAA2zkn78 OjJdkcwtGUhfhlLSJ+njrBMOxgTYbWVjhA8nqF8vMQLFCKE0dyCdavGVtauT5vxoe46x olTzyEK0CiUT3ReyhBeBredm2DduZToRpJLNvNK+XmhIS7Fv30lbnNt58TiBIKH7tPbL pNfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684354503; x=1686946503; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=47woCR1JKqZdckg0Uyouuh+oRi4kHB04te8KZN8DplM=; b=lvzLUydXbWeQ3wHSKQePUv2FjzTQNtOllvwmuKd/QgYfmy26rcsd6wWjVhpneZeMNE rYWy5r3FBRm/kypTwNDfpqv92QRdNt55dvh/5elthKtISI7IL/kKpAWTUHSwLgNobVZi 5Is1pnpWO7zfOE8tj3BJGF9M6sLXyC53hcvfG8Zabe9qs8m6k3WOexME6yLyc1ZAcryJ igjMq6u/KYDwxy3hQesrUO7XNUb9MtpBjSbo4tZ7HxY3WIsVPrk/g1rfGvhgSSWiel4h oomSCLEtEy7zNDXX0YgzOwuIk9C4xh2B9BJwv1inW/+4BD6xVLyYkBece7urdhbDC8g6 FUsw== X-Gm-Message-State: AC+VfDzMhrZhKHoR6VwjSY6zU6pArv6LJRSbXnv6BNGOzwRltzS+qrzh wxGUEviVwDHEbme7VzneO41Qk7qq92KOMnMy/+ot5A== X-Google-Smtp-Source: ACHHUZ6P1+Y4kCZj/qOPXz4s7UT7OKbKRkU9yQ9Idz9xTD6lBojxSqmC+e/Y3d8E4cPw6nreZ8PToQ== X-Received: by 2002:a05:622a:1308:b0:3f3:9564:1135 with SMTP id v8-20020a05622a130800b003f395641135mr1930216qtk.8.1684354503446; Wed, 17 May 2023 13:15:03 -0700 (PDT) Received: from megalith.ht.home (cpe64777de11593-cm64777de11590.cpe.net.cable.rogers.com. [174.115.224.47]) by smtp.gmail.com with ESMTPSA id z10-20020a05620a100a00b007592547a822sm868084qkj.80.2023.05.17.13.15.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 13:15:03 -0700 (PDT) From: Trevor Gamblin To: yocto@lists.yoctoproject.org Subject: [PATCH 11/11] python3-tomlkit: add recipe Date: Wed, 17 May 2023 16:14:56 -0400 Message-Id: <20230517201456.1608917-12-tgamblin@baylibre.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20230517201456.1608917-1-tgamblin@baylibre.com> References: <20230517201456.1608917-1-tgamblin@baylibre.com> 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 ; Wed, 17 May 2023 20:15:12 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto/message/60058 python3-pylint requires python3-tomlkit, so copy the recipe from meta-python to avoid requiring that layer for patchtest. Signed-off-by: Trevor Gamblin --- .../python/python3-tomlkit/run-ptest | 3 +++ .../python/python3-tomlkit_0.11.8.bb | 23 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 meta-patchtest/recipes-devtools/python/python3-tomlkit/run-ptest create mode 100644 meta-patchtest/recipes-devtools/python/python3-tomlkit_0.11.8.bb diff --git a/meta-patchtest/recipes-devtools/python/python3-tomlkit/run-ptest b/meta-patchtest/recipes-devtools/python/python3-tomlkit/run-ptest new file mode 100644 index 0000000..b63c4de --- /dev/null +++ b/meta-patchtest/recipes-devtools/python/python3-tomlkit/run-ptest @@ -0,0 +1,3 @@ +#!/bin/sh + +pytest -o log_cli=true -o log_cli_level=INFO | sed -e 's/\[...%\]//g'| sed -e 's/PASSED/PASS/g'| sed -e 's/FAILED/FAIL/g'|sed -e 's/SKIPPED/SKIP/g'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS"){printf "%s: %s\n", $NF, $0}else{print}}'| awk '{if ($NF=="PASS" || $NF=="FAIL" || $NF=="SKIP" || $NF=="XFAIL" || $NF=="XPASS") {$NF="";print $0}else{print}}' diff --git a/meta-patchtest/recipes-devtools/python/python3-tomlkit_0.11.8.bb b/meta-patchtest/recipes-devtools/python/python3-tomlkit_0.11.8.bb new file mode 100644 index 0000000..71a43c4 --- /dev/null +++ b/meta-patchtest/recipes-devtools/python/python3-tomlkit_0.11.8.bb @@ -0,0 +1,23 @@ +SUMMARY = "Style preserving TOML library" +HOMEPAGE = "https://pypi.org/project/tomlkit/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=31aac0dbc1babd278d5386dadb7f8e82" + +SRC_URI[sha256sum] = "9330fc7faa1db67b541b28e62018c17d20be733177d290a13b24c62d1614e0c3" + +inherit pypi python_poetry_core ptest + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-poetry-core \ + ${PYTHON_PN}-pytest \ + ${PYTHON_PN}-pyyaml \ +" + +do_install_ptest() { + install -d ${D}${PTEST_PATH}/tests + cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ +}