From patchwork Tue May 24 12:11:47 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 8428 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 B7CFEC433FE for ; Tue, 24 May 2022 12:12:06 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.8610.1653394317812284551 for ; Tue, 24 May 2022 05:11:58 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 3EC731FB; Tue, 24 May 2022 05:11:57 -0700 (PDT) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 53DD73F66F; Tue, 24 May 2022 05:11:56 -0700 (PDT) From: Ross Burton To: openembedded-devel@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH 1/7] python3-setuptools-scm-git-archive: add new recipe Date: Tue, 24 May 2022 13:11:47 +0100 Message-Id: <20220524121153.1175133-1-ross.burton@arm.com> X-Mailer: git-send-email 2.25.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 ; Tue, 24 May 2022 12:12:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97242 Some Python packages use this at build time. Signed-off-by: Ross Burton --- .../packagegroups/packagegroup-meta-python.bb | 1 + .../python3-setuptools-scm-git-archive_1.1.bb | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-setuptools-scm-git-archive_1.1.bb diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 6ca652e12d..bab637bfb2 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -389,6 +389,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-send2trash \ python3-sentry-sdk \ python3-serpent \ + python3-setuptools-scm-git-archive \ python3-sh \ python3-sijax \ python3-simpleeval \ diff --git a/meta-python/recipes-devtools/python/python3-setuptools-scm-git-archive_1.1.bb b/meta-python/recipes-devtools/python/python3-setuptools-scm-git-archive_1.1.bb new file mode 100644 index 0000000000..472c4eb1c8 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-setuptools-scm-git-archive_1.1.bb @@ -0,0 +1,15 @@ +SUMMARY = "setuptools_scm plugin for git archives" +HOMEPAGE = "https://pypi.org/project/setuptools-scm-git-archive/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=838c366f69b72c5df05c96dff79b35f2" + +SRC_URI[sha256sum] = "6026f61089b73fa1b5ee737e95314f41cb512609b393530385ed281d0b46c062" + +inherit pypi setuptools3 + +PYPI_PACKAGE = "setuptools_scm_git_archive" +PYPI_SRC_URI = "https://files.pythonhosted.org/packages/7e/2c/0c15b29a1b5940250bfdc4a4f53272e35cd7cf8a34159291b6b4ec9eb291/${PYPI_ARCHIVE_NAME}" + +DEPENDS += "python3-setuptools-scm-native" + +BBCLASSEXTEND = "native nativesdk" From patchwork Tue May 24 12:11:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 8433 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 CFBC9C4167B for ; Tue, 24 May 2022 12:12:06 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web08.8521.1653394318894884247 for ; Tue, 24 May 2022 05:11:59 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6600023A; Tue, 24 May 2022 05:11:58 -0700 (PDT) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9175C3F66F; Tue, 24 May 2022 05:11:57 -0700 (PDT) From: Ross Burton To: openembedded-devel@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH 2/7] python3-setuptools-declarative-requirements: add new recipe Date: Tue, 24 May 2022 13:11:48 +0100 Message-Id: <20220524121153.1175133-2-ross.burton@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220524121153.1175133-1-ross.burton@arm.com> References: <20220524121153.1175133-1-ross.burton@arm.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 ; Tue, 24 May 2022 12:12:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97243 Some Python packages use this in their setup.cfg. Signed-off-by: Ross Burton --- .../packagegroups/packagegroup-meta-python.bb | 1 + ...hon3-setuptools-declarative-requirements_1.2.0.bb | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-setuptools-declarative-requirements_1.2.0.bb diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index bab637bfb2..594a72f526 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -389,6 +389,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-send2trash \ python3-sentry-sdk \ python3-serpent \ + python3-setuptools-declarative-requirements \ python3-setuptools-scm-git-archive \ python3-sh \ python3-sijax \ diff --git a/meta-python/recipes-devtools/python/python3-setuptools-declarative-requirements_1.2.0.bb b/meta-python/recipes-devtools/python/python3-setuptools-declarative-requirements_1.2.0.bb new file mode 100644 index 0000000000..9628656ad6 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-setuptools-declarative-requirements_1.2.0.bb @@ -0,0 +1,12 @@ +SUMMARY = "File support for setuptools declarative setup.cfg" +HOMEPAGE = "https://pypi.org/project/setuptools-declarative-requirements/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRC_URI[sha256sum] = "d11fdb5ef818c65b20bc241e0f5ef44905a5640b681dae21ba1ac1742dab1fd1" + +inherit pypi python_setuptools_build_meta + +DEPENDS += "python3-setuptools-scm-native" + +BBCLASSEXTEND = "native nativesdk" From patchwork Tue May 24 12:11:49 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 8432 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 CA1EAC4167D for ; Tue, 24 May 2022 12:12:06 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.8524.1653394320136674747 for ; Tue, 24 May 2022 05:12:00 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 9ADEA1FB; Tue, 24 May 2022 05:11:59 -0700 (PDT) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CDFDC3F66F; Tue, 24 May 2022 05:11:58 -0700 (PDT) From: Ross Burton To: openembedded-devel@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH 3/7] python3-editables: add new recipe Date: Tue, 24 May 2022 13:11:49 +0100 Message-Id: <20220524121153.1175133-3-ross.burton@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220524121153.1175133-1-ross.burton@arm.com> References: <20220524121153.1175133-1-ross.burton@arm.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 ; Tue, 24 May 2022 12:12:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97244 Signed-off-by: Ross Burton --- .../packagegroups/packagegroup-meta-python.bb | 1 + .../recipes-devtools/python/python3-editables_0.3.bb | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-editables_0.3.bb diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 594a72f526..7836853cd5 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -106,6 +106,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-dominate \ python3-dynamic-dispatch \ python3-ecdsa \ + python3-editables \ python3-editor \ python3-email-validator \ python3-engineio \ diff --git a/meta-python/recipes-devtools/python/python3-editables_0.3.bb b/meta-python/recipes-devtools/python/python3-editables_0.3.bb new file mode 100644 index 0000000000..b42ff06872 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-editables_0.3.bb @@ -0,0 +1,11 @@ +SUMMARY = "A Python library for creating editable wheels" +HOMEPAGE = "https://github.com/pfmoore/editables" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=41bc1be47b7bb8240db3ef928c7cb0bf" + +SRC_URI[sha256sum] = "167524e377358ed1f1374e61c268f0d7a4bf7dbd046c656f7b410cde16161b1a" + +inherit pypi python_setuptools_build_meta + +BBCLASSEXTEND = "native nativesdk" From patchwork Tue May 24 12:11:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 8430 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 CA150C4321E for ; Tue, 24 May 2022 12:12:06 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.8526.1653394321196533617 for ; Tue, 24 May 2022 05:12:01 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id CBDB423A; Tue, 24 May 2022 05:12:00 -0700 (PDT) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0FEC43F66F; Tue, 24 May 2022 05:11:59 -0700 (PDT) From: Ross Burton To: openembedded-devel@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH 4/7] python3-pathspec: add new recipe Date: Tue, 24 May 2022 13:11:50 +0100 Message-Id: <20220524121153.1175133-4-ross.burton@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220524121153.1175133-1-ross.burton@arm.com> References: <20220524121153.1175133-1-ross.burton@arm.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 ; Tue, 24 May 2022 12:12:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97245 Signed-off-by: Ross Burton --- .../packagegroups/packagegroup-meta-python.bb | 1 + .../recipes-devtools/python/python3-pathspec_0.9.0.bb | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-pathspec_0.9.0.bb diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 7836853cd5..2fcf34260c 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -270,6 +270,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-parso \ python3-passlib \ python3-pastedeploy \ + python3-pathspec \ python3-pathtools3 \ python3-pep8 \ python3-periphery \ diff --git a/meta-python/recipes-devtools/python/python3-pathspec_0.9.0.bb b/meta-python/recipes-devtools/python/python3-pathspec_0.9.0.bb new file mode 100644 index 0000000000..641f1cfd87 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-pathspec_0.9.0.bb @@ -0,0 +1,11 @@ +SUMMARY = "Utility library for gitignore style pattern matching of file paths." +HOMEPAGE = "https://github.com/cpburnz/python-path-specification" +SECTION = "devel/python" +LICENSE = "MPL-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=815ca599c9df247a0c7f619bab123dad" + +SRC_URI[sha256sum] = "e564499435a2673d586f6b2130bb5b95f04a3ba06f81b8f895b651a3c76aabb1" + +inherit pypi setuptools3 + +BBCLASSEXTEND = "native nativesdk" From patchwork Tue May 24 12:11:51 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 8431 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 C4363C43219 for ; Tue, 24 May 2022 12:12:06 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.8528.1653394322658049246 for ; Tue, 24 May 2022 05:12:03 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1A4E31FB; Tue, 24 May 2022 05:12:02 -0700 (PDT) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 474B23F66F; Tue, 24 May 2022 05:12:01 -0700 (PDT) From: Ross Burton To: openembedded-devel@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH 5/7] python3-hatchling: add new recipe and build class Date: Tue, 24 May 2022 13:11:51 +0100 Message-Id: <20220524121153.1175133-5-ross.burton@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220524121153.1175133-1-ross.burton@arm.com> References: <20220524121153.1175133-1-ross.burton@arm.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 ; Tue, 24 May 2022 12:12:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97246 Hatchling is the build backend used by the Hatch tool. Add the recipe and a pep517 build class. Signed-off-by: Ross Burton --- meta-python/classes/python_hatchling.bbclass | 5 +++++ .../packagegroups/packagegroup-meta-python.bb | 1 + .../python/python3-hatchling_1.3.0.bb | 21 +++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 100644 meta-python/classes/python_hatchling.bbclass create mode 100644 meta-python/recipes-devtools/python/python3-hatchling_1.3.0.bb diff --git a/meta-python/classes/python_hatchling.bbclass b/meta-python/classes/python_hatchling.bbclass new file mode 100644 index 0000000000..b3cbe23601 --- /dev/null +++ b/meta-python/classes/python_hatchling.bbclass @@ -0,0 +1,5 @@ +inherit python_pep517 python3native python3-dir setuptools3-base + +DEPENDS += "python3-hatchling-native" + +PEP517_BUILD_API = "hatchling.build" diff --git a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb index 2fcf34260c..80ec0720fd 100644 --- a/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb +++ b/meta-python/recipes-core/packagegroups/packagegroup-meta-python.bb @@ -168,6 +168,7 @@ RDEPENDS:packagegroup-meta-python3 = "\ python3-h11 \ python3-h2 \ python3-h5py \ + python3-hatchling \ python3-haversine \ python3-hpack \ python3-html2text \ diff --git a/meta-python/recipes-devtools/python/python3-hatchling_1.3.0.bb b/meta-python/recipes-devtools/python/python3-hatchling_1.3.0.bb new file mode 100644 index 0000000000..a6550a9732 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-hatchling_1.3.0.bb @@ -0,0 +1,21 @@ +SUMMARY = "The extensible, standards compliant build backend used by Hatch" +HOMEPAGE = "https://hatch.pypa.io/latest/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=cbe2fd33fc9297692812fc94b7d27fd9" + +inherit pypi python_hatchling + +DEPENDS += "python3-pluggy-native python3-tomli-native python3-pathspec-native python3-packaging-native python3-editables-native" +DEPENDS:remove:class-native = "python3-hatchling-native" + +SRC_URI[sha256sum] = "1401d45d3dd6a5910f64d539acaa943486d5e8b7dda1a97f2b0040fdddc5b85e" + +# Until we have a proper tool to invoke PEP517 builds, hatchling can't +# bootstrap itself automatically. +PEP517_BUILD_API = "hatchling.ouroboros" + +do_compile:prepend() { + export PYTHONPATH=src +} + +BBCLASSEXTEND = "native nativesdk" From patchwork Tue May 24 12:11:52 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 8429 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 B8A7AC4332F for ; Tue, 24 May 2022 12:12:06 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web08.8523.1653394323769012828 for ; Tue, 24 May 2022 05:12:04 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 697901FB; Tue, 24 May 2022 05:12:03 -0700 (PDT) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 878ED3F66F; Tue, 24 May 2022 05:12:02 -0700 (PDT) From: Ross Burton To: openembedded-devel@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH 6/7] python3-traitlets: upgrade to 5.2.1 Date: Tue, 24 May 2022 13:11:52 +0100 Message-Id: <20220524121153.1175133-6-ross.burton@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220524121153.1175133-1-ross.burton@arm.com> References: <20220524121153.1175133-1-ross.burton@arm.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 ; Tue, 24 May 2022 12:12:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97247 This now uses hatching to build. Also remove redundant PYPI_PACKAGE assignment. Signed-off-by: Ross Burton --- ...ython3-traitlets_5.2.0.bb => python3-traitlets_5.2.1.bb} | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) rename meta-python/recipes-devtools/python/{python3-traitlets_5.2.0.bb => python3-traitlets_5.2.1.bb} (67%) diff --git a/meta-python/recipes-devtools/python/python3-traitlets_5.2.0.bb b/meta-python/recipes-devtools/python/python3-traitlets_5.2.1.bb similarity index 67% rename from meta-python/recipes-devtools/python/python3-traitlets_5.2.0.bb rename to meta-python/recipes-devtools/python/python3-traitlets_5.2.1.bb index 56ebaac675..3bc977279a 100644 --- a/meta-python/recipes-devtools/python/python3-traitlets_5.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-traitlets_5.2.1.bb @@ -4,13 +4,11 @@ AUTHOR = "IPython Development Team " LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING.md;md5=9c125dfc5ff5364d40b5f56f02cd9de3" -PYPI_PACKAGE = "traitlets" +SRC_URI[sha256sum] = "a415578cde1985f1b773faefe49e9f078d345f38665ce3e9e914ec7b41150ce9" -SRC_URI[sha256sum] = "60474f39bf1d39a11e0233090b99af3acee93bbc2281777e61dd8c87da8a0014" +inherit pypi python_hatchling RDEPENDS:${PN} = "\ ${PYTHON_PN}-ipython-genutils \ ${PYTHON_PN}-decorator \ " - -inherit pypi python_setuptools_build_meta From patchwork Tue May 24 12:11:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 8427 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 BB7B8C43217 for ; Tue, 24 May 2022 12:12:06 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web09.8426.1653394325343223832 for ; Tue, 24 May 2022 05:12:05 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: ross.burton@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ED4C723A; Tue, 24 May 2022 05:12:04 -0700 (PDT) Received: from oss-tx204.lab.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id F1C463F66F; Tue, 24 May 2022 05:12:03 -0700 (PDT) From: Ross Burton To: openembedded-devel@lists.openembedded.org Cc: nd@arm.com Subject: [PATCH 7/7] python3-cppy: fix inherits and DEPENDS Date: Tue, 24 May 2022 13:11:53 +0100 Message-Id: <20220524121153.1175133-7-ross.burton@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220524121153.1175133-1-ross.burton@arm.com> References: <20220524121153.1175133-1-ross.burton@arm.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 ; Tue, 24 May 2022 12:12:06 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/97248 This recipe inherited python_flit_core, but actually builds with setuptools. Signed-off-by: Ross Burton --- meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb b/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb index 57ef3b2776..270f74963d 100644 --- a/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-cppy_1.2.1.bb @@ -7,11 +7,11 @@ SRC_URI[sha256sum] = "83b43bf17b1085ac15c5debdb42154f138b928234b21447358981f69d0 RDEPENDS:${PN} += "python3-setuptools python3-distutils" -inherit pypi python_flit_core +inherit pypi python_setuptools_build_meta SRC_URI += " file://0001-Fix-build-error-as-following.patch \ " -DEPENDS += "python3-setuptools-native" +DEPENDS += "python3-setuptools-scm-native" BBCLASSEXTEND = "native nativesdk"