From patchwork Mon Nov 30 13:38:33 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 106490 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.32523.1796045923237560647 for ; Mon, 30 Nov 2026 05:38:43 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=bUfPgbif; 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 ABA9B1650 for ; Mon, 30 Nov 2026 05:38:39 -0800 (PST) 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 2ADAD3F86F for ; Mon, 30 Nov 2026 05:38:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796045922; bh=RkwSSqmucZp5H69a5o3AxAsjKhKhZqKPlMazqbUhJtw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bUfPgbifAahxiAXNfKSBHOVKvIEYXQpedCGhkRED83/gRJY1xzNFWWPohbsbgHSjh S+G+WX4J28pNP/AgxPBp8ULfrRsEKr1lRhwCvAyJviADWyaSkaXg3sfCIuq19EsNsy 5Z2jdbUKJX5FemoWGrHd7kdm1FtYhvHMBAybi3FE= From: Ross Burton To: openembedded-core@lists.openembedded.org Subject: [RFC PATCH 3/3] license-expression: use class Date: Mon, 30 Nov 2026 13:38:33 +0000 Message-ID: <20261130133833.2868171-4-ross.burton@arm.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261130133833.2868171-1-ross.burton@arm.com> References: <20261130133833.2868171-1-ross.burton@arm.com> MIME-Version: 1.0 X-ARM-No-Footer: NoDisclaimer List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Mon, 30 Nov 2026 13:38:48 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251601 --- .../python/python3-license-expression-python-deps.inc | 8 ++++++++ .../python/python3-license-expression_30.4.4.bb | 7 +++---- 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100644 meta/recipes-devtools/python/python3-license-expression-python-deps.inc diff --git a/meta/recipes-devtools/python/python3-license-expression-python-deps.inc b/meta/recipes-devtools/python/python3-license-expression-python-deps.inc new file mode 100644 index 00000000000..ca5cc32ccf1 --- /dev/null +++ b/meta/recipes-devtools/python/python3-license-expression-python-deps.inc @@ -0,0 +1,8 @@ + +# Generated by py-update-requires +# DO NOT EDIT BY HAND + +DEPENDS += "pypi-package-setuptools-native pypi-package-setuptools-scm-native pypi-package-wheel-native" + +RDEPENDS:${PN} += "pypi-package-boolean-py" + diff --git a/meta/recipes-devtools/python/python3-license-expression_30.4.4.bb b/meta/recipes-devtools/python/python3-license-expression_30.4.4.bb index 38db3951534..54af50f65e3 100644 --- a/meta/recipes-devtools/python/python3-license-expression_30.4.4.bb +++ b/meta/recipes-devtools/python/python3-license-expression_30.4.4.bb @@ -8,13 +8,9 @@ SRC_URI[sha256sum] = "73448f0aacd8d0808895bdc4b2c8e01a8d67646e4188f887375398c761 inherit pypi ptest-python-pytest python_setuptools_build_meta -DEPENDS += "python3-setuptools-scm-native python3-wheel-native" - RDEPENDS:${PN} += "\ - python3-booleanpy \ python3-core \ python3-json \ - python3-stringold \ python3-logging \ " @@ -26,3 +22,6 @@ do_install_ptest:append() { ln -s ${PYTHON_SITEPACKAGES_DIR}/license_expression/ ${D}${PTEST_PATH}/src/ install -m644 ${S}/setup.cfg ${D}${PTEST_PATH}/ } + +inherit pydeps +include ${BPN}-python-deps.inc