From patchwork Thu Nov 14 21:59:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52495 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 BAD70D6A23D for ; Thu, 14 Nov 2024 22:00:17 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.6506.1731621612903711636 for ; Thu, 14 Nov 2024 14:00:13 -0800 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 621381474 for ; Thu, 14 Nov 2024 14:00:42 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 0B0123F66E for ; Thu, 14 Nov 2024 14:00:11 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 01/21] blueman: inherit cython class Date: Thu, 14 Nov 2024 21:59:49 +0000 Message-Id: <20241114220009.737413-1-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Thu, 14 Nov 2024 22:00:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113824 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb b/meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb index e7f0987e0f..974c563299 100644 --- a/meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb +++ b/meta-networking/recipes-connectivity/blueman/blueman_2.4.3.bb @@ -2,9 +2,9 @@ DESCRIPTION = "Blueman is a GTK+ Bluetooth Manager" LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -DEPENDS = "gtk+3 glib-2.0 bluez5 python3-pygobject python3-cython-native" +DEPENDS = "gtk+3 glib-2.0 bluez5 python3-pygobject" -inherit meson gettext systemd gsettings pkgconfig python3native gtk-icon-cache features_check python3targetconfig +inherit meson gettext systemd gsettings pkgconfig python3native gtk-icon-cache features_check python3targetconfig cython REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" From patchwork Thu Nov 14 21:59:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52500 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 E15B0D6A246 for ; Thu, 14 Nov 2024 22:00:17 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.6507.1731621613489671339 for ; Thu, 14 Nov 2024 14:00:13 -0800 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 116F31474 for ; Thu, 14 Nov 2024 14:00:43 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 B125C3F66E for ; Thu, 14 Nov 2024 14:00:12 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 02/21] python3-cchardet: inherit cython class Date: Thu, 14 Nov 2024 21:59:50 +0000 Message-Id: <20241114220009.737413-2-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113825 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb b/meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb index 3d9194c219..b59c289c51 100644 --- a/meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb +++ b/meta-python/recipes-devtools/python/python3-cchardet_2.1.7.bb @@ -5,8 +5,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6ecda54f6f525388d71d6b3cd92f7474" SRC_URI[sha256sum] = "c428b6336545053c2589f6caf24ea32276c6664cb86db817e03a94c60afa0eaf" -inherit pypi setuptools3 +inherit pypi setuptools3 cython BBCLASSEXTEND = "native nativesdk" - -DEPENDS += "python3-cython-native" From patchwork Thu Nov 14 21:59:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52499 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 E5637D6A247 for ; Thu, 14 Nov 2024 22:00:17 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.6442.1731621614341786252 for ; Thu, 14 Nov 2024 14:00:14 -0800 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 B760D1474 for ; Thu, 14 Nov 2024 14:00:43 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 62AAF3F66E for ; Thu, 14 Nov 2024 14:00:13 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 03/21] python3-cytoolz: inherit cython class Date: Thu, 14 Nov 2024 21:59:51 +0000 Message-Id: <20241114220009.737413-3-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113826 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- meta-python/recipes-devtools/python/python3-cytoolz_1.0.0.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-cytoolz_1.0.0.bb b/meta-python/recipes-devtools/python/python3-cytoolz_1.0.0.bb index 15fb1733a8..9df99e03c8 100644 --- a/meta-python/recipes-devtools/python/python3-cytoolz_1.0.0.bb +++ b/meta-python/recipes-devtools/python/python3-cytoolz_1.0.0.bb @@ -7,7 +7,6 @@ LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=d422ebce3e9c6447563bd410e9b22f2e" SRC_URI[sha256sum] = "eb453b30182152f9917a5189b7d99046b6ce90cdf8aeb0feff4b2683e600defd" -inherit pypi setuptools3 +inherit pypi setuptools3 cython -DEPENDS += "python3-cython-native" RDEPENDS:${PN} += "python3-toolz" From patchwork Thu Nov 14 21:59:52 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52501 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 EEA34D6A249 for ; Thu, 14 Nov 2024 22:00:17 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.6509.1731621614742464694 for ; Thu, 14 Nov 2024 14:00:14 -0800 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 66AB51474 for ; Thu, 14 Nov 2024 14:00:44 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 136203F66E for ; Thu, 14 Nov 2024 14:00:13 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 04/21] python3-dbus-fast: inherit cython class Date: Thu, 14 Nov 2024 21:59:52 +0000 Message-Id: <20241114220009.737413-4-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113827 Use the new cython class to avoid duplicated fixup code to remove build paths. Also remove obsolete setuptools/wheel build dependencies. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-dbus-fast_2.24.3.bb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-dbus-fast_2.24.3.bb b/meta-python/recipes-devtools/python/python3-dbus-fast_2.24.3.bb index bf267ed869..3e0bed7e38 100644 --- a/meta-python/recipes-devtools/python/python3-dbus-fast_2.24.3.bb +++ b/meta-python/recipes-devtools/python/python3-dbus-fast_2.24.3.bb @@ -7,13 +7,7 @@ SRC_URI[sha256sum] = "9042a1b565ecac4f8e04df79376de1d1d31e4c82eddb6e71e8b8d82d0c PYPI_PACKAGE = "dbus_fast" -inherit pypi python_poetry_core - -DEPENDS += " \ - python3-setuptools-native \ - python3-wheel-native \ - python3-cython-native \ - " +inherit pypi python_poetry_core cython RDEPENDS:${PN} += " \ python3-core (>=3.7) \ From patchwork Thu Nov 14 21:59:53 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52494 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 BF6BFD6A23F for ; Thu, 14 Nov 2024 22:00:17 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.6510.1731621615468643370 for ; Thu, 14 Nov 2024 14:00:15 -0800 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 178EE1474 for ; Thu, 14 Nov 2024 14:00:45 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 B878C3F66E for ; Thu, 14 Nov 2024 14:00:14 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 05/21] python3-frozenlist: inherit cython class Date: Thu, 14 Nov 2024 21:59:53 +0000 Message-Id: <20241114220009.737413-5-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113828 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-frozenlist_1.4.1.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-frozenlist_1.4.1.bb b/meta-python/recipes-devtools/python/python3-frozenlist_1.4.1.bb index 4288f2922e..638bb20786 100644 --- a/meta-python/recipes-devtools/python/python3-frozenlist_1.4.1.bb +++ b/meta-python/recipes-devtools/python/python3-frozenlist_1.4.1.bb @@ -5,11 +5,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=cf056e8e7a0a5477451af18b7b5aa98c" SRC_URI[sha256sum] = "c037a86e8513059a2613aaba4d817bb90b9d9b6b69aace3ce9c877e8c8ed402b" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta cython DEPENDS += " \ python3-expandvars-native \ - python3-cython-native \ " BBCLASSEXTEND = "native nativesdk" From patchwork Thu Nov 14 21:59:54 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52498 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 BCFABD6A239 for ; Thu, 14 Nov 2024 22:00:17 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.6511.1731621616257308825 for ; Thu, 14 Nov 2024 14:00:16 -0800 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 BFAC61474 for ; Thu, 14 Nov 2024 14:00:45 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 6925B3F66E for ; Thu, 14 Nov 2024 14:00:15 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 06/21] python3-gevent: inherit cython class Date: Thu, 14 Nov 2024 21:59:54 +0000 Message-Id: <20241114220009.737413-6-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113829 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-gevent_24.2.1.bb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb b/meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb index e44972178e..9f96b00953 100644 --- a/meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb +++ b/meta-python/recipes-devtools/python/python3-gevent_24.2.1.bb @@ -4,7 +4,7 @@ a high-level synchronous API on top of the libevent event loop." HOMEPAGE = "http://www.gevent.org" LICENSE = "MIT & Python-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=4de99aac27b470c29c6c309e0c279b65" -DEPENDS += "python3-greenlet-native python3-greenlet libev libuv python3-cython-native python3-cffi-native" +DEPENDS += "python3-greenlet-native python3-greenlet libev libuv python3-cffi-native" RDEPENDS:${PN} = "python3-greenlet \ python3-mime \ @@ -18,7 +18,7 @@ SRC_URI += "file://0001-_setuputils.py-Do-not-add-sys_inc_dir.patch \ SRC_URI[sha256sum] = "432fc76f680acf7cf188c2ee0f5d3ab73b63c1f03114c7cd8a34cebbe5aa2056" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta cython # Don't embed libraries, link to the system provided libs instead export GEVENTSETUP_EMBED_CARES = "0" @@ -33,10 +33,6 @@ do_configure:append() { rm -rf ${S}/src/gevent/*.c } -do_compile:append() { - sed -i -e 's#${WORKDIR}##g' ${S}/src/gevent/*.c ${S}/src/gevent/libev/*.c ${S}/src/gevent/resolver/*.c -} - # http://errors.yoctoproject.org/Errors/Details/766918/ # src/gevent/queue.c:11894:83: error: passing argument 1 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types] # src/gevent/queue.c:11894:114: error: passing argument 4 of '__pyx_vtabptr_6gevent_14_gevent_cqueue_UnboundQueue->__pyx_base.put' from incompatible pointer type [-Wincompatible-pointer-types] From patchwork Thu Nov 14 21:59:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52497 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 CC7D9D6A242 for ; Thu, 14 Nov 2024 22:00:17 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.6445.1731621616701635663 for ; Thu, 14 Nov 2024 14:00:16 -0800 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 5B8971474 for ; Thu, 14 Nov 2024 14:00:46 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 116043F66E for ; Thu, 14 Nov 2024 14:00:15 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 07/21] python3-h5py: inherit cython class Date: Thu, 14 Nov 2024 21:59:55 +0000 Message-Id: <20241114220009.737413-7-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113830 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-h5py_3.12.1.bb | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb b/meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb index a84dd28822..152d952263 100644 --- a/meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb +++ b/meta-python/recipes-devtools/python/python3-h5py_3.12.1.bb @@ -8,12 +8,11 @@ SRC_URI[sha256sum] = "326d70b53d31baa61f00b8aa5f95c2fcb9621a3ee8365d770c551a13db SRC_URI += "file://0001-setup_build.py-avoid-absolute-path.patch" -inherit pkgconfig pypi setuptools3 +inherit pkgconfig pypi setuptools3 cython BBCLASSEXTEND = "native" DEPENDS = "python3-pkgconfig-native \ - python3-cython-native \ python3-numpy-native \ python3-six-native \ hdf5-native \ @@ -21,16 +20,6 @@ DEPENDS = "python3-pkgconfig-native \ hdf5 \ " -PACKAGESPLITFUNCS =+ "fix_cythonized_sources" - -fix_cythonized_sources() { - for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do - if [ -e $f ]; then - sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f - fi - done -} - RDEPENDS:${PN} = "python3-numpy \ python3-six \ python3-json \ From patchwork Thu Nov 14 21:59:56 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52496 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 CE032D6A240 for ; Thu, 14 Nov 2024 22:00:17 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.6446.1731621617370450022 for ; Thu, 14 Nov 2024 14:00:17 -0800 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 03BDC1474 for ; Thu, 14 Nov 2024 14:00:47 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 AD5013F66E for ; Thu, 14 Nov 2024 14:00:16 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 08/21] python3-kivy: inherit cython class Date: Thu, 14 Nov 2024 21:59:56 +0000 Message-Id: <20241114220009.737413-8-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:17 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113831 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-kivy_2.3.0.bb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb b/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb index 045ac23106..dc7c66f781 100644 --- a/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb +++ b/meta-python/recipes-devtools/python/python3-kivy_2.3.0.bb @@ -4,7 +4,7 @@ HOMEPAGE = "https://kivy.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=6d3bc49400e35d5a2279d14c40dcfb09" -inherit setuptools3 pkgconfig features_check +inherit setuptools3 pkgconfig features_check cython # Kivy's setup files only look for GLES libraries for Android, iOS, RPi, # and mali-based OS's. We need to patch the setup file to tell Kivy setup @@ -52,7 +52,6 @@ DEPENDS += " \ libsdl2-mixer \ pango \ python3 \ - python3-cython-native \ " RDEPENDS:${PN} = " \ @@ -75,10 +74,3 @@ RDEPENDS:${PN} = " \ # python3-kivy/2.3.0/git/kivy/graphics/cgl_backend/cgl_gl.c:4568:52: error: assignment to 'void (*)(GLuint, GLsizei, const GLchar **, const GLint *)' {aka 'void (*)(unsigned int, int, const char **, const int *)'} from incompatible pointer type 'void (*)(GLuint, GLsizei, const GLchar * const*, const GLint *)' {aka 'void (*)(unsigned int, int, const char * const*, const int *)'} [-Wincompatible-pointer-types] # python3-kivy/2.3.0/git/kivy/core/window/_window_sdl2.c:8781:23: error: passing argument 1 of 'SDL_SetEventFilter' from incompatible pointer type [-Wincompatible-pointer-types] CFLAGS += "-Wno-error=incompatible-pointer-types" - -do_compile:append() { - for f in `find ${B} -name *.c` - do - sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" $f - done -} From patchwork Thu Nov 14 21:59:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52503 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 E1E39D6A23F for ; Thu, 14 Nov 2024 22:00:27 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.6512.1731621618538537484 for ; Thu, 14 Nov 2024 14:00:18 -0800 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 D67011474 for ; Thu, 14 Nov 2024 14:00:47 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 554653F66E for ; Thu, 14 Nov 2024 14:00:17 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 09/21] python3-pandas: inherit cython class Date: Thu, 14 Nov 2024 21:59:57 +0000 Message-Id: <20241114220009.737413-9-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113832 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-pandas_2.2.2.bb | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb b/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb index 25b03c8e32..1e7bb1f3f6 100644 --- a/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb +++ b/meta-python/recipes-devtools/python/python3-pandas_2.2.2.bb @@ -13,24 +13,13 @@ SRC_URI += " \ SRC_URI[sha256sum] = "9e79019aba43cb4fda9e4d983f8e88ca0373adbb697ae9c6c43093218de28b54" -inherit pypi python_mesonpy +inherit pypi python_mesonpy cython DEPENDS += " \ - python3-cython-native \ python3-numpy-native \ python3-versioneer-native \ " -PACKAGESPLITFUNCS =+ "fix_cythonized_sources" - -fix_cythonized_sources() { - for f in `grep -l -r -e '\/* Generated by Cython.*/$' ${PKGD}${TARGET_DBGSRC_DIR}`; do - if [ -e $f ]; then - sed -i -e 's#${RECIPE_SYSROOT_NATIVE}##g' $f - fi - done -} - CFLAGS:append:toolchain-clang = " -Wno-error=deprecated-declarations" RDEPENDS:${PN} += " \ From patchwork Thu Nov 14 21:59:58 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52514 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 2FFA5D6A255 for ; Thu, 14 Nov 2024 22:00:28 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.6449.1731621618875977495 for ; Thu, 14 Nov 2024 14:00:18 -0800 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 7575215BF for ; Thu, 14 Nov 2024 14:00:48 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 06ADE3F7D8 for ; Thu, 14 Nov 2024 14:00:17 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 10/21] python3-pkcs11: inherit cython class Date: Thu, 14 Nov 2024 21:59:58 +0000 Message-Id: <20241114220009.737413-10-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113833 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb b/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb index 816b728dc0..84bc17959a 100644 --- a/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-pkcs11_0.7.0.bb @@ -9,12 +9,11 @@ SRC_URI[sha256sum] = "9737e0c24cabb8bc9d48bf8c57c3df2a70f8cdd96b70c50290803286f9 PYPI_PACKAGE = "python-pkcs11" -inherit pypi setuptools3 +inherit pypi setuptools3 cython BBCLASSEXTEND = "native" DEPENDS += " \ - python3-cython-native \ python3-setuptools-scm-native \ python3 \ " From patchwork Thu Nov 14 21:59:59 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52511 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 47272D6A25A for ; Thu, 14 Nov 2024 22:00:28 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.6450.1731621619385231680 for ; Thu, 14 Nov 2024 14:00:19 -0800 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 0C9B41474 for ; Thu, 14 Nov 2024 14:00:49 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 ABD853F66E for ; Thu, 14 Nov 2024 14:00:18 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 11/21] python3-pocketsphinx: inherit cython class Date: Thu, 14 Nov 2024 21:59:59 +0000 Message-Id: <20241114220009.737413-11-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113834 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-pocketsphinx_5.0.3.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.3.bb b/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.3.bb index 4ffcb4db82..4391da177e 100644 --- a/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.3.bb +++ b/meta-python/recipes-devtools/python/python3-pocketsphinx_5.0.3.bb @@ -8,9 +8,9 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c4d720cdc9c6953091f65e8b01524bb4" SRC_URI += "file://0001-cython-Use-cythyon3-in-cmake-check.patch" SRC_URI[sha256sum] = "27f4de0ca2d2bce391ce87eaab84fe6f0bc059b306fd1702d5fe6549b66e1586" -inherit cmake pkgconfig pypi python3native +inherit cmake pkgconfig pypi python3native cython -DEPENDS += "swig-native python3-cython-native python3-scikit-build-native gstreamer1.0 gstreamer1.0-plugins-base" +DEPENDS += "swig-native python3-scikit-build-native gstreamer1.0 gstreamer1.0-plugins-base" EXTRA_OECMAKE += "-DBUILD_GSTREAMER=ON" From patchwork Thu Nov 14 22:00:00 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52513 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 472D1D6A25B for ; Thu, 14 Nov 2024 22:00:28 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.6451.1731621620139522503 for ; Thu, 14 Nov 2024 14:00:20 -0800 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 AFC4D1474 for ; Thu, 14 Nov 2024 14:00:49 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 5CAFC3F66E for ; Thu, 14 Nov 2024 14:00:19 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 12/21] python3-propcache: inherit cython class Date: Thu, 14 Nov 2024 22:00:00 +0000 Message-Id: <20241114220009.737413-12-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113835 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb b/meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb index 69e0bed4be..0b1ebc853d 100644 --- a/meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb +++ b/meta-python/recipes-devtools/python/python3-propcache_0.2.0.bb @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" SRC_URI[sha256sum] = "df81779732feb9d01e5d513fad0122efb3d53bbc75f61b2a4f29a020bc985e70" -inherit pypi python_setuptools_build_meta ptest +inherit pypi python_setuptools_build_meta ptest cython SRC_URI += " \ file://run-ptest \ @@ -13,7 +13,6 @@ SRC_URI += " \ DEPENDS += " \ python3-expandvars-native \ - python3-cython-native \ " RDEPENDS:${PN}-ptest += " \ From patchwork Thu Nov 14 22:00:01 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52504 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 E7451D6A246 for ; Thu, 14 Nov 2024 22:00:27 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.6452.1731621620735240505 for ; Thu, 14 Nov 2024 14:00:20 -0800 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 57DFF1474 for ; Thu, 14 Nov 2024 14:00:50 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 0D6413F66E for ; Thu, 14 Nov 2024 14:00:19 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 13/21] python3-pycocotools: inherit cython class Date: Thu, 14 Nov 2024 22:00:01 +0000 Message-Id: <20241114220009.737413-13-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113836 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-pycocotools_2.0.8.bb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb index 4d4251316c..e298dbf574 100644 --- a/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb +++ b/meta-python/recipes-devtools/python/python3-pycocotools_2.0.8.bb @@ -3,15 +3,11 @@ SUMMARY = "COCO is a large image dataset designed for object detection, segmenta LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://pycocotools/coco.py;beginline=45;endline=45;md5=12cb539683cf245df8b6ce782d78f647" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta cython SRC_URI += "file://0001-downgrade-numpy-version-to-1.26.4.patch" SRC_URI[sha256sum] = "8f2bcedb786ba26c367a3680f9c4eb5b2ad9dccb2b34eaeb205e0a021e1dfb8d" -DEPENDS = "python3-cython-native python3-numpy-native virtual/crypt" +DEPENDS = "python3-numpy-native virtual/crypt" RDEPENDS:${PN} = "python3-matplotlib python3-pillow python3-profile" - -do_compile:append() { - sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" ${B}/pycocotools/_mask.c -} From patchwork Thu Nov 14 22:00:02 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52502 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 E748ED6A247 for ; Thu, 14 Nov 2024 22:00:27 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.6513.1731621621341803599 for ; Thu, 14 Nov 2024 14:00:21 -0800 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 F41711474 for ; Thu, 14 Nov 2024 14:00:50 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 A98FB3F66E for ; Thu, 14 Nov 2024 14:00:20 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 14/21] python3-pyproj: inherit cython class Date: Thu, 14 Nov 2024 22:00:02 +0000 Message-Id: <20241114220009.737413-14-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:27 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113837 Use the new cython class to avoid duplicated fixup code to remove build paths. Also clean up DEPENDS: all variations need target proj and proj-native. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-pyproj_3.7.0.bb | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb b/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb index 0a8b710849..57ad3eb8ce 100644 --- a/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb +++ b/meta-python/recipes-devtools/python/python3-pyproj_3.7.0.bb @@ -1,10 +1,9 @@ SUMMARY = "Python interface to PROJ (cartographic projections and coordinate transformations library)" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=3f3574263859ef2dc9bd7817d51adbaa" -DEPENDS = "python3-cython proj" -DEPENDS:append:class-target = " python3-cython-native proj-native" +DEPENDS = "proj-native proj" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta cython SRC_URI += "file://rpath.patch" @@ -21,11 +20,3 @@ RDEPENDS:${PN} = " \ export PROJ_INCDIR = "${STAGING_INCDIR}" export PROJ_LIBDIR = "${STAGING_LIBDIR}" export PROJ_DIR = "${STAGING_BINDIR_NATIVE}/.." - -do_compile:append() { - for f in `find ${B} -name *.c` - do - sed -i -e "/BEGIN: Cython Metadata/,/END: Cython Metadata/d" $f - done - python_pep517_do_compile -} From patchwork Thu Nov 14 22:00:03 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52505 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 0184ED6A248 for ; Thu, 14 Nov 2024 22:00:28 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.6453.1731621621998984828 for ; Thu, 14 Nov 2024 14:00:22 -0800 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 A54E81474 for ; Thu, 14 Nov 2024 14:00:51 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 51B583F66E for ; Thu, 14 Nov 2024 14:00:21 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 15/21] python3-pystemd: inherit cython class Date: Thu, 14 Nov 2024 22:00:03 +0000 Message-Id: <20241114220009.737413-15-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113838 Use the new cython class to avoid duplicated fixup code to remove build paths. Also switch to python_setuptools_build_meta as there is a pyproject.toml. Signed-off-by: Ross Burton --- meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb b/meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb index 3bfa20fcd9..e7f35f1f08 100644 --- a/meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb +++ b/meta-python/recipes-devtools/python/python3-pystemd_0.13.2.bb @@ -4,7 +4,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" SRC_URI[sha256sum] = "4dcfa4b13a55685c49d3d17c10631eca18c33770f66316f8ef2337b8951cc144" -DEPENDS = "systemd python3-cython-native" +DEPENDS = "systemd" RDEPENDS:${PN} += "\ python3-xml \ python3-lxml \ @@ -15,7 +15,7 @@ RDEPENDS:${PN} += "\ " REQUIRED_DISTRO_FEATURES = "systemd" -inherit pypi setuptools3 features_check pkgconfig +inherit pypi python_setuptools_build_meta features_check pkgconfig cython do_configure:prepend() { rm -rf ${S}/pystemd/*.c From patchwork Thu Nov 14 22:00:04 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52506 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 0E606D6A249 for ; Thu, 14 Nov 2024 22:00:28 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.6514.1731621622817006931 for ; Thu, 14 Nov 2024 14:00:22 -0800 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 562561474 for ; Thu, 14 Nov 2024 14:00:52 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 02D793F66E for ; Thu, 14 Nov 2024 14:00:21 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 16/21] python3-pyzmq: inherit cython class Date: Thu, 14 Nov 2024 22:00:04 +0000 Message-Id: <20241114220009.737413-16-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113839 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb index 2a6993c141..6183783910 100644 --- a/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb +++ b/meta-python/recipes-devtools/python/python3-pyzmq_25.1.2.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "\ file://LICENSE.LESSER;md5=0e99bfbdd8b9d33b0221986fe3be89ed \ " -DEPENDS = "python3-packaging-native python3-cython-native python3-setuptools-scm-native zeromq" +DEPENDS = "python3-packaging-native python3-setuptools-scm-native zeromq" SRC_URI:append = " \ file://club-rpath-out.patch \ @@ -15,7 +15,7 @@ SRC_URI:append = " \ " SRC_URI[sha256sum] = "93f1aa311e8bb912e34f004cf186407a4e90eec4f0ecc0efd26056bf7eda0226" -inherit pypi pkgconfig python_setuptools_build_meta ptest +inherit pypi pkgconfig python_setuptools_build_meta ptest cython PACKAGES =+ "\ ${PN}-test \ From patchwork Thu Nov 14 22:00:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52507 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 0E640D6A24D for ; Thu, 14 Nov 2024 22:00:28 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.6515.1731621623422603874 for ; Thu, 14 Nov 2024 14:00:23 -0800 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 0704C1474 for ; Thu, 14 Nov 2024 14:00:53 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 A7DAD3F66E for ; Thu, 14 Nov 2024 14:00:22 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 17/21] python3-reedsolo: inherit cython class Date: Thu, 14 Nov 2024 22:00:05 +0000 Message-Id: <20241114220009.737413-17-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113840 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- .../python3-reedsolo/python3-reedsolo_2.1.0b1.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.1.0b1.bb b/meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.1.0b1.bb index 6884e908a7..d161431e6d 100644 --- a/meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.1.0b1.bb +++ b/meta-python/recipes-devtools/python3-reedsolo/python3-reedsolo_2.1.0b1.bb @@ -5,7 +5,6 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ffde61aeb8917e70e0257e0a4b6d103c" SRC_URI[sha256sum] = "e11528d63e75461d45b86c23f9db8260303d6ab6cae075fa9eddb44527ad8ece" -inherit pypi python_setuptools_build_meta +inherit pypi python_setuptools_build_meta cython -DEPENDS += "python3-cython-native" RDEPENDS:${PN} += "python3-core" From patchwork Thu Nov 14 22:00:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52508 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 1BCE2D6A251 for ; Thu, 14 Nov 2024 22:00:28 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.6516.1731621624024650750 for ; Thu, 14 Nov 2024 14:00:24 -0800 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 ABFE61474 for ; Thu, 14 Nov 2024 14:00:53 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 58ABE3F66E for ; Thu, 14 Nov 2024 14:00:23 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 18/21] python3-sqlalchemy: inherit cython class Date: Thu, 14 Nov 2024 22:00:06 +0000 Message-Id: <20241114220009.737413-18-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113841 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-sqlalchemy_2.0.35.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.35.bb b/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.35.bb index 202350dcd1..87d76e9e33 100644 --- a/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.35.bb +++ b/meta-python/recipes-devtools/python/python3-sqlalchemy_2.0.35.bb @@ -6,9 +6,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c78b979ae6c20775a28a287d32092cbb" SRC_URI[sha256sum] = "e11d7ea4d24f0a262bccf9a7cd6284c976c5369dac21db237cff59586045ab9f" -inherit pypi python_setuptools_build_meta - -DEPENDS += "python3-cython-native" +inherit pypi python_setuptools_build_meta cython RDEPENDS:${PN} += " \ python3-asyncio \ From patchwork Thu Nov 14 22:00:07 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52510 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 1BD16D6A250 for ; Thu, 14 Nov 2024 22:00:28 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.6517.1731621624709698548 for ; Thu, 14 Nov 2024 14:00:24 -0800 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 542411474 for ; Thu, 14 Nov 2024 14:00:54 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 099063F66E for ; Thu, 14 Nov 2024 14:00:23 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 19/21] python3-systemd: switch to python_setuptools_build_meta Date: Thu, 14 Nov 2024 22:00:07 +0000 Message-Id: <20241114220009.737413-19-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113842 Switch to the modern build system, and sort the recipe assignments to be more idiomatic. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-systemd_235.bb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-systemd_235.bb b/meta-python/recipes-devtools/python/python3-systemd_235.bb index 7a7d5a5053..0e923bc35c 100644 --- a/meta-python/recipes-devtools/python/python3-systemd_235.bb +++ b/meta-python/recipes-devtools/python/python3-systemd_235.bb @@ -4,9 +4,13 @@ LICENSE = "LGPL-2.1-or-later" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4fbd65380cdd255951079008b364516c" PYPI_PACKAGE = "systemd-python" -DEPENDS += "systemd (<=235)" -RDEPENDS:${PN} += "systemd python3-syslog python3-logging python3-syslog" -REQUIRED_DISTRO_FEATURES = "systemd" -inherit pypi features_check pkgconfig setuptools3 SRC_URI:append:libc-musl = " file://0001-Provide-implementation-of-strndupa-for-musl.patch" SRC_URI[sha256sum] = "4e57f39797fd5d9e2d22b8806a252d7c0106c936039d1e71c8c6b8008e695c0a" + +DEPENDS += "systemd (<=235)" + +inherit pypi features_check pkgconfig python_setuptools_build_meta + +REQUIRED_DISTRO_FEATURES = "systemd" + +RDEPENDS:${PN} += "systemd python3-syslog python3-logging python3-syslog" From patchwork Thu Nov 14 22:00:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52509 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 27DACD6A253 for ; Thu, 14 Nov 2024 22:00:28 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.6520.1731621625348967623 for ; Thu, 14 Nov 2024 14:00:25 -0800 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 05C851474 for ; Thu, 14 Nov 2024 14:00:55 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 A5D093F66E for ; Thu, 14 Nov 2024 14:00:24 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 20/21] python3-yarl: inherit cython class Date: Thu, 14 Nov 2024 22:00:08 +0000 Message-Id: <20241114220009.737413-20-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113843 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- meta-python/recipes-devtools/python/python3-yarl_1.15.1.bb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-yarl_1.15.1.bb b/meta-python/recipes-devtools/python/python3-yarl_1.15.1.bb index 475c71bba7..337262efe0 100644 --- a/meta-python/recipes-devtools/python/python3-yarl_1.15.1.bb +++ b/meta-python/recipes-devtools/python/python3-yarl_1.15.1.bb @@ -9,11 +9,10 @@ SRC_URI += "file://run-ptest" PYPI_PACKAGE = "yarl" -inherit pypi ptest python_setuptools_build_meta +inherit pypi ptest python_setuptools_build_meta cython DEPENDS += " \ python3-expandvars-native \ - python3-cython-native \ " RDEPENDS:${PN} = "\ From patchwork Thu Nov 14 22:00:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 52512 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 3B0F9D6A254 for ; Thu, 14 Nov 2024 22:00:28 +0000 (UTC) Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web10.6521.1731621626086492970 for ; Thu, 14 Nov 2024 14:00:26 -0800 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 AA3D41474 for ; Thu, 14 Nov 2024 14:00:55 -0800 (PST) Received: from cesw-amp-gbt-1s-m12830-04.oss.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 5699B3F66E for ; Thu, 14 Nov 2024 14:00:25 -0800 (PST) From: Ross Burton To: openembedded-devel@lists.openembedded.org Subject: [PATCH 21/21] python3-zeroconf: inherit cython class Date: Thu, 14 Nov 2024 22:00:09 +0000 Message-Id: <20241114220009.737413-21-ross.burton@arm.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20241114220009.737413-1-ross.burton@arm.com> References: <20241114220009.737413-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 ; Thu, 14 Nov 2024 22:00:28 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/113844 Use the new cython class to avoid duplicated fixup code to remove build paths. Signed-off-by: Ross Burton --- .../recipes-devtools/python/python3-zeroconf_0.136.0.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/meta-python/recipes-devtools/python/python3-zeroconf_0.136.0.bb b/meta-python/recipes-devtools/python/python3-zeroconf_0.136.0.bb index a9bbdb4bfe..7173149a4f 100644 --- a/meta-python/recipes-devtools/python/python3-zeroconf_0.136.0.bb +++ b/meta-python/recipes-devtools/python/python3-zeroconf_0.136.0.bb @@ -5,9 +5,7 @@ LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=6;endline=6;md5=e77986dc8e2ee22d44 SRC_URI[sha256sum] = "7a82c7bd0327266ef9f04a5272b0bb79812ddcefccf944320b5f3519586bbc82" -DEPENDS += "python3-cython-native" - -inherit pypi python_poetry_core +inherit pypi python_poetry_core cython RDEPENDS:${PN} += " \ python3-ifaddr (>=0.1.7) \