From patchwork Wed Jul 30 16:03:31 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 67742 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 528B4C83F26 for ; Wed, 30 Jul 2025 16:03:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.39267.1753891428709453250 for ; Wed, 30 Jul 2025 09:03:48 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 2110D1BF7 for ; Wed, 30 Jul 2025 09:03:40 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.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 ESMTPA id B4A3F3F66E for ; Wed, 30 Jul 2025 09:03:47 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 01/13] classes/python_pep517: centralise shared inherits Date: Wed, 30 Jul 2025 17:03:31 +0100 Message-ID: <20250730160343.4053614-1-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 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, 30 Jul 2025 16:03:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/221122 For the build process to actually work some inherits are always needed: - python3native for the python that is actually running build. - setuptools3-base (badly named) defines how to build extensions and where to put modules. Instead of inheriting these in every class, inherit them once in the python_pep517 class. Signed-off-by: Ross Burton --- meta/classes-recipe/python_flit_core.bbclass | 2 +- meta/classes-recipe/python_hatchling.bbclass | 2 +- meta/classes-recipe/python_mesonpy.bbclass | 2 +- meta/classes-recipe/python_pep517.bbclass | 2 ++ meta/classes-recipe/python_poetry_core.bbclass | 2 +- meta/classes-recipe/python_setuptools_build_meta.bbclass | 2 +- 6 files changed, 7 insertions(+), 5 deletions(-) diff --git a/meta/classes-recipe/python_flit_core.bbclass b/meta/classes-recipe/python_flit_core.bbclass index c5480654f3b..cb40ab0faf4 100644 --- a/meta/classes-recipe/python_flit_core.bbclass +++ b/meta/classes-recipe/python_flit_core.bbclass @@ -4,7 +4,7 @@ # SPDX-License-Identifier: MIT # -inherit python_pep517 python3native python3-dir setuptools3-base +inherit python_pep517 DEPENDS += "python3-flit-core-native" diff --git a/meta/classes-recipe/python_hatchling.bbclass b/meta/classes-recipe/python_hatchling.bbclass index b5a3c3feea5..6765ddbe8ce 100644 --- a/meta/classes-recipe/python_hatchling.bbclass +++ b/meta/classes-recipe/python_hatchling.bbclass @@ -4,7 +4,7 @@ # SPDX-License-Identifier: MIT # -inherit python_pep517 python3native python3-dir setuptools3-base +inherit python_pep517 DEPENDS += "python3-hatchling-native" diff --git a/meta/classes-recipe/python_mesonpy.bbclass b/meta/classes-recipe/python_mesonpy.bbclass index 81c087c7c75..d62f2d4374b 100644 --- a/meta/classes-recipe/python_mesonpy.bbclass +++ b/meta/classes-recipe/python_mesonpy.bbclass @@ -4,7 +4,7 @@ # SPDX-License-Identifier: MIT # -inherit meson setuptools3-base python3targetconfig python_pep517 +inherit meson python_pep517 # meson_do_qa_configure does the wrong thing here because # mesonpy runs "meson setup ..." in do_compile context. diff --git a/meta/classes-recipe/python_pep517.bbclass b/meta/classes-recipe/python_pep517.bbclass index e8cd1923ef2..880aadb2e23 100644 --- a/meta/classes-recipe/python_pep517.bbclass +++ b/meta/classes-recipe/python_pep517.bbclass @@ -10,6 +10,8 @@ # This class will build a wheel in do_compile, and use pypa/installer to install # it in do_install. +inherit python3native python3-dir setuptools3-base + DEPENDS:append = " python3-build-native python3-installer-native" # Where to execute the build process from diff --git a/meta/classes-recipe/python_poetry_core.bbclass b/meta/classes-recipe/python_poetry_core.bbclass index c7dc5d0382e..35a2f137cbe 100644 --- a/meta/classes-recipe/python_poetry_core.bbclass +++ b/meta/classes-recipe/python_poetry_core.bbclass @@ -4,6 +4,6 @@ # SPDX-License-Identifier: MIT # -inherit python_pep517 python3native setuptools3-base +inherit python_pep517 DEPENDS += "python3-poetry-core-native" diff --git a/meta/classes-recipe/python_setuptools_build_meta.bbclass b/meta/classes-recipe/python_setuptools_build_meta.bbclass index 4c84d1e8d0b..c7b12e53093 100644 --- a/meta/classes-recipe/python_setuptools_build_meta.bbclass +++ b/meta/classes-recipe/python_setuptools_build_meta.bbclass @@ -4,6 +4,6 @@ # SPDX-License-Identifier: MIT # -inherit setuptools3-base python_pep517 +inherit python_pep517 DEPENDS += "python3-setuptools-native python3-wheel-native" From patchwork Wed Jul 30 16:03:32 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 67741 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 54C8BC87FCC for ; Wed, 30 Jul 2025 16:03:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.39268.1753891429283549111 for ; Wed, 30 Jul 2025 09:03:49 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 C4E3B1E5E for ; Wed, 30 Jul 2025 09:03:40 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.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 ESMTPA id 5D23A3F66E for ; Wed, 30 Jul 2025 09:03:48 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 02/13] classes/python_maturin: don't pull in setuptools Date: Wed, 30 Jul 2025 17:03:32 +0100 Message-ID: <20250730160343.4053614-2-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250730160343.4053614-1-ross.burton@arm.com> References: <20250730160343.4053614-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 ; Wed, 30 Jul 2025 16:03:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/221123 There's no need to pull in python_setuptools_build_meta as maturin is a build system of its own. Signed-off-by: Ross Burton --- meta/classes-recipe/python_maturin.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes-recipe/python_maturin.bbclass b/meta/classes-recipe/python_maturin.bbclass index c39d6c6e37d..5892bf5ecd1 100644 --- a/meta/classes-recipe/python_maturin.bbclass +++ b/meta/classes-recipe/python_maturin.bbclass @@ -4,7 +4,7 @@ # SPDX-License-Identifier: MIT # -inherit python_pyo3 python_setuptools_build_meta +inherit python_pyo3 python_pep517 DEPENDS += "python3-maturin-native" From patchwork Wed Jul 30 16:03:33 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 67744 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 6ECA8C87FCE for ; Wed, 30 Jul 2025 16:03:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.39269.1753891429915433855 for ; Wed, 30 Jul 2025 09:03:50 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 75F831BF7 for ; Wed, 30 Jul 2025 09:03:41 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.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 ESMTPA id 0DA513F66E for ; Wed, 30 Jul 2025 09:03:48 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 03/13] classes/python_pdm: add PEP517 build class for PDM Date: Wed, 30 Jul 2025 17:03:33 +0100 Message-ID: <20250730160343.4053614-3-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250730160343.4053614-1-ross.burton@arm.com> References: <20250730160343.4053614-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 ; Wed, 30 Jul 2025 16:03:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/221124 PDM[1] is yet another build/package manager for Python that is fairly common now, so add a class for it. Signed-off-by: Ross Burton [1] https://pdm-project.org/ --- meta/classes-recipe/python_pdm.bbclass | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 meta/classes-recipe/python_pdm.bbclass diff --git a/meta/classes-recipe/python_pdm.bbclass b/meta/classes-recipe/python_pdm.bbclass new file mode 100644 index 00000000000..9a34d984227 --- /dev/null +++ b/meta/classes-recipe/python_pdm.bbclass @@ -0,0 +1,9 @@ +# +# Copyright OpenEmbedded Contributors +# +# SPDX-License-Identifier: MIT +# + +inherit python_pep517 + +DEPENDS += "python3-pdm-backend-native" From patchwork Wed Jul 30 16:03:34 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 67746 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 72FA1C87FD3 for ; Wed, 30 Jul 2025 16:03:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.39293.1753891430576359168 for ; Wed, 30 Jul 2025 09:03:50 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 26BF21BF7 for ; Wed, 30 Jul 2025 09:03:42 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.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 ESMTPA id B2A413F66E for ; Wed, 30 Jul 2025 09:03:49 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 04/13] python3-cryptography: add missing openssl DEPENDS Date: Wed, 30 Jul 2025 17:03:34 +0100 Message-ID: <20250730160343.4053614-4-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250730160343.4053614-1-ross.burton@arm.com> References: <20250730160343.4053614-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 ; Wed, 30 Jul 2025 16:03:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/221125 This package links to openssl, so add it to the dependencies explicitly. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-cryptography.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-devtools/python/python3-cryptography.bb b/meta/recipes-devtools/python/python3-cryptography.bb index f41e13f4a1c..5963064b724 100644 --- a/meta/recipes-devtools/python/python3-cryptography.bb +++ b/meta/recipes-devtools/python/python3-cryptography.bb @@ -24,6 +24,7 @@ inherit pypi python_maturin cargo-update-recipe-crates pkgconfig DEPENDS += " \ python3-cffi-native \ + openssl \ " RDEPENDS:${PN} += " \ From patchwork Wed Jul 30 16:03:35 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 67743 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 61FA5C87FD2 for ; Wed, 30 Jul 2025 16:03:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.39294.1753891431215235114 for ; Wed, 30 Jul 2025 09:03:51 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 CBAC61BF7 for ; Wed, 30 Jul 2025 09:03:42 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.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 ESMTPA id 63CBB3F66E for ; Wed, 30 Jul 2025 09:03:50 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 05/13] python3-cryptography-vectors: use correct build backend Date: Wed, 30 Jul 2025 17:03:35 +0100 Message-ID: <20250730160343.4053614-5-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250730160343.4053614-1-ross.burton@arm.com> References: <20250730160343.4053614-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 ; Wed, 30 Jul 2025 16:03:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/221126 This package uses flit, not setuptools. Also there's no need for it to depend on python3-cryptography. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-cryptography-vectors.bb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/meta/recipes-devtools/python/python3-cryptography-vectors.bb b/meta/recipes-devtools/python/python3-cryptography-vectors.bb index a8f8d0cd17e..3df61315ea9 100644 --- a/meta/recipes-devtools/python/python3-cryptography-vectors.bb +++ b/meta/recipes-devtools/python/python3-cryptography-vectors.bb @@ -14,10 +14,6 @@ SRC_URI[sha256sum] = "fbb0408df8ff2d2b3dbd2928bc5b7feebfdd36fb092fa8790d5778a9b9 PYPI_PACKAGE = "cryptography_vectors" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -inherit pypi python_setuptools_build_meta - -DEPENDS += " \ - python3-cryptography \ -" +inherit pypi python_flit_core BBCLASSEXTEND = "native nativesdk" From patchwork Wed Jul 30 16:03:36 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 67745 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 61CDEC87FCB for ; Wed, 30 Jul 2025 16:03:52 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.39270.1753891431812401968 for ; Wed, 30 Jul 2025 09:03:51 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 7B16F1BF7 for ; Wed, 30 Jul 2025 09:03:43 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.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 ESMTPA id 1481F3F66E for ; Wed, 30 Jul 2025 09:03:50 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 06/13] python3-editables: use correct build backend Date: Wed, 30 Jul 2025 17:03:36 +0100 Message-ID: <20250730160343.4053614-6-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250730160343.4053614-1-ross.burton@arm.com> References: <20250730160343.4053614-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 ; Wed, 30 Jul 2025 16:03:52 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/221127 This package uses flit, not setuptools. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-editables_0.5.bb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/meta/recipes-devtools/python/python3-editables_0.5.bb b/meta/recipes-devtools/python/python3-editables_0.5.bb index f3261183cb4..11566f096b9 100644 --- a/meta/recipes-devtools/python/python3-editables_0.5.bb +++ b/meta/recipes-devtools/python/python3-editables_0.5.bb @@ -6,10 +6,8 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=41bc1be47b7bb8240db3ef928c7cb0bf" SRC_URI[sha256sum] = "309627d9b5c4adc0e668d8c6fa7bac1ba7c8c5d415c2d27f60f081f8e80d1de2" -inherit pypi python_setuptools_build_meta +inherit pypi python_flit_core -RDEPENDS:${PN} += "\ - python3-io \ -" +RDEPENDS:${PN} += "python3-io" BBCLASSEXTEND = "native nativesdk" From patchwork Wed Jul 30 16:03:37 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 67747 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 756E0C87FCB for ; Wed, 30 Jul 2025 16:04:02 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.39295.1753891432536934687 for ; Wed, 30 Jul 2025 09:03:52 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 2DB121BF7 for ; Wed, 30 Jul 2025 09:03:44 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.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 ESMTPA id B98173F66E for ; Wed, 30 Jul 2025 09:03:51 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 07/13] python3-pdm: use new python_pdm class Date: Wed, 30 Jul 2025 17:03:37 +0100 Message-ID: <20250730160343.4053614-7-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250730160343.4053614-1-ross.burton@arm.com> References: <20250730160343.4053614-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 ; Wed, 30 Jul 2025 16:04:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/221128 Instead of using the setuptoools class but not using setuptools, use the new python_pdm class. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pdm_2.25.4.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta/recipes-devtools/python/python3-pdm_2.25.4.bb b/meta/recipes-devtools/python/python3-pdm_2.25.4.bb index 1e25e189742..da77ed8f6c6 100644 --- a/meta/recipes-devtools/python/python3-pdm_2.25.4.bb +++ b/meta/recipes-devtools/python/python3-pdm_2.25.4.bb @@ -6,10 +6,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=2eb31a2cc1a758c34b499f287dd04ef2" SRC_URI[sha256sum] = "bd655d789429928d6e27ff6693c19c82bc81aa75ba51d7b1c6102d039c8f211c" -inherit pypi python_setuptools_build_meta +inherit pypi python_pdm DEPENDS += " \ - python3-pdm-backend-native \ python3-pdm-build-locked-native \ " From patchwork Wed Jul 30 16:03:38 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 67752 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 8090FC87FCC for ; Wed, 30 Jul 2025 16:04:02 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.39297.1753891433212732223 for ; Wed, 30 Jul 2025 09:03:53 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 D15DC1BF7 for ; Wed, 30 Jul 2025 09:03:44 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.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 ESMTPA id 6A82E3F66E for ; Wed, 30 Jul 2025 09:03:52 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 08/13] python3-pdm-backend: don't inherit python_setuptools_build_meta Date: Wed, 30 Jul 2025 17:03:38 +0100 Message-ID: <20250730160343.4053614-8-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250730160343.4053614-1-ross.burton@arm.com> References: <20250730160343.4053614-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 ; Wed, 30 Jul 2025 16:04:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/221129 This package uses itself to build as it is the build backend, so just inherit python_pep517. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-pdm-backend_2.4.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-pdm-backend_2.4.5.bb b/meta/recipes-devtools/python/python3-pdm-backend_2.4.5.bb index e0fe16bd715..5e6d75c1882 100644 --- a/meta/recipes-devtools/python/python3-pdm-backend_2.4.5.bb +++ b/meta/recipes-devtools/python/python3-pdm-backend_2.4.5.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4a564297b3c5b629a528b92fd8ff61ea" SRC_URI[sha256sum] = "56c019c440308adad5d057c08cbb777e65f43b991a3b0920749781258972fe5b" -inherit pypi python_setuptools_build_meta +inherit pypi python_pep517 PYPI_PACKAGE = "pdm_backend" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" From patchwork Wed Jul 30 16:03:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 67751 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 A08C8C87FD3 for ; Wed, 30 Jul 2025 16:04:02 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.39275.1753891433892461708 for ; Wed, 30 Jul 2025 09:03:54 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 803C31BF7 for ; Wed, 30 Jul 2025 09:03:45 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.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 ESMTPA id 1B4F23F66E for ; Wed, 30 Jul 2025 09:03:52 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 09/13] python3-pdm-build-locked: use new python_pdm class Date: Wed, 30 Jul 2025 17:03:39 +0100 Message-ID: <20250730160343.4053614-9-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250730160343.4053614-1-ross.burton@arm.com> References: <20250730160343.4053614-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 ; Wed, 30 Jul 2025 16:04:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/221130 Instead of using the setuptoools class but not using setuptools, use the new python_pdm class. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb b/meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb index 12afe8bcf4f..e8f2ad0e93b 100644 --- a/meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb +++ b/meta/recipes-devtools/python/python3-pdm-build-locked_0.3.5.bb @@ -5,9 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=19382cdf9c143df4f00b9caa0b60c75a" SRC_URI[sha256sum] = "ab2f381e00d79841d46be2e6909c265038b9fa951de2bf551ca6adb7f6844201" -inherit pypi python_setuptools_build_meta - -DEPENDS += " python3-pdm-backend-native" +inherit pypi python_pdm PYPI_PACKAGE = "pdm_build_locked" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" From patchwork Wed Jul 30 16:03:40 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 67753 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 AB357C87FD4 for ; Wed, 30 Jul 2025 16:04:02 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.39276.1753891434520190964 for ; Wed, 30 Jul 2025 09:03:54 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 342F61BF7 for ; Wed, 30 Jul 2025 09:03:46 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.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 ESMTPA id C05283F66E for ; Wed, 30 Jul 2025 09:03:53 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 10/13] python3-pyproject-metadata: use correct build backend Date: Wed, 30 Jul 2025 17:03:40 +0100 Message-ID: <20250730160343.4053614-10-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250730160343.4053614-1-ross.burton@arm.com> References: <20250730160343.4053614-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 ; Wed, 30 Jul 2025 16:04:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/221131 This package uses flit, not setuptools. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-pyproject-metadata_0.9.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-pyproject-metadata_0.9.1.bb b/meta/recipes-devtools/python/python3-pyproject-metadata_0.9.1.bb index 4c58da3c075..d3a93efa31f 100644 --- a/meta/recipes-devtools/python/python3-pyproject-metadata_0.9.1.bb +++ b/meta/recipes-devtools/python/python3-pyproject-metadata_0.9.1.bb @@ -15,7 +15,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=310439af287b0fb4780b2ad6907c256c" PYPI_PACKAGE = "pyproject_metadata" UPSTREAM_CHECK_PYPI_PACKAGE = "${PYPI_PACKAGE}" -inherit pypi python_setuptools_build_meta +inherit pypi python_flit_core SRC_URI[sha256sum] = "b8b2253dd1b7062b78cf949a115f02ba7fa4114aabe63fa10528e9e1a954a816" From patchwork Wed Jul 30 16:03:41 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 67749 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 8F2BDC87FCE for ; Wed, 30 Jul 2025 16:04:02 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.39277.1753891435238976029 for ; Wed, 30 Jul 2025 09:03:55 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 D939A1BF7 for ; Wed, 30 Jul 2025 09:03:46 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.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 ESMTPA id 7128B3F66E for ; Wed, 30 Jul 2025 09:03:54 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 11/13] python3-webcolors: use new python_pdm class Date: Wed, 30 Jul 2025 17:03:41 +0100 Message-ID: <20250730160343.4053614-11-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250730160343.4053614-1-ross.burton@arm.com> References: <20250730160343.4053614-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 ; Wed, 30 Jul 2025 16:04:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/221132 Instead of using the setuptoools class but not using setuptools, use the new python_pdm class. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-webcolors_24.11.1.bb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb b/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb index cda63d2a35c..d5376145454 100644 --- a/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb +++ b/meta/recipes-devtools/python/python3-webcolors_24.11.1.bb @@ -5,12 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cbaebec43b7d199c7fd8f5411b3b0448" SRC_URI[sha256sum] = "ecb3d768f32202af770477b8b65f318fa4f566c22948673a977b00d589dd80f6" -inherit pypi python_setuptools_build_meta ptest-python-pytest - -DEPENDS += " \ - python3-pdm-native \ - python3-pdm-backend-native \ -" +inherit pypi python_pdm ptest-python-pytest RDEPENDS:${PN}:class-target = "\ python3-stringold \ From patchwork Wed Jul 30 16:03:42 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 67750 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 814B7C87FD2 for ; Wed, 30 Jul 2025 16:04:02 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.39279.1753891435985425279 for ; Wed, 30 Jul 2025 09:03:56 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 8A5901BF7 for ; Wed, 30 Jul 2025 09:03:47 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.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 ESMTPA id 220AE3F66E for ; Wed, 30 Jul 2025 09:03:55 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 12/13] python3-docutils: use correct build backend Date: Wed, 30 Jul 2025 17:03:42 +0100 Message-ID: <20250730160343.4053614-12-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250730160343.4053614-1-ross.burton@arm.com> References: <20250730160343.4053614-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 ; Wed, 30 Jul 2025 16:04:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/221133 This package uses flit, not setuptools. Signed-off-by: Ross Burton --- meta/recipes-devtools/python/python3-docutils_0.21.2.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-devtools/python/python3-docutils_0.21.2.bb b/meta/recipes-devtools/python/python3-docutils_0.21.2.bb index d9f81609134..237cabb1958 100644 --- a/meta/recipes-devtools/python/python3-docutils_0.21.2.bb +++ b/meta/recipes-devtools/python/python3-docutils_0.21.2.bb @@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING.txt;md5=382430a09a4453818aa6618f2090491b" SRC_URI[sha256sum] = "3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f" -inherit pypi python_setuptools_build_meta +inherit pypi python_flit_core RDEPENDS:${PN} += " \ python3-pprint \ From patchwork Wed Jul 30 16:03:43 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 67748 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 71347C83F26 for ; Wed, 30 Jul 2025 16:04:02 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.39280.1753891436456751191 for ; Wed, 30 Jul 2025 09:03:56 -0700 Authentication-Results: mx.groups.io; dkim=none (message not signed); 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 31E8F1BF7 for ; Wed, 30 Jul 2025 09:03:48 -0700 (PDT) Received: from cesw-amp-gbt-1s-m12830-04.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 ESMTPA id C71B63F66E for ; Wed, 30 Jul 2025 09:03:55 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [PATCH 13/13] python3-docutils: upgrade to 0.22 Date: Wed, 30 Jul 2025 17:03:43 +0100 Message-ID: <20250730160343.4053614-13-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250730160343.4053614-1-ross.burton@arm.com> References: <20250730160343.4053614-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 ; Wed, 30 Jul 2025 16:04:02 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/221134 License-Update: the code that was ZPL-licensed has been removed[1]. Explicitly set a non-GPLv3 LICENSE on the output package as we don't actually ship the GPLv3 file. This fixes the incorrect hashbangs, so we can remove the manual seds. Signed-off-by: Ross Burton [1] https://sourceforge.net/p/docutils/code/9977/ --- .../python/python3-docutils_0.21.2.bb | 22 ------------------- .../python/python3-docutils_0.22.bb | 16 ++++++++++++++ 2 files changed, 16 insertions(+), 22 deletions(-) delete mode 100644 meta/recipes-devtools/python/python3-docutils_0.21.2.bb create mode 100644 meta/recipes-devtools/python/python3-docutils_0.22.bb diff --git a/meta/recipes-devtools/python/python3-docutils_0.21.2.bb b/meta/recipes-devtools/python/python3-docutils_0.21.2.bb deleted file mode 100644 index 237cabb1958..00000000000 --- a/meta/recipes-devtools/python/python3-docutils_0.21.2.bb +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "Docutils is a modular system for processing documentation into useful formats" -HOMEPAGE = "http://docutils.sourceforge.net" -SECTION = "devel/python" -LICENSE = "CC0-1.0 & ZPL-2.1 & BSD-2-Clause & GPL-3.0-only" -LIC_FILES_CHKSUM = "file://COPYING.txt;md5=382430a09a4453818aa6618f2090491b" - -SRC_URI[sha256sum] = "3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f" - -inherit pypi python_flit_core - -RDEPENDS:${PN} += " \ - python3-pprint \ -" - -do_install:append() { - # Make sure we use /usr/bin/env python3 - for PYTHSCRIPT in `grep -rIl '^#!.*python' ${D}`; do - sed -i -e '1s|^#!.*|#!/usr/bin/env python3|' $PYTHSCRIPT - done -} - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-devtools/python/python3-docutils_0.22.bb b/meta/recipes-devtools/python/python3-docutils_0.22.bb new file mode 100644 index 00000000000..2dafa034fb2 --- /dev/null +++ b/meta/recipes-devtools/python/python3-docutils_0.22.bb @@ -0,0 +1,16 @@ +SUMMARY = "Docutils is a modular system for processing documentation into useful formats" +HOMEPAGE = "http://docutils.sourceforge.net" +SECTION = "devel/python" +LICENSE = "CC0-1.0 & BSD-2-Clause & GPL-3.0-only" +LIC_FILES_CHKSUM = "file://COPYING.rst;md5=ce467b04b35c7ac3429b6908fc8b318e" + +SRC_URI[sha256sum] = "ba9d57750e92331ebe7c08a1bbf7a7f8143b86c476acd51528b042216a6aad0f" + +inherit pypi python_flit_core + +RDEPENDS:${PN} += "python3-pprint" + +# We don't install the emacs lisp, which is the only piece of GPLv3 +LICENSE:${PN} = "CC0-1.0 & BSD-2-Clause" + +BBCLASSEXTEND = "native nativesdk"